summaryrefslogtreecommitdiffstats
path: root/testpar/t_pread.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:18:01 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:18:01 (GMT)
commit9f430d15b004495d17826840ef1a4f281215c7f9 (patch)
treeeddd0bd281a80adb336403582bd236c6a24b0dc6 /testpar/t_pread.c
parenta5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff)
downloadhdf5-9f430d15b004495d17826840ef1a4f281215c7f9.zip
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.gz
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.bz2
Rename HDexit() and related to exit(), etc. (#3202)
* HDatexit * HDexit * HD_exit
Diffstat (limited to 'testpar/t_pread.c')
-rw-r--r--testpar/t_pread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testpar/t_pread.c b/testpar/t_pread.c
index 55e6516..3f8f5b2 100644
--- a/testpar/t_pread.c
+++ b/testpar/t_pread.c
@@ -1078,17 +1078,17 @@ main(int argc, char **argv)
if ((MPI_Init(&argc, &argv)) != MPI_SUCCESS) {
fprintf(stderr, "FATAL: Unable to initialize MPI\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
if ((MPI_Comm_rank(MPI_COMM_WORLD, &mpi_rank)) != MPI_SUCCESS) {
fprintf(stderr, "FATAL: MPI_Comm_rank returned an error\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
if ((MPI_Comm_size(MPI_COMM_WORLD, &mpi_size)) != MPI_SUCCESS) {
fprintf(stderr, "FATAL: MPI_Comm_size returned an error\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
H5open();
@@ -1122,7 +1122,7 @@ main(int argc, char **argv)
if ((MPI_Comm_split(MPI_COMM_WORLD, which_group, 0, &group_comm)) != MPI_SUCCESS) {
fprintf(stderr, "FATAL: MPI_Comm_split returned an error\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
/* ------ Generate all files ------ */