Closed leehwansoo closed 8 years ago
When you're building HDF5, you need to make sure to configure with --enable-fortran2003
. Otherwise, any F2003 features in the HDF5 API will be missing, including the ability to pass type(C_PTR)
variables to HDF5 functions. I've just built version 1.8.16 and confirmed that OpenMC will build against it.
I've been working with @wbinventor to build openmc. We have run into an issue compiling the code with gfortran and the latest v1.8.16 of HDF5 (not parallel). In particular, I see the following compilation error:
We were able to compile with v1.8.15 just fine, so this appears to be related to the latest version of HDF5 only.