User Tools

Site Tools


admin:compilaciones:abinit

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
admin:compilaciones:abinit [2026/02/12 17:21] – libxc bbruzzoadmin:compilaciones:abinit [2026/02/13 18:00] (current) – ldd check bbruzzo
Line 288: Line 288:
  
 <code> <code>
-checking how LibXC parameters have been set... env +        +--------------------------------------------------------------+ 
-checking for LibXC C preprocessing flags... none +        | Suboptimal libxc configuration                               | 
-checking for LibXC C flags... none +        +--------------------------------------------------------------+ 
-checking for LibXC linker flags... none +        | The LibXC package does not provide the 3rd derivatives of    | 
-checking for LibXC library flags... -L/data/shared/apps/libxc/7.0.0/lib -lxcf90 -lxc +        | energy!                                                      | 
-checking whether the LibXC library works... no +        | You should recompile it using --enable-kxc configure option
-checking whether the LibXC library has an old API... no +        | Otherwise Abinit will not be able to provide nonlinear       | 
-checking whether the LibXC library has an old API... no +        | response properties (Raman intensities, ...)               | 
-checking whether the LibXC was compiled with Kxc derivatives... no +        +--------------------------------------------------------------+ 
-configureWARNINGThe LibXC package does not provide the +</code> 
-     3rd derivatives of energy! You should recompile it + 
-     using --enable-kxc configure option+Vamos a compilarlo específicamente para hacer esto dentro del directorio /data/shared/apps/abinit/<version>/libxc
-configureWARNINGinvalid LibXC configuration+ 
 +Ver [[libxc|Compilación LibXC 6.2.2]] 
 + 
 +=== Wannier90 === 
 + 
 +Es necesario agregar un symbolic link 
 + 
 +<code>ln -s libwannier.a libwannier90.a 
 +</code> 
 + 
 +en el directorio lib/libs. 
 + 
 +== Compilando == 
 + 
 +Usamos el siguiente archivo de configuración: 
 + 
 +<code snmgt01.ac9> 
 +prefix="/data/shared/apps/abinit/10.6.3/build" 
 +CC="icx" 
 +CXX="mpicxx" 
 +FC="mpifort" 
 +with_mpi="/opt/ohpc/pub/mpi/openmpi5-intel/5.0.3" 
 +with_mpi_flavor="native" 
 +enable_mpi_gpu_aware="no" 
 +enable_mpi_inplace="yes" 
 +enable_mpi_io="auto" 
 +with_mpi_level="2" 
 +with_linalg_flavor="mkl" 
 +LINALG_CPPFLAGS="-I${MKLROOT}/include" 
 +LINALG_FCFLAGS="-I${MKLROOT}/include" 
 +LINALG_LIBS="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread -lm -ldl" 
 +with_fft_flavor="dfti" 
 +FFT_CPPFLAGS="-I${MKLROOT}/include" 
 +FFT_FCFLAGS="-I${MKLROOT}/include" 
 +FFT_LIBS="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread -lm -ldl" 
 +with_libxc="/data/shared/apps/abinit/10.6.3/libs" 
 +#LIBXC_LIBS="-L/data/shared/apps/libxc/7.0.0/lib -lxcf90 -lxc" 
 +#with_libxml2="/data/shared/apps/abinit/10.6.3/tmp/fb" 
 +with_hdf5="/data/shared/apps/abinit/10.6.3/libs" 
 +#HDF5_CPPFLAGS="-I/data/shared/apps/abinit/libs/include" 
 +with_netcdf_fortran="/data/shared/apps/abinit/10.6.3/libs" 
 +with_netcdf_c="/data/shared/apps/abinit/10.6.3/libs" 
 +with_wannier90="/data/shared/apps/abinit/10.6.3/libs" 
 +WANNIER90_LIBS="-L/data/shared/apps/abinit/10.6.3/libs/libi -lwannier -qmkl=sequential" 
 +with_python_includes="-I/home/bbruzzo/.local/share/mamba/envs/myenv/include/python3.10" 
 +with_python_libs="-L/home/bbruzzo/.local/share/mamba/envs/myenv/lib -lpython3.10" 
 +PYTHON_CPPFLAGS="-I/home/bbruzzo/.local/share/mamba/envs/myenv/include/python3.10" 
 +PYTHON_CFLAGS="-O2" 
 +PYTHON_LDFLAGS="-L/home/bbruzzo/.local/share/mamba/envs/myenv/lib -lpython3.10" 
 +</code> 
 + 
 +<code> 
 +make check 
 +make test_fast 
 +make test_in 
 +make install 
 +</code> 
 + 
 +== Módulo == 
 + 
 +<file lua 10.6.3.lua> 
 +p([==[ 
 +Description 
 +=========== 
 +ABINIT 
 + 
 +Version 
 +======= 
 +10.6.3 
 + 
 +More information 
 +================ 
 + - Homepagehttps://www.abinit.org/ 
 +]==]) 
 + 
 +whatis([==[Description:  ABINIT is a software suite to calculate 
 +the optical, mechanical, vibrational, and other observable 
 +properties of materials. 
 +Starting from the quantum equations of density functional theory, 
 +you can build up to advanced applications with perturbation theories 
 +based on DFT, and many-body Green's functions (GW and DMFT)
 +]==]) 
 +whatis([==[Homepagehttps://www.abinit.org]==]) 
 +whatis("Compiled by bbruzzo"
 + 
 +local root = "/data/shared/apps/abinit/10.6.3/build" 
 +local libs = "/data/shared/apps/abinit/10.6.3/libs" 
 + 
 +if not ( isloaded("intel/2024.0.0") ) then 
 +    load("intel/2024.0.0"
 +end 
 + 
 +if not ( isloaded("openmpi5") ) then 
 +    load("openmpi5"
 +end 
 + 
 +prepend_path("PATH", pathJoin(root, "/bin")) 
 +prepend_path("LD_LIBRARY_PATH", pathJoin(libs, "/lib")) 
 +</file> 
 + 
 +== Check linkeo == 
 + 
 +<code> 
 +module purge 
 +module load abinit 
 +ldd $(which abinit)
 </code> </code>
admin/compilaciones/abinit.1770916911.txt.gz · Last modified: by bbruzzo