====== Compilar Monofonic ======
Dentro de un nodo, contando con acceso a internet:
git clone https://github.com/wullm/monofonic.git
mkdir monofonic/build
cd build
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 ..
Configurar manualmente estas entradas:
CMAKE_CXX_COMPILER =/opt/intel/oneapi/compiler/2023.2.1/linux/bin/icpx
CMAKE_CXX_COMPILER_AR =/usr/bin/ar
CMAKE_CXX_COMPILER_RANLIB =/usr/bin/ranlib
CMAKE_Fortran_COMPILER =/opt/intel/oneapi/compiler/2023.2.1/linux/bin/ifx
CMAKE_Fortran_COMPILER_AR =/usr/bin/ar
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/
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.
Luego, compilar:
export CPATH=/data/shared/apps/fftw/3.3.9/include:$CPATH
make -j 64