[FLASH-USERS] hdf5_flash.h:34:10: fatal error: hdf5.h: No such file or directory

郑佳乐 zhengjl1103 at shu.edu.cn
Thu Feb 1 23:49:59 EST 2024


Hi! 




Thank you for your previous help. That works! But again I encountered a problem I couldn't solve.
layoneu at layoneu:~/Desktop/FLASH4.7.1/simulation/Sedov$ make
rm -f reorder.sh
/usr/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -fallow-argument-mismatch -Wuninitialized  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Hydro_recalibrateEints.F90
/usr/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -fallow-argument-mismatch -Wuninitialized  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 gr_xyzToBlock.F90
/usr/bin/mpicc -I/usr/include -DH5_USE_16_API -ggdb -c -O2 -Wuninitialized -D_FORTIFY_SOURCE=2 -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 io_attribute.c
In file included from io_h5_attribute.h:6,
                 from io_attribute.h:13,
                 from io_attribute.c:2:
hdf5_flash.h:34:10: fatal error: hdf5.h: No such file or directory
   34 | #include <hdf5.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:124: io_attribute.o] Error 1

I've changed the hdf5 path in Makefile.h and export the hdf5 installation path to PATH, but that doesn't seem to work.



Any help would be highly appreciated!  
Best! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240202/48a6a559/attachment.htm>


More information about the flash-users mailing list