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

Merge branch 'darwin/fix_grackle_mpi_verbosity' into 'master'

Make grackle verbose only for rank 0 in MPI runs

See merge request !2079
parents 6d89d9a7 5c68ff27
Branches
Tags
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,
void cooling_init_grackle(struct cooling_function_data* cooling) {
#ifdef SWIFT_DEBUG_CHECKS
/* enable verbose for grackle */
grackle_verbose = 1;
/* Enable verbose for grackle for rank 0 only. */
if (engine_rank == 0) {
grackle_verbose = 1;
}
#endif
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