summaryrefslogtreecommitdiffstats
path: root/testpar/t_2Gio.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-10-28 04:18:24 (GMT)
committerGitHub <noreply@github.com>2023-10-28 04:18:24 (GMT)
commit1bcef50b864fb1ea6e00900b3982e71d183cfda5 (patch)
tree4f88bd92088de8e0def6b93e6419c5307076ed0d /testpar/t_2Gio.c
parent119e694f971470b26876d227ceedbaab36eef275 (diff)
downloadhdf5-1bcef50b864fb1ea6e00900b3982e71d183cfda5.zip
hdf5-1bcef50b864fb1ea6e00900b3982e71d183cfda5.tar.gz
hdf5-1bcef50b864fb1ea6e00900b3982e71d183cfda5.tar.bz2
Print some messages in parallel tests on MPI rank 0 only (#3785)
Avoids overly verbose output from all processes emitting progress, etc. info.
Diffstat (limited to 'testpar/t_2Gio.c')
-rw-r--r--testpar/t_2Gio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_2Gio.c b/testpar/t_2Gio.c
index c2aac77..48abf8e 100644
--- a/testpar/t_2Gio.c
+++ b/testpar/t_2Gio.c
@@ -4291,9 +4291,10 @@ main(int argc, char **argv)
printf("2 GByte IO TESTS START\n");
printf("2 MPI ranks will run the tests...\n");
printf("===================================\n");
- h5_show_hostname();
}
+ h5_show_hostname();
+
if (H5dont_atexit() < 0) {
printf("Failed to turn off atexit processing. Continue.\n");
};
@@ -4345,8 +4346,7 @@ main(int argc, char **argv)
#endif /* H5_HAVE_FILTER_DEFLATE */
/* Display testing information */
- if (MAINPROCESS)
- TestInfo(argv[0]);
+ TestInfo(argv[0]);
/* setup file access property list */
fapl = H5Pcreate(H5P_FILE_ACCESS);