hdf5/hdf5-mpi.patch
Dirk Stoecker 5daaa9f016 Accepting request 637096 from home:StefanBruens:branches:science
Main reason to update is the addition/enhancement of 
H5Pset_libver_bounds():
"Added an enumerated value to H5F_libver_t for H5Pset_libver_bounds()." - https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt

This allows to write backwards compatible files with newer hdf5 versions, although this is "opt-in" by the library users. See e.g. https://github.com/Unidata/netcdf-c/issues/250, https://github.com/Unidata/netcdf-c/issues/951


- Update to 1.10.3:
  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.3/src/hdf5-1.10.3-RELEASE.txt
- Update to 1.10.2:
  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.2/src/hdf5-1.10.2-RELEASE.txt
- Bump soversions (101 -> 103) for libhdf5 and libhdf5_cpp
- Drop Fix-warnings-for-missing-returns.patch, fixed upstream
- Add 0001-Fix-return-value-in-test_libver_bounds_open.patch
- Rebase patches (tab / space conversion):
  * PPC64LE-Fix-long-double-handling.patch
  * hdf5-buildcompare.patch
  * hdf5-mpi.patch
- Rebase Disable-phdf5-tests.patch

OBS-URL: https://build.opensuse.org/request/show/637096
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=82
2018-09-21 19:26:10 +00:00

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);
}