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[]) { ...@@ -560,6 +560,8 @@ int main(int argc, char *argv[]) {
error("Cannot reconstruct m-poles every step over MPI (yet)."); error("Cannot reconstruct m-poles every step over MPI (yet).");
if (with_timestep_limiter) if (with_timestep_limiter)
error("Can't run with time-step limiter over MPI (yet)"); 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)");
#ifdef WITH_LOGGER #ifdef WITH_LOGGER
error("Can't run with the particle logger over MPI (yet)"); error("Can't run with the particle logger over MPI (yet)");
#endif #endif
......
...@@ -978,8 +978,6 @@ int engine_marktasks(struct engine *e) { ...@@ -978,8 +978,6 @@ int engine_marktasks(struct engine *e) {
const ticks tic = getticks(); const ticks tic = getticks();
int rebuild_space = 0; int rebuild_space = 0;
message("MARKTASKS");
/* Run through the tasks and mark as skip or not. */ /* 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}; 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, 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) { ...@@ -225,6 +225,9 @@ void hydro_props_print(const struct hydro_props *p) {
if (p->h_max != hydro_props_default_h_max) if (p->h_max != hydro_props_default_h_max)
message("Maximal smoothing length allowed: %.4f", p->h_max); message("Maximal smoothing length allowed: %.4f", p->h_max);
message("Maximal time-bin difference between neighbours: %d",
time_bin_neighbour_max_delta_bin);
if (p->max_smoothing_iterations != hydro_props_default_max_iterations) if (p->max_smoothing_iterations != hydro_props_default_max_iterations)
message("Maximal iterations in ghost task set to %d (default is %d)", message("Maximal iterations in ghost task set to %d (default is %d)",
p->max_smoothing_iterations, hydro_props_default_max_iterations); 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) { ...@@ -293,6 +296,9 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) {
p->hydrogen_mass_fraction); p->hydrogen_mass_fraction);
io_write_attribute_f(h_grpsph, "Hydrogen ionization transition temperature", io_write_attribute_f(h_grpsph, "Hydrogen ionization transition temperature",
p->hydrogen_ionization_temperature); p->hydrogen_ionization_temperature);
io_write_attribute_i(h_grpsph,
"Maximal time-bin difference between neighbours",
time_bin_neighbour_max_delta_bin);
/* Write out the implementation-dependent viscosity parameters /* Write out the implementation-dependent viscosity parameters
* (see hydro/SCHEME/hydro_parameters.h for this implementation) */ * (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