31 lines
830 B
Diff
31 lines
830 B
Diff
diff -up hdf5-1.8.16/testpar/t_pflush1.c.mpi hdf5-1.8.16/testpar/t_pflush1.c
|
|
--- hdf5-1.8.16/testpar/t_pflush1.c.mpi 2015-10-23 23:13:44.000000000 -0600
|
|
+++ hdf5-1.8.16/testpar/t_pflush1.c 2016-03-20 21:46:42.089409776 -0600
|
|
@@ -171,6 +171,7 @@ main(int argc, char* argv[])
|
|
* because MPI_File_close wants to modify the file-handle variable.
|
|
*/
|
|
|
|
+#if 0
|
|
/* close file1 */
|
|
if(H5Fget_vfd_handle(file1, fapl, (void **)&mpifh_p) < 0) {
|
|
printf("H5Fget_vfd_handle for file1 failed\n");
|
|
@@ -189,14 +190,17 @@ main(int argc, char* argv[])
|
|
printf("MPI_File_close for file2 failed\n");
|
|
goto error;
|
|
} /* end if */
|
|
+#endif
|
|
|
|
fflush(stdout);
|
|
fflush(stderr);
|
|
+ MPI_Finalize();
|
|
HD_exit(0);
|
|
|
|
error:
|
|
fflush(stdout);
|
|
fflush(stderr);
|
|
+ MPI_Finalize();
|
|
HD_exit(1);
|
|
}
|
|
|
|
|