diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-01-24 23:04:22 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-01-24 23:04:22 (GMT) |
commit | d5fb4dfcef8ae9a3f6194f3dbb4177f8d7b62df9 (patch) | |
tree | 74d550a4cf09e2cd720799acdb317649688179ca /testpar/testphdf5.h | |
parent | ea84a9d78ba977bb02cce46f7602bba058269425 (diff) | |
download | hdf5-d5fb4dfcef8ae9a3f6194f3dbb4177f8d7b62df9.zip hdf5-d5fb4dfcef8ae9a3f6194f3dbb4177f8d7b62df9.tar.gz hdf5-d5fb4dfcef8ae9a3f6194f3dbb4177f8d7b62df9.tar.bz2 |
[svn-r8111] Purpose:
Improvement
Description:
Changed parsing of verbose level by the common test library routine.
Change t_mpi.c to use the Verbose control better.
Platforms tested:
verena (pp).
Misc. update:
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r-- | testpar/testphdf5.h | 10 |
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 */ |