why the HDF5 and libxc is enable but not work?
Posted: Sat Oct 24, 2020 12:07 pm
Dear all,
When I compile the libxc, and then compile the abinit,
The libxc and HDF5 is enabled but can not work.
I use centos 8.2, intel compilers_and_libraries_2020.2.254 && parallel_studio_xe_2020.2.108
The configure error is:
The config.ac9 is:
Could you give me some advice?
Thanks!
When I compile the libxc, and then compile the abinit,
The libxc and HDF5 is enabled but can not work.
I use centos 8.2, intel compilers_and_libraries_2020.2.254 && parallel_studio_xe_2020.2.108
The configure error is:
Code: Select all
Abinit feature triggers status
==============================
The following summary table indicates the status of the feature triggers,
whether they are available and working, how they have been initialized
and whether there are fallbacks to substitute broken ones.
+----------------+--------+--------+--------+--------+
|Feature |Enabled |Init |Working |Fallback|
+----------------+--------+--------+--------+--------+
|abinit_common |no |def |unknown |no |
|bigdft |no |def |unknown |disabled|
|fft |yes |kwd |yes |no |
|fftw3 |no |def |unknown |no |
|gpu |no |def |no |no |
|hdf5 |yes |dir |no |disabled|
|levmar |no |def |unknown |no |
|libpaw |no |def |unknown |no |
|libpsml |no |def |unknown |disabled|
|libxc |yes |dir |no |disabled|
|libxml2 |no |def |unknown |no |
|linalg |yes |env |no |disabled|
|mpi |yes |yon |yes |no |
|netcdf |yes |dir |no |disabled|
|netcdf_fortran |yes |dir |no |disabled|
|papi |no |def |unknown |no |
|pfft |no |def |unknown |no |
|triqs |no |def |unknown |no |
|wannier90 |no |def |unknown |disabled|
|xmlf90 |no |def |unknown |disabled|
+----------------+--------+--------+--------+--------+
+------------------------------------------------------------------+
| WARNING : HDF5 is not WORKING ! |
+------------------------------------------------------------------+
| |
| Please point the configuration to a working HDF5 installation |
| |
| Note: NetCDF and NetCDFF depend of HDF5. So we cannot test |
| whether NetCDF and NetCDFF are properly installed. |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| WARNING : LibXC is not WORKING ! |
+------------------------------------------------------------------+
| Please point the configuration to a working libXC installation |
+------------------------------------------------------------------+
+------------------------------------------------------------------+
| Problems must be solved before continuing |
+------------------------------------------------------------------+
checking that generated files are newer than configure... done
Code: Select all
# MPI settings
FC="mpiifort"
CC="mpiicc"
CXX="mpiicpc"
with_mpi="yes"
enable_mpi_io="yes"
# linear algebra settings
with_linalg_flavor="mkl"
LINALG_CPPFLAGS="-I${MKLROOT}/include"
LINALG_FCFLAGS="-I${MKLROOT}/include"
LINALG_LIBS="-L${MKLROOT}/lib/intel64 -lmkl_intel_ilp64 -lmkl_core -lmkl_intel_thread -lmkl_scalapack_ilp64 -lmkl_blacs_intelmpi_ilp64 -lpthread -lm"
# mandatory libraries
with_hdf5="yes"
with_netcdf="yes"
with_netcdf_fortran="yes"
with_libxc="yes"
# FFT flavor
with_fft_flavor="dfti"
FFT_FCFLAGS="-I${MKLROOT}/include"
# Enable Netcdf mode in Abinit (use netcdf as default I/O library)
enable_netcdf_default="yes"
with_libxc=/home/sunlight/work/abinit/abinit-9.2.1/buildfallbacks/install/libxc-5.0.0
with_hdf5=/home/sunlight/work/5208abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/hdf5/1.10.6
H5CC="/home/sunlight/work/abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/hdf5/bin"
HDF5_CPPFLAGS="-I/home/sunlight/work/abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/hdf5/1.10.6/include"
HDF5_FCFLAGS="-I/home/sunlight/work/abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/hdf5/1.10.6/include"
HDF5_LIBS="-L/home/sunlight/work/abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/hdf5/1.10.6/lib -lhdf5 -lhdf5_hl"
with_netcdf=/home/sunlight/work/abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/netcdf4/4.6.3
with_netcdf_fortran=/home/sunlight/work/abinit/abinit-9.2.1/build/fallbacks/install_fb/intel/19.1/netcdf4_fortran/4.5.2
Thanks!