From 7e09650c54880cea9a612b435cbd6faea1dd2bcc Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durhama.ac.uk> Date: Sun, 20 Sep 2015 11:58:43 +0100 Subject: [PATCH] Less verbosity when generating ICs. Former-commit-id: 9fc47e975df65702410bb3d75e830e140b0f68dd --- examples/test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/test.c b/examples/test.c index 32410d1e8e..bbbafa5e59 100644 --- a/examples/test.c +++ b/examples/test.c @@ -574,8 +574,6 @@ void generateICs(double dim[3], struct part **parts, int *N, int *periodic, /* Now generate particles */ - message("### MPI_Rank= %d Offset=%lld\n", mpi_rank, offset); - int i,j,k, count=0; for( i = 0; i < L; ++i) for( j = 0; j < L; ++j) @@ -606,7 +604,8 @@ void generateICs(double dim[3], struct part **parts, int *N, int *periodic, } fflush(stdout); MPI_Barrier(comm); - message("Done generating ICs"); + if( mpi_rank == 0 ) + message("Generated ICs with %lld particles.", N_total); } #endif -- GitLab