forked from CICE-Consortium/CICE
-
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.
Added boxnodyn tests to gridsys_suite.ts. Also added machinery to sub… (
#40) * Added boxnodyn tests to gridsys_suite.ts. Also added machinery to submit batch jobs on local NRLSSC grid system * Change NRLSSC to lowercase nrlssc
- Loading branch information
Showing
5 changed files
with
106 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,59 @@ | ||
#============================================================================== | ||
# Makefile macros for NRLSSC GCC and openmpi compilers | ||
#============================================================================== | ||
|
||
# specific Netcdf and MPI paths, since we use /common instead of /usr | ||
|
||
#MPIHOME := /common/openmpi/gnu10.1.0/3.1.6 | ||
#CDFHOME := /common/netcdf/gnu10.1.0/openmpi3.1.6/4.7.4 | ||
|
||
# use MY defined vars from .setenv_linux | ||
MPIHOME := ${MPI_HOME} | ||
CDFHOME := ${NETCDF_HOME} | ||
|
||
CPP := cpp | ||
CPPDEFS := -DFORTRANUNDERSCORE -DNO_R16 -DHAVE_F2008_CONTIGUOUS -DLINUX -DCPRINTEL ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 | ||
|
||
FIXEDFLAGS := -ffixed-line-length-132 | ||
FREEFLAGS := -ffree-form | ||
FFLAGS := -fconvert=big-endian -fbacktrace -ffree-line-length-none | ||
FFLAGS_NOOPT := -O0 | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -fcheck=bounds -finit-real=nan -fimplicit-none -ffpe-trap=invalid,zero,overflow | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
FC := $(MPIHOME)/bin/mpif90 | ||
|
||
CC:= $(MPIHOME)/bin/mpicc | ||
|
||
MPICC:= $(MPIHOME)/bin/mpicc | ||
|
||
MPIFC:= $(MPIHOME)/bin/mpif90 | ||
LD:= $(FC) | ||
|
||
NETCDF_PATH := $(CDFHOME) | ||
|
||
ifeq ($(ICE_IOTYPE), netcdf) | ||
# NETCDF_PATH := $(shell nc-config --prefix) | ||
INCLDIR := $(INCLDIR) -I$(NETCDF_PATH)/include | ||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
LIB_PNETCDF := | ||
LD := $(LD) -Wl,-rpath,$(LIB_NETCDF) | ||
SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff | ||
else | ||
SLIBS := | ||
endif | ||
|
||
LIB_MPI := | ||
SCC:= gcc | ||
SFC:= gfortran | ||
|
||
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,16 @@ | ||
#!/bin/csh -f | ||
|
||
setenv ICE_MACHINE_MACHNAME NRLSSC | ||
setenv ICE_MACHINE_MACHINFO "NRLSSC" | ||
setenv ICE_MACHINE_ENVNAME gnu | ||
setenv ICE_MACHINE_ENVINFO "gnu" | ||
setenv ICE_MACHINE_MAKE gmake | ||
setenv ICE_MACHINE_WKDIR /u/data/hebert/CICE_RUNS | ||
setenv ICE_MACHINE_INPUTDATA /u/data/hebert/CICE_RUNS | ||
setenv ICE_MACHINE_BASELINE /u/data/hebert/CICE_BASELINE | ||
setenv ICE_MACHINE_SUBMIT "qsub " | ||
setenv ICE_MACHINE_ACCT P00000000 | ||
setenv ICE_MACHINE_QUEUE "standard" | ||
setenv ICE_MACHINE_TPNODE 20 # tasks per node | ||
setenv ICE_MACHINE_BLDTHRDS 1 | ||
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