it seems --disable-hdf5 doesn't work
CC=mpicc CXX=mpicxx FC=mpif90 \
../configure \
--prefix=/usr/local/fallbacks/gnu/4.9/cov \
--disable-hdf5 \
--with-linalg-libs="-L/opt/intel/composerxe_14/mkl/lib/intel64 -Wl,--start-group -lmkl_gf_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
it still looks for and found libs
...
checking for HDF5 libraries to try... -lhdf5_hl -lhdf5
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking curl/curl.h usability... no
checking curl/curl.h presence... no
checking for curl/curl.h... no
checking for library containing deflateInit... no
checking for library containing curl_easy_init... no
configure: WARNING: missing prerequisite C headers
configure: WARNING: missing prerequisite libraries
checking for h5pcc... no
checking for HDF5 type... neither
checking for HDF5 libraries... no
configure: WARNING:
Unable to locate parallel HDF5 compilation helper script 'h5pcc'.
Please specify --with-hdf5=<LOCATION> as the full path to h5pcc.
HDF5 support is being disabled (equivalent to --with-hdf5=no).
configure: no parallel HDF5 found, looking for a serial one
checking for h5cc... /home/buildbot/anaconda2/bin/h5cc
checking for HDF5 type... serial
checking for HDF5 libraries... yes (version 1.8.17)
checking hdf5.h usability... yes
checking hdf5.h presence... yes
checking for hdf5.h... yes
checking for H5Fcreate in -lhdf5... yes
checking for main in -lhdf5_hl... yes
checking for matching HDF5 Fortran wrapper... no
checking which HDF5 version we have... 1.8.17
...
but, it will not use it...
+----------------+--------+--------+--------+--------+
|Fallback |Status |Install |Custom |Tricks |
+----------------+--------+--------+--------+--------+
|atompaw |ok |yes |no |yes |
|bigdft |ok |yes |no |yes |
|libpsml |ok |yes |no |no |
|libxc |ok |yes |no |yes |
|linalg |ok |no |no |unknown |
|netcdf4 |ok |yes |no |partial |
|netcdf4_fortran |ok |yes |no |partial |
|wannier90 |ok |yes |no |yes |
|xmlf90 |ok |yes |no |no |
|yaml |ok |yes |no |yes |
+----------------+--------+--------+--------+--------+
Note: HDF5 support is disabled in NetCDF4.
but, configure failed during compilation of netcdf-4.4.1.1
...
checking for library containing H5Fflush... no
configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
make[2]: *** [stamps/netcdf4-config-stamp] Error 1
make[2]: Leaving directory `/home/local/src/abinit-fallbacks/tmp-tikal_gcc49_cov'
make[1]: [all-local] Error 2 (ignored)
Checking build of netcdf4 fallback
test -e stamps/netcdf4-install-stamp
make[1]: *** [all-local] Error 1
make[1]: Leaving directory `/home/local/src/abinit-fallbacks/tmp-tikal_gcc49_cov'
make: *** [all-recursive] Error 1
...
if I use --disable-netcdf-4, netcdf-4 is not compiled...
gcc 4.9.4