I am building a parallel version of HDF5 sub-version 1.10.1. I went with the
cmake path. The build is on a P8 machine with RHEL, Xl compilers and Spectrum
MPI. The cmake configure step goes fine, but my compilation crashes around 93%
with the following error:
/path/to/hdf/source/fortran/src/H5f90global.F90", line 43.7: 1514-219 (S) Unable to access module symbol file for module h5fortran_types. Check path and file permissions of file. Use association not done for this module.
1501-511 Compilation failed for file H5f90global.F90.
make: *** [fortran/src/CMakeFiles/hdf5_fortran-static.dir/H5f90global.F90.o] Error 1
make: *** [fortran/src/CMakeFiles/hdf5_fortran-static.dir/H5f90global.F90.o.provides] Error 2
make: *** [fortran/src/CMakeFiles/hdf5_fortran-static.dir/all] Error 2"
After rerunning with VERBOSE=2, I nailed down the compilation issue to the line
below. Apologies for cluster specific paths, but I am afraid I will
accidentally remove important information so I am not editing anything:
-WF,-DNDEBUG -WF,-D_FILE_OFFSET_BITS=64 \
-WF,-D_LARGEFILE64_SOURCE -WF,-D_LARGEFILE_SOURCE \
-qfloat=nans:subnormals -qmaxmem=-1 -qnosave -qsclk=micro -qsmp=omp \
-qarch=pwr8 -qtune=pwr8:smt8 -qthreaded -qhalt=e \
-qmoddir=../../bin/static -qpic \
-c /gpfs/cds/local/package_build/build/rrs59-build/build/hdf/1.10.1/fortran/src/H5f90global.F90 \
Please let me know if you have any advice. I also didn't manage to build it
with GCC although for completely different errors. I will need C and Fortran
interfaces, so my cmake build directory was configured with:
Dr Robert Sawko
Research Staff Member, IBM
Keckwick Lane, Warrington
Email (IBM): RSawko@uk.ibm.com
Email (STFC): firstname.lastname@example.org
Phone (office): +44 (0) 1925 60 3967
Phone (mobile): +44 778 830 8522
--Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU