I have been using an easy-build for abinit, but it is a little old so I would like to compile the latest version of abinit. I have downloaded abinit-9.10.3 and am having trouble with configure. I am running centos 7.9 with the Intel oneapi compiler. I initially followed the INSTALL-CentOS.md script manually (as the script downloads an older version 9.0.4 of abinit). These included the libraries:
sudo dnf install gcc-gfortran
sudo dnf install mpich mpich-devel
sudo dnf install hdf5-mpich hdf5-mpich-devel
sudo dnf install netcdf-mpich-devel netcdf-fortran-mpich-devel
sudo dnf install libxc libxc-devel
sudo dnf install python3
The libraries were installed without trouble, but the configure script using the line
./configure FC=mpiifort CC=icx --with-config-file=aconfig.ac
with aconfig.ac contents
# installation location
prefix=/opt/abinit
# MPI settings
with_mpi="yes"
enable_mpi_io="yes"
# linear algebra settings
with_linalg_flavor="mkl"
#LINALG_LIBS="-L/usr/lib64 -lopenblas"
# mandatory libraries
with_hdf5="yes"
HDF5_LIBS=-L/opt/hdf5/lib -lhdf5 -lhdf5_hl
with_netcdf="yes"
with_netcdf_fortran="yes"
with_libxc="yes"
# FFT flavor
with_fft_flavor="dfti"
FFTW3_LIBS="-L${MKLROOT}/lib/intel64 -lfftw3 -lfftw3f"
# Enable Netcdf mode in Abinit (use netcdf as default I/O library)
enable_netcdf_default="yes"
fails stating that " WARNING : HDF5 is not WORKING !" as well the same not working for libxc. I initially thought that the HDF version I installed via yum (1.10.5) might be too old so I downloaded and built the latest HDF 1-14.2 and specified the path to the newly installed hdf5 libraries. I still see the same error message. Does anyone have an idea of how to fix this? Even better, does anyone have a aconfig.ac file that will work for CentOS 7.9 with the intel compiler. In any case, a suggestion as to what to try next would be greatly appreciated.