User Tools

Site Tools


admin:compilaciones:libxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
admin:compilaciones:libxc [2025/08/12 18:10] – created bbruzzoadmin:compilaciones:libxc [2026/02/12 17:50] (current) – [LIBXC para ABINIT] bbruzzo
Line 1: Line 1:
-====== Compilación LibXC ======+===== Compilación LibXC 6.2.2 =====
  
-Desde dentro de un nodo:+La siguiente compilacion utiliza autotools y el compilador de Intel oneAPI.  
 + 
 +Desde dentro de un nodo de computo cargamos los modulos necesarios: 
 +<code> 
 +module purge 
 +module load autotools intel 
 +</code> 
 + 
 +Luego, corremos autoreconf para generar archivos de configuracion, y procedemos a configurar el entorno
  
 <code> <code>
 ./configure --prefix=/data/shared/apps/libxc/6.2.2   \ ./configure --prefix=/data/shared/apps/libxc/6.2.2   \
-  --enable-shared     CC=icc FC=ifort \+  --enable-shared     CC=icx FC=ifort \
     FFLAGS="-fPIC" FCFLAGS="-fPIC" --disable-fhc     FFLAGS="-fPIC" FCFLAGS="-fPIC" --disable-fhc
          
-    make -j64 +make -j64
-     +
-    make install+
 </code> </code>
 +
 +Por ultimo, hacemos un chequeo de tests e instalamos en la ruta definida anteriormente:
 +
 +<code>
 +make check
 +make install
 +</code>
 +
 +==== Referencias ====
 +- https://libxc.gitlab.io/
 +
 +===== LIBXC para ABINIT =====
 +
 +<code>
 +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
 +</code>
 +
admin/compilaciones/libxc.1755022211.txt.gz · Last modified: by bbruzzo