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 18:59] – [Config] bbruzzoadmin:compilaciones:abinit [2026/02/13 18:00] (current) – ldd check bbruzzo
Line 302: Line 302:
  
 Ver [[libxc|Compilación LibXC 6.2.2]] 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
 +================
 + - Homepage: https://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([==[Homepage: https://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>
admin/compilaciones/abinit.1770922792.txt.gz · Last modified: by bbruzzo