Hello Kameshwari, While I can’t see which tests failed in the output below, my first guess is that the tests are failing due to a dependency issue with running “make check install”. There is a known issue where the tools are not built when the tests are run, causing a failure.
If this is the issue, then building like this should solve the problem: ./configure --with-zlib=/home/ed/local --prefix=/home/ed/local make >& make.out make check >& check.out make install (If the .out file looks okay, go to the next step.) If you are still having issues, let me know! -Barbara [email protected]<mailto:[email protected]> From: Hdf-forum [mailto:[email protected]] On Behalf Of Kameshwari Nunna Sent: Tuesday, October 14, 2014 5:25 AM To: [email protected] Subject: [Hdf-forum] problem installing hdf5 libraries Hi all, I want to read netcdf files in fortran program. I have gone through the following webpage-- http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html So, in order to install netcdf-fortran libraries, I understood that, I should first install netcdf-C libraries. So, I followed the steps mentioned in the following link-- http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html Accordingly, I successfully installed zIib. I am now unable to install hdf5 1.8.13. I am getting the following errors after executing--- $ ./configure --with-zlib=/home/ed/local --prefix=/home/ed/local $ sudo make check install The errors are--- Testing h5dump --enable-error-stack -y -o tall-6.txt -d /g1/g1.1/dset1 PASSED h5dump tests failed with 8 errors. Command exited with non-zero status 1 1.66user 2.83system 0:15.25elapsed 29%CPU (0avgtext+0avgdata 43824maxresident)k 63432inputs+268512outputs (26major+2971415minor)pagefaults 0swaps make[5]: *** [testh5dump.sh.chkexe_] Error 1 make[5]: Leaving directory `/home/kameshwari/Downloads/hdf5-1.8.13/tools/h5dump' make[4]: *** [build-check-s] Error 2 make[4]: Leaving directory `/home/kameshwari/Downloads/hdf5-1.8.13/tools/h5dump' make[3]: *** [test] Error 2 make[3]: Leaving directory `/home/kameshwari/Downloads/hdf5-1.8.13/tools/h5dump' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/kameshwari/Downloads/hdf5-1.8.13/tools/h5dump' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/kameshwari/Downloads/hdf5-1.8.13/tools' make: *** [check-recursive] Error 1 Please help me to install hdf5 libraries. So that, I would finally be able to open netcdf files using fortran program. Thanks, Kameshwari.
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
