Skip to content

Commit e81e3c3

Browse files
committed
updates for running on Anemone
1 parent 38d9ef6 commit e81e3c3

File tree

8 files changed

+799
-5
lines changed

8 files changed

+799
-5
lines changed

arch/nemo/4.2.2/arch-anemone-ifort-impi.fcm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
%XIOS_LIB -L%XIOS_HOME/lib -lxios -lstdc++
4141

4242
%CPP cpp
43-
%FC mpiifort -c -fpp -fpp-name:/opt/software/eb/software/GCCcore/11.2.0/bin/cpp -Wp,-P,-traditional
43+
%FC mpiifort -c -fpp -fpp-name:/opt/software/rocky9/eb/software/GCCcore/12.3.0/bin/cpp -Wp,-P,-traditional
4444
%FCFLAGS -i4 -r8 -O3 -fp-model precise -fno-alias
4545
%FFLAGS %FCFLAGS
4646
%LD mpiifort
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module purge
2+
module load NEMO/prg-env
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
%CCOMPILER mpiicc
2+
%FCOMPILER mpiifort
3+
%LINKER mpiifort -nofor-main
4+
5+
%BASE_CFLAGS -fPIC -std=c++11
6+
%PROD_CFLAGS -O3 -D BOOST_DISABLE_ASSERTS
7+
%DEV_CFLAGS -g
8+
%DEBUG_CFLAGS -DBZ_DEBUG -g -fno-inline
9+
10+
%BASE_FFLAGS -fPIC -D__NONE__ -132
11+
%PROD_FFLAGS -O3
12+
%DEV_FFLAGS -g -O2 -traceback
13+
%DEBUG_FFLAGS -g -traceback
14+
15+
%BASE_INC -D__NONE__
16+
%BASE_LD -lstdc++
17+
18+
%CPP mpiicc -EP
19+
%FPP cpp -P
20+
%MAKE gmake
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
NETCDF_INCDIR="-I$EBROOTNETCDF/include"
2+
NETCDF_LIBDIR="-L$EBROOTNETCDF/lib"
3+
NETCDF_LIB="-lnetcdff -lnetcdf"
4+
MPI_INCDIR=""
5+
MPI_LIBDIR=""
6+
MPI_LIB=""
7+
HDF5_INCDIR=""
8+
HDF5_LIBDIR=""
9+
HDF5_LIB=""

scripts/env/anemone/ifort-impi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
module restore
1+
module purge
22
module load NEMO/prg-env
3+
module load libfabric/1.18.0-GCCcore-12.3.0

0 commit comments

Comments
 (0)