-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settings for TRANSP on the ITER cluster
- Loading branch information
Alexei Pankin
committed
Sep 23, 2022
1 parent
6a9f948
commit 527cd18
Showing
4 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#--------------------------------------------------- | ||
# ITER Systems with GFortran Compiler and OpenMPI | ||
#--------------------------------------------------- | ||
# A. Pankin ([email protected]) | ||
|
||
IDENTITY="ITER cluster" | ||
CORES_PER_NODE=1 | ||
NUMAS_PER_NODE=1 | ||
|
||
# Compilers gfortran and flags | ||
FC = mpif90 -std=f2008 -fall-intrinsics -I$(GACODE_ROOT)/modules -J $(GACODE_ROOT)/modules -fPIC | ||
F77 = mpif77 -fallow-argument-mismatch -I$(GACODE_ROOT)/modules | ||
CC = gcc | ||
|
||
FMATH = -fdefault-real-8 -fdefault-double-8 | ||
FOPT = -Ofast | ||
FDEBUG = -Wall -W -fcheck=mem,bounds -g -fbacktrace -ffpe-trap=invalid,zero,overflow | ||
F2PY = f2py | ||
FOMP = -fopenmp | ||
|
||
# System math libraries | ||
SLAPACK_HOME=${EBROOTSCALAPACK} | ||
OBLAS_HOME=${EBROOTOPENBLAS} | ||
FANN_ROOT=${EBROOTFANN} | ||
FFTW_HOME=/work/imas/opt/EasyBuild/software/FFTW/3.3.8-gompi-2020b | ||
LMATH = -L${SLAPACK_HOME} -lscalapack -L${OBLAS_HOME} -lopenblas -L$(FFTW_HOME)/lib -lfftw3_threads -lfftw3 -L${GACODE_ROOT}/../neural -lbrainfuse ${FANN_ROOT}/lib/libfann.so | ||
FFTW_INC = $(FFTW_HOME)/include | ||
FOPT += -I${GACODE_ROOT}/../neural | ||
FDEBUG += -I${GACODE_ROOT}/../neural | ||
|
||
# NCLASS will conflict with other NCLASS version in TRANSP | ||
NO_NCLASS_NEO = 1 | ||
|
||
# NetCDF | ||
NETCDF_FORTRAN_HOME=${EBROOTNETCDFMINFORTRAN} | ||
NETCDF_C_HOME=${EBROOTNETCDF} | ||
NETCDF = -L${NETCDF_FORTRAN_HOME}/lib -lnetcdff -L${NETCDF_C_HOME}/lib -lnetcdf | ||
NETCDF_INC =${NETCDF_FORTRAN_HOME}/include -I${NETCDF_C_HOME}/include | ||
|
||
# Mapping | ||
%.o : %.mod | ||
|
||
# Archive | ||
ARCH = ar cr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#--------------------------------------------------- | ||
# ITER Systems with GFortran Compiler and OpenMPI | ||
#--------------------------------------------------- | ||
# A. Pankin ([email protected]) | ||
|
||
IDENTITY="ITER cluster" | ||
CORES_PER_NODE=1 | ||
NUMAS_PER_NODE=1 | ||
|
||
# Compilers gfortran and flags | ||
FC = mpif90 -gen-interfaces -nowarn -ftz -traceback -align dcommons -fPIC -fexceptions -fp-model precise -fp-speculation=safe -module ${GACODE_ROOT}/modules -I${GACODE_ROOT}/modules -I${MKLROOT}/include/fftw -I$(NETCDF_FORTRAN_HOME)/include | ||
F77 = ${FC} | ||
|
||
FOMP = -qopenmp | ||
FMATH = -real-size 64 | ||
FOPT = -O2 | ||
FDEBUG = -check all -traceback | ||
F2PY = f2py | ||
CFLAGS = -fpic | ||
|
||
# System math libraries | ||
SLAPACK_HOME=${EBROOTSCALAPACK} | ||
OBLAS_HOME=${EBROOTOPENBLAS} | ||
FANN_ROOT=${EBROOTFANN} | ||
FFTW_HOME=/work/imas/opt/EasyBuild/software/FFTW/3.3.8-gompi-2020b | ||
LMATH = -mkl -L${SLAPACK_HOME} -lscalapack -L${OBLAS_HOME} -lopenblas -L$(FFTW_HOME)/lib -lfftw3_threads -lfftw3 -L${GACODE_ROOT}/../neural -lbrainfuse ${FANN_ROOT}/lib/libfann.so | ||
FFTW_INC = $(FFTW_HOME)/include | ||
FOPT += -I${GACODE_ROOT}/../neural | ||
FDEBUG += -I${GACODE_ROOT}/../neural | ||
|
||
# NCLASS will conflict with other NCLASS version in TRANSP | ||
NO_NCLASS_NEO = 1 | ||
|
||
# NetCDF | ||
NETCDF_FORTRAN_HOME=${EBROOTNETCDFMINFORTRAN} | ||
NETCDF_C_HOME=${EBROOTNETCDF} | ||
NETCDF = -L${NETCDF_FORTRAN_HOME}/lib -lnetcdff -L${NETCDF_C_HOME}/lib -lnetcdf -L$(EBROOTHDF5)/lib -lhdf5 -lhdf5_hl | ||
NETCDF_INC =${NETCDF_FORTRAN_HOME}/include -I${NETCDF_C_HOME}/include | ||
|
||
# Mapping | ||
%.o : %.mod | ||
|
||
# Archive | ||
ARCH = ar cr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module load netCDF/4.7.4-gompi-2020b | ||
module load netCDF-Fortran/4.5.3-gompi-2020b | ||
module load mpi/openmpi-x86_64 | ||
module load FFTW/3.3.8-gompi-2020b | ||
module load FANN/2.2.0-GCCcore-10.2.0 | ||
module load ScaLAPACK/2.1.0-gompi-2020b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module load netCDF/4.7.4-iimpi-2020b | ||
module load netCDF-Fortran/4.5.3-iimpi-2020b | ||
#module load mpi/openmpi-x86_64 | ||
module load FFTW/3.3.8-iimpi-2020b | ||
module load FANN/2.2.0-GCCcore-10.2.0 | ||
module load ScaLAPACK/2.1.0-iimpi-2020b-bf | ||
module load OpenMPI/4.0.5-iccifort-2020.4.304 | ||
export LD_LIBRARY_PATH=/work/imas/opt/EasyBuild/software/iccifort/2020.4.304/compilers_and_libraries_2020.4.304/linux/compiler/lib/intel64:$LD_LIBRARY_PATH |