Skip to content
Snippets Groups Projects
Commit 5c68ff27 authored by Darwin's avatar Darwin
Browse files

Make grackle verbose only for rank 0 in MPI runs

parent 81ab35eb
No related branches found
No related tags found
3 merge requests!2119Mhd canvas,!2112Prep for remix merge,!2079Make grackle verbose only for rank 0 in MPI runs
...@@ -1280,8 +1280,10 @@ void cooling_init_units(const struct unit_system* us, ...@@ -1280,8 +1280,10 @@ void cooling_init_units(const struct unit_system* us,
void cooling_init_grackle(struct cooling_function_data* cooling) { void cooling_init_grackle(struct cooling_function_data* cooling) {
#ifdef SWIFT_DEBUG_CHECKS #ifdef SWIFT_DEBUG_CHECKS
/* enable verbose for grackle */ /* Enable verbose for grackle for rank 0 only. */
grackle_verbose = 1; if (engine_rank == 0) {
grackle_verbose = 1;
}
#endif #endif
chemistry_data* chemistry = &cooling->chemistry_data; chemistry_data* chemistry = &cooling->chemistry_data;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment