summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r--testpar/testphdf5.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index d08a77c..e5e437a 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -82,10 +82,12 @@
} while(0)
#define MPI_BANNER(mesg) do { \
- printf("--------------------------------\n"); \
- printf("Proc %d: ", mpi_rank); \
- printf("*** %s\n", mesg); \
- printf("--------------------------------\n"); \
+ if (VERBOSE_MED || MAINPROCESS){ \
+ printf("--------------------------------\n"); \
+ printf("Proc %d: ", mpi_rank); \
+ printf("*** %s\n", mesg); \
+ printf("--------------------------------\n"); \
+ } \
} while(0)
#define MAINPROCESS (!mpi_rank) /* define process 0 as main process */