===== Compilación LibXC 6.2.2 =====
La siguiente compilacion utiliza autotools y el compilador de Intel oneAPI.
Desde dentro de un nodo de computo cargamos los modulos necesarios:
module purge
module load autotools intel
Luego, corremos autoreconf para generar archivos de configuracion, y procedemos a configurar el entorno:
./configure --prefix=/data/shared/apps/libxc/6.2.2 \
--enable-shared CC=icx FC=ifort \
FFLAGS="-fPIC" FCFLAGS="-fPIC" --disable-fhc
make -j64
Por ultimo, hacemos un chequeo de tests e instalamos en la ruta definida anteriormente:
make check
make install
==== Referencias ====
- https://libxc.gitlab.io/
===== LIBXC para ABINIT =====
wget https://gitlab.com/libxc/libxc/-/archive/6.2.2/libxc-6.2.2.tar.bz2
tar xvf libxc-6.2.2.tar.bz2
mv libxc-6.2.2 6.2.2
rm libxc-6.2.2.tar.bz2
cd 6.2.2
module purge
module load intel autotools
autoreconf -i
./configure CC=icx FC=ifort --prefix=/data/shared/apps/abinit/10.6.3/libs --enable-kxc
make
make check
make install