From 3aec2f61dab47683ccb0fcf61eaa375d710478e7 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 25 Feb 2017 21:54:33 +0000 Subject: [PATCH] Be verbose about snapshot writing --- src/engine.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/engine.c b/src/engine.c index 4ea7bc0e79..dc658da77e 100644 --- a/src/engine.c +++ b/src/engine.c @@ -1932,10 +1932,12 @@ void engine_link_gravity_tasks(struct engine *e) { * @param gradient The gradient task to link. * @param force The force task to link. * @param c The cell. + * @param with_cooling Do we have a cooling task ? */ static inline void engine_make_hydro_loops_dependencies( struct scheduler *sched, struct task *density, struct task *gradient, struct task *force, struct cell *c, int with_cooling) { + /* init --> density loop --> ghost --> gradient loop --> extra_ghost */ /* extra_ghost --> force loop */ scheduler_addunlock(sched, c->super->init, density); @@ -3392,9 +3394,12 @@ void engine_dump_snapshot(struct engine *e) { * That can include cells that have not * previously been active on this rank. */ space_check_drift_point(e->s, e->ti_current); -#endif + /* Be verbose about this */ + message("writing snapshot at t=%e.", e->time); +#else if (e->verbose) message("writing snapshot at t=%e.", e->time); +#endif /* Dump... */ #if defined(WITH_MPI) -- GitLab