summaryrefslogtreecommitdiffstats
path: root/testpar/t_shapesame.c
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-04-03 18:08:39 (GMT)
committerGitHub <noreply@github.com>2023-04-03 18:08:39 (GMT)
commitf105dcc20a8400e4016fb8b5c572f9c27d65d957 (patch)
tree1de92826c3165f9772067794374e6fc5b65606c2 /testpar/t_shapesame.c
parent1c1af33a126e66640c2c2f100f743bd8b8fc07da (diff)
downloadhdf5-f105dcc20a8400e4016fb8b5c572f9c27d65d957.zip
hdf5-f105dcc20a8400e4016fb8b5c572f9c27d65d957.tar.gz
hdf5-f105dcc20a8400e4016fb8b5c572f9c27d65d957.tar.bz2
Synchronize HDF5 tests with VOL tests (#2628)
Diffstat (limited to 'testpar/t_shapesame.c')
-rw-r--r--testpar/t_shapesame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testpar/t_shapesame.c b/testpar/t_shapesame.c
index cbae5e1..c11f95c 100644
--- a/testpar/t_shapesame.c
+++ b/testpar/t_shapesame.c
@@ -4305,7 +4305,8 @@ main(int argc, char **argv)
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0) {
- HDprintf("%d: Failed to turn off atexit processing. Continue.\n", mpi_rank);
+ if (MAINPROCESS)
+ HDprintf("%d: Failed to turn off atexit processing. Continue.\n", mpi_rank);
};
H5open();
h5_show_hostname();