Is it possible for you to try the 1.8.16 release and report back if you still have the same issue? You did call h5open_f, correct?
Scot On Apr 4, 2016, at 6:41 PM, Bhamidipati, Vikram <[email protected]<mailto:[email protected]>> wrote: Hello, I am static linking into HDF5 1.8.9 library to build my FORTRAN application which links into other C/C++ DLLs. I am trying to use hyperslab union method to read from a dataset. I was expecting the availability of H5S_SELECT_OR_F enumeration value when HDF5 module is included via ‘USE HDF5’ statement. However when the program runs, it crashes due to H5S_SELECT_OR_F value being 0. When I built a simple FORTRAN test program (no other DLLs), there is no such problem. I saw from HDF5 source code that the enumeration value is set via an equivalence statement in H5GLOBAL module. Since this is included in HDF5 module, I am not sure why the enumeration value is not visible. I tried building hdf5_fortran static library from source as well as using pre-built libraries from HDF5 ftp site. But neither option works in my original application. FWIW here is my build environment – VS 2010 and Intel Fortran Compiler (v12.1). Any help will be appreciated. Thanks, Vikram _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected]<mailto:[email protected]> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
