Skip to content
Snippets Groups Projects
Commit 3aec2f61 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Be verbose about snapshot writing

parent 4941e577
Branches
Tags
No related merge requests found
...@@ -1932,10 +1932,12 @@ void engine_link_gravity_tasks(struct engine *e) { ...@@ -1932,10 +1932,12 @@ void engine_link_gravity_tasks(struct engine *e) {
* @param gradient The gradient task to link. * @param gradient The gradient task to link.
* @param force The force task to link. * @param force The force task to link.
* @param c The cell. * @param c The cell.
* @param with_cooling Do we have a cooling task ?
*/ */
static inline void engine_make_hydro_loops_dependencies( static inline void engine_make_hydro_loops_dependencies(
struct scheduler *sched, struct task *density, struct task *gradient, struct scheduler *sched, struct task *density, struct task *gradient,
struct task *force, struct cell *c, int with_cooling) { struct task *force, struct cell *c, int with_cooling) {
/* init --> density loop --> ghost --> gradient loop --> extra_ghost */ /* init --> density loop --> ghost --> gradient loop --> extra_ghost */
/* extra_ghost --> force loop */ /* extra_ghost --> force loop */
scheduler_addunlock(sched, c->super->init, density); scheduler_addunlock(sched, c->super->init, density);
...@@ -3392,9 +3394,12 @@ void engine_dump_snapshot(struct engine *e) { ...@@ -3392,9 +3394,12 @@ void engine_dump_snapshot(struct engine *e) {
* That can include cells that have not * That can include cells that have not
* previously been active on this rank. */ * previously been active on this rank. */
space_check_drift_point(e->s, e->ti_current); 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); if (e->verbose) message("writing snapshot at t=%e.", e->time);
#endif
/* Dump... */ /* Dump... */
#if defined(WITH_MPI) #if defined(WITH_MPI)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment