[FLASH-USERS] Fortran interface of the HDF5 library for CCSN1d

kiyarash Taghiniyarami kiyarash.niyarami at gmail.com
Mon Feb 7 15:50:11 EST 2022


Dear all FLASH users,

I tried to compile a core collapse supernova in 1D but still do not want to
change the *source/physics/Eos/EosNuclear/Config * because I need to work
with EosNuclear as well. To do so, the HDF5 needs Fortran bindings and I
build it with the following command:
*CC=/home/taghinia/FLASH/MPICH/mpich-install/bin/mpicc
 /home/taghinia/FLASH/HDF5/hdf5-1.10.5/configure
--prefix=/home/taghinia/FLASH/HDF5/HDF5-install-oldversion/
 --enable-fortran  --enable-parallel --enable-shared --with-pic
--with-default-api-version=v16
 --with-zlib=/home/taghinia/FLASH/zlib/zlib-install/include,/home/taghinia/FLASH/zlib/zlib-install/lib*
but it seems not working properly because after CCSN1D compilation I get
the following error:











*io_intfTypesModule.F90:47:0:   47 | #if IO_USE_HDF5_MOD == 0      | Error:
operator '==' has no left operandio_intfTypesModule.F90:60:0:   60 | #if
(IO_USE_HDF5_MOD != 0)      | Error: operator '!=' has no left
operand/home/taghinia/FLASH/MPICH/mpich-install/bin/mpif90 -ggdb -c -O2
-fdefault-real-8 -fdefault-double-8 -Wuninitialized -g -O2
-Wno-argument-mismatch -DMAXBLOCKS=1000 -DNXB=16 -DNYB=1 -DNZB=1 -DN_DIM=1
Logfile_data.F90io_intfTypesModule.F90:66:42:*





*   66 |   integer,parameter :: io_fileID_t = FLASH_IO_FILEID_T      |
                                     1Error: Symbol ‘hid_t’ at (1) has no
IMPLICIT typemake: *** [Makefile:115: io_intfTypesModule.mod] Error 1make:
*** Waiting for unfinished jobs....*
I also made some changes to the Makefile.h as:

F90FLAGS = -I ${HDF5_PATH}/include -DH5_USE_16_API

LIB_HDF5  = -L${HDF5_PATH}/lib -lhdf5_fortran -lhdf5  -lz

but got the same error. Could anyone help me with that? Kind Regards,
Khodayar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20220208/5d4e69fc/attachment.htm>


More information about the flash-users mailing list