Commit e2fa7aee authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not let the synchronization work over MPI. Print the limiter parameters on startup

parent 95acd968
......@@ -560,6 +560,8 @@ int main(int argc, char *argv[]) {
error("Cannot reconstruct m-poles every step over MPI (yet).");
if (with_timestep_limiter)
error("Can't run with time-step limiter over MPI (yet)");
if (with_timestep_sync)
error("Can't run with time-step synchronization over MPI (yet)");
error("Can't run with the particle logger over MPI (yet)");
......@@ -978,8 +978,6 @@ int engine_marktasks(struct engine *e) {
const ticks tic = getticks();
int rebuild_space = 0;
/* Run through the tasks and mark as skip or not. */
size_t extra_data[3] = {(size_t)e, (size_t)rebuild_space, (size_t)&e->sched};
threadpool_map(&e->threadpool, engine_marktasks_mapper, s->tasks, s->nr_tasks,
......@@ -225,6 +225,9 @@ void hydro_props_print(const struct hydro_props *p) {
if (p->h_max != hydro_props_default_h_max)
message("Maximal smoothing length allowed: %.4f", p->h_max);
message("Maximal time-bin difference between neighbours: %d",
if (p->max_smoothing_iterations != hydro_props_default_max_iterations)
message("Maximal iterations in ghost task set to %d (default is %d)",
p->max_smoothing_iterations, hydro_props_default_max_iterations);
......@@ -293,6 +296,9 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) {
io_write_attribute_f(h_grpsph, "Hydrogen ionization transition temperature",
"Maximal time-bin difference between neighbours",
/* Write out the implementation-dependent viscosity parameters
* (see hydro/SCHEME/hydro_parameters.h for this implementation) */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment