User Tools

Site Tools


admin:compilaciones:monofonic

Differences

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

Link to this comparison view

admin:compilaciones:monofonic [2025/07/16 19:25] – created flezcanoadmin:compilaciones:monofonic [2025/07/16 19:29] (current) flezcano
Line 2: Line 2:
 Dentro de un nodo, contando con acceso a internet: Dentro de un nodo, contando con acceso a internet:
  
 +<code>
 git clone https://github.com/wullm/monofonic.git git clone https://github.com/wullm/monofonic.git
 mkdir monofonic/build mkdir monofonic/build
Line 7: Line 8:
 module purge && ml intel/2023.2.1 openmpi4/4.1.6 hdf5/1.10.8 cmake/3.24.2 gsl/2.8 fftw/3.3.9 module purge && ml intel/2023.2.1 openmpi4/4.1.6 hdf5/1.10.8 cmake/3.24.2 gsl/2.8 fftw/3.3.9
 FFTW3_ROOT=/data/shared/apps/fftw/3.3.9 GSL_ROOT=/opt/ohpc/pub/apps/gsl/2.8 ccmake .. FFTW3_ROOT=/data/shared/apps/fftw/3.3.9 GSL_ROOT=/opt/ohpc/pub/apps/gsl/2.8 ccmake ..
 +</code>
  
 Configurar manualmente estas entradas: Configurar manualmente estas entradas:
  
 +<code>
 CMAKE_CXX_COMPILER              =/opt/intel/oneapi/compiler/2023.2.1/linux/bin/icpx CMAKE_CXX_COMPILER              =/opt/intel/oneapi/compiler/2023.2.1/linux/bin/icpx
 CMAKE_CXX_COMPILER_AR           =/usr/bin/ar      CMAKE_CXX_COMPILER_AR           =/usr/bin/ar     
 CMAKE_CXX_COMPILER_RANLIB       =/usr/bin/ranlib  CMAKE_CXX_COMPILER_RANLIB       =/usr/bin/ranlib 
- +CMAKE_Fortran_COMPILER          =/opt/intel/oneapi/compiler/2023.2.1/linux/bin/ifx  
-CMAKE_Fortran_COMPILER=/opt/intel/oneapi/compiler/2023.2.1/linux/bin/ifx  +CMAKE_Fortran_COMPILER_AR       =/usr/bin/ar  
-CMAKE_Fortran_COMPILER_AR=/usr/bin/ar  +CMAKE_Fortran_COMPILER_RANLIB   =/usr/bin/ranlib 
-CMAKE_Fortran_COMPILER_RANLIB=/usr/bin/ranlib +MPIEXEC_MAX_NUM_PROCS           =64 
- +GSL_ROOT_DIR                    =/opt/ohpc/pub/apps/gsl/2.8 
- +HDF5_DIR                        =/opt/ohpc/pub/libs/intel/hdf5/1.10.8/ 
-MPIEXEC_MAX_NUM_PROCS=64 +pkcfg_lib_GSL_gslcblas          =/opt/ohpc/pub/apps/gsl/2.8/lib/libgsl.so 
-GSL_ROOT_DIR=/opt/ohpc/pub/apps/gsl/2.8 +pkgcfg_lib_GSL_m                =/opt/ohpc/pub/apps/gsl/2.8/lib/libgslcblas.so 
-HDF5_DIR=/opt/ohpc/pub/libs/intel/hdf5/1.10.8/ +</code>
-pkcfg_lib_GSL_gslcblas=/opt/ohpc/pub/apps/gsl/2.8/lib/libgsl.so +
-pkgcfg_lib_GSL_m=/opt/ohpc/pub/apps/gsl/2.8/lib/libgslcblas.so +
  
 En el editor de ccmake, "c" para configurar, y luego "g" para generar el MakeFile. En el editor de ccmake, "c" para configurar, y luego "g" para generar el MakeFile.
- +Luego, compilar: 
 +<code>
 export CPATH=/data/shared/apps/fftw/3.3.9/include:$CPATH export CPATH=/data/shared/apps/fftw/3.3.9/include:$CPATH
 make -j 64 make -j 64
 +</code>
admin/compilaciones/monofonic.1752693925.txt.gz · Last modified: by flezcano