summaryrefslogtreecommitdiffstats
path: root/testpar/t_pflush1.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-02-23 15:14:43 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-02-23 15:14:43 (GMT)
commit0c29ac42cd986762e1fa1f937cabe2037f0d53b5 (patch)
tree652be4a716ea8df3999143dcb40775a3309d7d62 /testpar/t_pflush1.c
parentf175fd25c8714b17b3f5912bfdc7eb78ab50a17d (diff)
downloadhdf5-0c29ac42cd986762e1fa1f937cabe2037f0d53b5.zip
hdf5-0c29ac42cd986762e1fa1f937cabe2037f0d53b5.tar.gz
hdf5-0c29ac42cd986762e1fa1f937cabe2037f0d53b5.tar.bz2
[svn-r26279] re-commit 26260 that Dana moved out fixing the versioning of functions to work with v16 default API.
Diffstat (limited to 'testpar/t_pflush1.c')
-rw-r--r--testpar/t_pflush1.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/testpar/t_pflush1.c b/testpar/t_pflush1.c
index ebe5c38..1bcfeb8 100644
--- a/testpar/t_pflush1.c
+++ b/testpar/t_pflush1.c
@@ -164,12 +164,9 @@ main(int argc, char* argv[])
} /* end else */
/*
- * Some systems like Linux with mpich, if you just _exit without MPI_Finalize
- * called, it would terminate but left the launching process waiting forever.
- * OTHO, some systems like AIX do not like files not closed when MPI_Finalize
- * is called. So, we need to get the MPI file handles, close them by hand,
- * then MPI_Finalize. Then the _exit is still needed to stop at_exit from
- * happening in some systems.
+ * Some systems like AIX do not like files not closed when MPI_Finalize
+ * is called. So, we need to get the MPI file handles, close them by hand.
+ * Then the _exit is still needed to stop at_exit from happening in some systems.
* Note that MPIO VFD returns the address of the file-handle in the VFD struct
* because MPI_File_close wants to modify the file-handle variable.
*/
@@ -195,13 +192,11 @@ main(int argc, char* argv[])
fflush(stdout);
fflush(stderr);
- MPI_Finalize();
HD_exit(0);
error:
fflush(stdout);
fflush(stderr);
- MPI_Finalize();
HD_exit(1);
}