-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
machines: add ECCC machines 'daley' and 'banting' (#363)
Mimicking the configuration for those machines in CICE, port Icepack to 'daley' and 'banting'.
- Loading branch information
1 parent
43a909a
commit 77c4e5f
Showing
10 changed files
with
272 additions
and
1 deletion.
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
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
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,31 @@ | ||
#============================================================================== | ||
# Makefile macros for ECCC banting | ||
#============================================================================== | ||
# For use with GNU compiler | ||
#============================================================================== | ||
|
||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 | ||
#-xHost | ||
|
||
FREEFLAGS := -ffree-form | ||
FFLAGS := -fconvert=big-endian -fbacktrace -ffree-line-length-none | ||
#-xHost | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -fcheck=bounds -finit-real=nan -fimplicit-none -ffpe-trap=invalid,zero,overflow | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := cc | ||
SFC := ftn | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
LD:= $(FC) | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -fopenmp | ||
CFLAGS += -fopenmp | ||
FFLAGS += -fopenmp | ||
endif |
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,33 @@ | ||
#============================================================================== | ||
# Makefile macros for ECCC banting | ||
#============================================================================== | ||
# For use with intel compiler | ||
#============================================================================== | ||
|
||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 -fp-model precise | ||
#-xHost | ||
|
||
FREEFLAGS := -FR | ||
FFLAGS := -fp-model source -convert big_endian -assume byterecl -ftz -traceback -no-wrap-margin | ||
#-xHost | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -check -fpe0 -ftrapuv -fp-model except -check noarg_temp_created | ||
#-init=snan,arrays | ||
# -heap-arrays 1024 | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := cc | ||
SFC := ftn | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
LD:= $(FC) | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -qopenmp | ||
CFLAGS += -qopenmp | ||
FFLAGS += -qopenmp | ||
endif |
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,31 @@ | ||
#============================================================================== | ||
# Makefile macros for ECCC daley | ||
#============================================================================== | ||
# For use with GNU compiler | ||
#============================================================================== | ||
|
||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 | ||
#-xHost | ||
|
||
FREEFLAGS := -ffree-form | ||
FFLAGS := -fconvert=big-endian -fbacktrace -ffree-line-length-none | ||
#-xHost | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -fcheck=bounds -finit-real=nan -fimplicit-none -ffpe-trap=invalid,zero,overflow | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := cc | ||
SFC := ftn | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
LD:= $(FC) | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -fopenmp | ||
CFLAGS += -fopenmp | ||
FFLAGS += -fopenmp | ||
endif |
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,33 @@ | ||
#============================================================================== | ||
# Makefile macros for ECCC daley | ||
#============================================================================== | ||
# For use with intel compiler | ||
#============================================================================== | ||
|
||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 -fp-model precise | ||
#-xHost | ||
|
||
FREEFLAGS := -FR | ||
FFLAGS := -fp-model source -convert big_endian -assume byterecl -ftz -traceback -no-wrap-margin | ||
#-xHost | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -check -fpe0 -ftrapuv -fp-model except -check noarg_temp_created | ||
# -init=snan,arrays | ||
# -heap-arrays 1024 | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := cc | ||
SFC := ftn | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
LD:= $(FC) | ||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -qopenmp | ||
CFLAGS += -qopenmp | ||
FFLAGS += -qopenmp | ||
endif |
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,35 @@ | ||
#!/bin/csh -f | ||
|
||
set inp = "undefined" | ||
if ($#argv == 1) then | ||
set inp = $1 | ||
endif | ||
|
||
if ("$inp" != "-nomodules") then | ||
|
||
source /opt/modules/default/init/csh # Initialize modules for csh | ||
# Clear environment | ||
module unload craype-x86-skylake | ||
module unload PrgEnv-intel | ||
|
||
module load PrgEnv-gnu # GNU compiler | ||
module load craype-x86-skylake # Reload | ||
module load cray-netcdf # NetCDF | ||
module load cray-hdf5 # HDF5 | ||
setenv HDF5_USE_FILE_LOCKING FALSE # necessary since data is on an NFS filesystem | ||
|
||
endif | ||
|
||
setenv ICE_MACHINE_MACHNAME banting | ||
setenv ICE_MACHINE_ENVNAME gnu | ||
setenv ICE_MACHINE_MAKE make | ||
setenv ICE_MACHINE_WKDIR ~/data/banting/icepack/runs | ||
setenv ICE_MACHINE_INPUTDATA /home/ords/cmdd/cmde/sice500/ | ||
setenv ICE_MACHINE_BASELINE ~/data/banting/icepack/baselines | ||
setenv ICE_MACHINE_SUBMIT "qsub" | ||
setenv ICE_MACHINE_TPNODE 40 | ||
setenv ICE_MACHINE_MAXRUNLENGTH 3 | ||
setenv ICE_MACHINE_ACCT P0000000 | ||
setenv ICE_MACHINE_QUEUE "development" | ||
setenv ICE_MACHINE_BLDTHRDS 18 | ||
setenv ICE_MACHINE_QSTAT "qstat " |
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,32 @@ | ||
#!/bin/csh -f | ||
|
||
set inp = "undefined" | ||
if ($#argv == 1) then | ||
set inp = $1 | ||
endif | ||
|
||
if ("$inp" != "-nomodules") then | ||
|
||
source /opt/modules/default/init/csh # Initialize modules for csh | ||
module load PrgEnv-intel # Intel compiler | ||
module load cray-netcdf # NetCDF | ||
module load cray-hdf5 # HDF5 | ||
setenv HDF5_USE_FILE_LOCKING FALSE # necessary since data is on an NFS filesystem | ||
|
||
endif | ||
|
||
setenv ICE_MACHINE_MACHNAME banting | ||
setenv ICE_MACHINE_MACHINFO "Cray XC50, Intel Xeon Gold 6148 (Skylake)" | ||
setenv ICE_MACHINE_ENVNAME intel | ||
setenv ICE_MACHINE_ENVINFO "Intel 19.0.3.199, cray-mpich/7.7.7, cray-netcdf/4.6.1.3" | ||
setenv ICE_MACHINE_MAKE make | ||
setenv ICE_MACHINE_WKDIR ~/data/banting/icepack/runs | ||
setenv ICE_MACHINE_INPUTDATA /home/ords/cmdd/cmde/sice500/ | ||
setenv ICE_MACHINE_BASELINE ~/data/banting/icepack/baselines | ||
setenv ICE_MACHINE_SUBMIT "qsub" | ||
setenv ICE_MACHINE_TPNODE 40 | ||
setenv ICE_MACHINE_MAXRUNLENGTH 3 | ||
setenv ICE_MACHINE_ACCT P0000000 | ||
setenv ICE_MACHINE_QUEUE "development" | ||
setenv ICE_MACHINE_BLDTHRDS 18 | ||
setenv ICE_MACHINE_QSTAT "qstat " |
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,35 @@ | ||
#!/bin/csh -f | ||
|
||
set inp = "undefined" | ||
if ($#argv == 1) then | ||
set inp = $1 | ||
endif | ||
|
||
if ("$inp" != "-nomodules") then | ||
|
||
source /opt/modules/default/init/csh # Initialize modules for csh | ||
# Clear environment | ||
module unload craype-x86-skylake | ||
module unload PrgEnv-intel | ||
|
||
module load PrgEnv-gnu # GNU compiler | ||
module load craype-x86-skylake # Reload | ||
module load cray-netcdf # NetCDF | ||
module load cray-hdf5 # HDF5 | ||
setenv HDF5_USE_FILE_LOCKING FALSE # necessary since data is on an NFS filesystem | ||
|
||
endif | ||
|
||
setenv ICE_MACHINE_MACHNAME daley | ||
setenv ICE_MACHINE_ENVNAME gnu | ||
setenv ICE_MACHINE_MAKE make | ||
setenv ICE_MACHINE_WKDIR ~/data/daley/icepack/runs | ||
setenv ICE_MACHINE_INPUTDATA /home/ords/cmdd/cmde/sice500/ | ||
setenv ICE_MACHINE_BASELINE ~/data/daley/icepack/baselines | ||
setenv ICE_MACHINE_SUBMIT "qsub" | ||
setenv ICE_MACHINE_TPNODE 40 | ||
setenv ICE_MACHINE_MAXRUNLENGTH 3 | ||
setenv ICE_MACHINE_ACCT P0000000 | ||
setenv ICE_MACHINE_QUEUE "development" | ||
setenv ICE_MACHINE_BLDTHRDS 18 | ||
setenv ICE_MACHINE_QSTAT "qstat " |
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,32 @@ | ||
#!/bin/csh -f | ||
|
||
set inp = "undefined" | ||
if ($#argv == 1) then | ||
set inp = $1 | ||
endif | ||
|
||
if ("$inp" != "-nomodules") then | ||
|
||
source /opt/modules/default/init/csh # Initialize modules for csh | ||
module load PrgEnv-intel # Intel compiler | ||
module load cray-netcdf # NetCDF | ||
module load cray-hdf5 # HDF5 | ||
setenv HDF5_USE_FILE_LOCKING FALSE # necessary since data is on an NFS filesystem | ||
|
||
endif | ||
|
||
setenv ICE_MACHINE_MACHNAME daley | ||
setenv ICE_MACHINE_MACHINFO "Cray XC50, Intel Xeon Gold 6148 (Skylake)" | ||
setenv ICE_MACHINE_ENVNAME intel | ||
setenv ICE_MACHINE_ENVINFO "Intel 19.0.3.199, cray-mpich/7.7.6, cray-netcdf/4.6.1.3" | ||
setenv ICE_MACHINE_MAKE make | ||
setenv ICE_MACHINE_WKDIR ~/data/daley/icepack/runs | ||
setenv ICE_MACHINE_INPUTDATA /home/ords/cmdd/cmde/sice500/ | ||
setenv ICE_MACHINE_BASELINE ~/data/daley/icepack/baselines | ||
setenv ICE_MACHINE_SUBMIT "qsub" | ||
setenv ICE_MACHINE_TPNODE 40 | ||
setenv ICE_MACHINE_MAXRUNLENGTH 3 | ||
setenv ICE_MACHINE_ACCT P0000000 | ||
setenv ICE_MACHINE_QUEUE "development" | ||
setenv ICE_MACHINE_BLDTHRDS 18 | ||
setenv ICE_MACHINE_QSTAT "qstat " |