Hello Jie, It looks like your HDF5 library is good. (Though the prefix directory specified on the configure line is “usr/local/hdf5” and *not* “/usr/local/hdf5”.)
Regarding the error, there are examples in the share/ directory of the built binaries that the “make check-install” is unsuccessfully attempting to compile and run. It is possible that the “make check-install” cannot find the HDF5 libraries. You could try setting the path to the HDF5 libraries in LD_LIBRARY_PATH to see if that helps (if building shared libraries). You can also run the examples manually to see if that yields more information: · Go to the location of your built HDF5 binaries. You will see a “share” directory (in addition to include/, lib/, etc..). · Go into share/hdf5_examples/ and run “run-all-ex.sh”. Do the examples run properly? -Barbara ======================================================== Barbara Jones, The HDF Group Helpdesk, h...@hdfgroup.org Support Services: https://www.hdfgroup.org/support/ ======================================================== From: Hdf-forum [mailto:hdf-forum-boun...@lists.hdfgroup.org] On Behalf Of ?? Sent: Monday, November 20, 2017 3:24 AM To: hdf-forum@lists.hdfgroup.org Subject: [Hdf-forum] Errors when install HDF5 Hi all: Recently I am going to use HDF5, I install it with following command: “ ./configure —prefix=usr/local/hdf5 —enable-fortran make make check make install make check-install " Everything goes well but when I run “make check-install”, it has some errors say: “ Testing run-fortran-ex.sh ===================== ################# h5_crtdat ################# Assembler messages: error: can't create h5_crtdat.o: for write messed up compiling h5_crtdat.f90 rm: cannot remove `*.o': No such file or directory rm: cannot remove `*.h5': No such file or directory Makefile:1207: recipe for target ‘installcheck-local’ failed make[3]: *** [installcheck-local] Error 1 make[3]: Leaving directory `/home/ustc/Download/hdf5-1.10.1/fortran/examples’ Makefile:1244: recipe for target ’installcheck-local’ failed make[2]: *** [installcheck-local] Error 1 make[2]: Leaving directory `/home/ustc/Download/hdf5-1.10.1/fortran’ Makefile:811: recipe for target ‘installcheck-recursive’ failed make[1]: *** [installcheck-recursive] Error 1 make[1]: Leaving directory `/home/ustc/Download/hdf5-1.10.1/fortran’ Makefile:650: recipe for target ‘installcheck-recursive’ failed make: *** [installcheck-recursive] Error 1 “ I have google a lot but it seems like a bug that haven’t been solved. I am soooo puzzled by this problem, please help me. My Ubuntu version is 16.04, ifort version is 18.0.1. Best, Jie
_______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@lists.hdfgroup.org http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5