admin:compilaciones:abinit
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| admin:compilaciones:abinit [2026/02/12 00:38] – bbruzzo | admin:compilaciones:abinit [2026/02/13 18:00] (current) – ldd check bbruzzo | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| que el bug no fue corregido en la versión release. | que el bug no fue corregido en la versión release. | ||
| - | El usuario reporta: | + | El usuario reporta:o |
| // | // | ||
| Line 207: | Line 207: | ||
| make install | make install | ||
| </ | </ | ||
| + | |||
| + | Disclaimer, al hacer make test fallan algunos tests: | ||
| + | |||
| + | < | ||
| + | FAIL: tst_netcdf4.sh | ||
| + | FAIL: tst_ncgen4.sh | ||
| + | FAIL: run_back_comp_tests.sh | ||
| + | FAIL: tst_nccopy4.sh | ||
| + | </ | ||
| + | |||
| + | Habría que revisar porqué fallan. | ||
| + | |||
| == NetCFD-Fortran == | == NetCFD-Fortran == | ||
| - | < | + | < |
| + | --disable-dap | ||
| + | --prefix=/ | ||
| + | FC=mpifort | ||
| + | LDFLAGS=-L/ | ||
| + | FCFLAGS=-I/ | ||
| </ | </ | ||
| + | El output debería terminar con: | ||
| + | < | ||
| + | # NetCDF Fortran Configuration Summary | ||
| + | ============================== | ||
| + | # General | ||
| + | ------- | ||
| + | Library Version: | ||
| + | Configured On: Thu Feb 12 11:48:05 -03 2026 | ||
| + | Host System: | ||
| + | Build Directory: | ||
| + | Install Prefix: | ||
| + | |||
| + | # Compiling Options | ||
| + | ----------------- | ||
| + | Fortran Compiler: | ||
| + | FFLAGS: | ||
| + | LDFLAGS: | ||
| + | C Compiler: | ||
| + | CPPFLAGS: | ||
| + | CFLAGS: | ||
| + | Shared Library: | ||
| + | Static Library: | ||
| + | Extra libraries: | ||
| + | |||
| + | # Features | ||
| + | -------- | ||
| + | F03: yes | ||
| + | Dap Support: | ||
| + | Logging Support: | ||
| + | NetCDF-2 API: yes | ||
| + | NetCDF-4 API: yes | ||
| + | CDF5 Support: | ||
| + | Parallel IO: yes | ||
| + | NetCDF4 Parallel IO: yes | ||
| + | PnetCDF Parallel IO: no | ||
| + | SZIP Write Support: | ||
| + | Zstandard Support: | ||
| + | Quantize: | ||
| + | |||
| + | configure: WARNING: | ||
| + | configure: WARNING: ------------------------------------------ | ||
| + | configure: WARNING: libnetcdf was built with zstd support, but HDF5_PLUGIN_PATH is not set, so zstd support is not enabled in libnetcdff. Set HDF5_PLUGIN_PATH and re-run configure if you want to enable zstd support. | ||
| + | |||
| + | configure: WARNING: You can use `nc-config --plugindir` to determine the appropriate value for HDF5_PLUGIN_PATH | ||
| + | configure: WARNING: ------------------------------------------ | ||
| + | configure: WARNING: | ||
| + | </ | ||
| + | |||
| + | |||
| + | === LIBXC === | ||
| + | |||
| + | Las implementaciones de libxc de CXXI no fueron compiladas con derivadas terceras: | ||
| + | |||
| + | < | ||
| + | +--------------------------------------------------------------+ | ||
| + | | Suboptimal libxc configuration | ||
| + | +--------------------------------------------------------------+ | ||
| + | | The LibXC package does not provide the 3rd derivatives of | | ||
| + | | energy! | ||
| + | | You should recompile it using --enable-kxc configure option. | | ||
| + | | Otherwise Abinit will not be able to provide nonlinear | ||
| + | | response properties (Raman intensities, | ||
| + | +--------------------------------------------------------------+ | ||
| + | </ | ||
| + | |||
| + | Vamos a compilarlo específicamente para hacer esto dentro del directorio / | ||
| + | |||
| + | Ver [[libxc|Compilación LibXC 6.2.2]] | ||
| + | |||
| + | === Wannier90 === | ||
| + | |||
| + | Es necesario agregar un symbolic link | ||
| + | |||
| + | < | ||
| + | </ | ||
| + | |||
| + | en el directorio lib/libs. | ||
| + | |||
| + | == Compilando == | ||
| + | |||
| + | Usamos el siguiente archivo de configuración: | ||
| + | |||
| + | <code snmgt01.ac9> | ||
| + | prefix="/ | ||
| + | CC=" | ||
| + | CXX=" | ||
| + | FC=" | ||
| + | with_mpi="/ | ||
| + | with_mpi_flavor=" | ||
| + | enable_mpi_gpu_aware=" | ||
| + | enable_mpi_inplace=" | ||
| + | enable_mpi_io=" | ||
| + | with_mpi_level=" | ||
| + | with_linalg_flavor=" | ||
| + | LINALG_CPPFLAGS=" | ||
| + | LINALG_FCFLAGS=" | ||
| + | LINALG_LIBS=" | ||
| + | with_fft_flavor=" | ||
| + | FFT_CPPFLAGS=" | ||
| + | FFT_FCFLAGS=" | ||
| + | FFT_LIBS=" | ||
| + | with_libxc="/ | ||
| + | # | ||
| + | # | ||
| + | with_hdf5="/ | ||
| + | # | ||
| + | with_netcdf_fortran="/ | ||
| + | with_netcdf_c="/ | ||
| + | with_wannier90="/ | ||
| + | WANNIER90_LIBS=" | ||
| + | with_python_includes=" | ||
| + | with_python_libs=" | ||
| + | PYTHON_CPPFLAGS=" | ||
| + | PYTHON_CFLAGS=" | ||
| + | PYTHON_LDFLAGS=" | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | make check | ||
| + | make test_fast | ||
| + | make test_in | ||
| + | make install | ||
| + | </ | ||
| + | |||
| + | == Módulo == | ||
| + | |||
| + | <file lua 10.6.3.lua> | ||
| + | p([==[ | ||
| + | Description | ||
| + | =========== | ||
| + | ABINIT | ||
| + | |||
| + | Version | ||
| + | ======= | ||
| + | 10.6.3 | ||
| + | |||
| + | More information | ||
| + | ================ | ||
| + | - Homepage: https:// | ||
| + | ]==]) | ||
| + | |||
| + | whatis([==[Description: | ||
| + | the optical, mechanical, vibrational, | ||
| + | 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' | ||
| + | ]==]) | ||
| + | whatis([==[Homepage: | ||
| + | whatis(" | ||
| + | |||
| + | local root = "/ | ||
| + | local libs = "/ | ||
| + | |||
| + | if not ( isloaded(" | ||
| + | load(" | ||
| + | end | ||
| + | |||
| + | if not ( isloaded(" | ||
| + | load(" | ||
| + | end | ||
| + | |||
| + | prepend_path(" | ||
| + | prepend_path(" | ||
| + | </ | ||
| + | |||
| + | == Check linkeo == | ||
| + | |||
| + | < | ||
| + | module purge | ||
| + | module load abinit | ||
| + | ldd $(which abinit) | ||
| + | </ | ||
admin/compilaciones/abinit.1770856701.txt.gz · Last modified: by bbruzzo
