diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-09-01 04:34:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-01 04:34:57 (GMT) |
commit | 896270cc6b4f14379f0b9d66c74a538235259225 (patch) | |
tree | e0a6d38b78802932eb791a9ef70d7696ae8ccb6f /testpar/testphdf5.c | |
parent | b0333a0f541086f4868d782ac5f8902fc0f43b62 (diff) | |
download | hdf5-896270cc6b4f14379f0b9d66c74a538235259225.zip hdf5-896270cc6b4f14379f0b9d66c74a538235259225.tar.gz hdf5-896270cc6b4f14379f0b9d66c74a538235259225.tar.bz2 |
Removed all the ranks printing out testing information (#3457)
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r-- | testpar/testphdf5.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index ed0510c..0b94be9 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -234,9 +234,11 @@ parse_options(int argc, char **argv) nerrors++; return (1); } - printf("Test filenames are:\n"); - for (i = 0; i < n; i++) - printf(" %s\n", filenames[i]); + if (mpi_rank == 0) { + printf("Test filenames are:\n"); + for (i = 0; i < n; i++) + printf(" %s\n", filenames[i]); + } } return (0); @@ -314,6 +316,8 @@ main(int argc, char **argv) MPI_Comm_size(MPI_COMM_WORLD, &mpi_size); MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank); + mpi_rank_framework_g = mpi_rank; + dim0 = ROW_FACTOR * mpi_size; dim1 = COL_FACTOR * mpi_size; |