-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize revp stresses to previous time step (#331)
* Initialize revp stresses to previous time step * Add machine files for brooks * Modify the documentation about stress initialization in revised evp
- Loading branch information
Showing
6 changed files
with
127 additions
and
17 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
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,78 @@ | ||
#============================================================================== | ||
# Makefile macros for ECCC brooks | ||
#============================================================================== | ||
# For use with intel compiler | ||
#============================================================================== | ||
|
||
CPP := fpp | ||
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
CFLAGS := -c -O2 -fp-model precise | ||
#-xHost | ||
|
||
FIXEDFLAGS := -132 | ||
FREEFLAGS := -FR | ||
FFLAGS := -fp-model source -convert big_endian -assume byterecl -ftz -traceback -diag-disable 5140 | ||
#-xHost | ||
FFLAGS_NOOPT:= -O0 | ||
|
||
ifeq ($(ICE_BLDDEBUG), true) | ||
FFLAGS += -O0 -g -check -fpe0 -ftrapuv -fp-model except -check noarg_temp_created | ||
# -heap-arrays 1024 | ||
else | ||
FFLAGS += -O2 | ||
endif | ||
|
||
SCC := cc | ||
SFC := ftn | ||
MPICC := cc | ||
MPIFC := ftn | ||
|
||
ifeq ($(ICE_COMMDIR), mpi) | ||
FC := $(MPIFC) | ||
CC := $(MPICC) | ||
else | ||
FC := $(SFC) | ||
CC := $(SCC) | ||
endif | ||
LD:= $(FC) | ||
|
||
#NETCDF_PATH := /fs/ssm/hpco/tmp/eccc/201402/04/intel-2016.1.150/ubuntu-14.04-amd64-64/ | ||
|
||
PIO_CONFIG_OPTS:= --enable-filesystem-hints=gpfs | ||
|
||
#PNETCDF_PATH := $(PNETCDF) | ||
#PNETCDF_PATH := /glade/u/apps/ch/opt/pio/2.2/mpt/2.15f/intel/17.0.1/lib | ||
|
||
INCLDIR := $(INCLDIR) | ||
|
||
LIB_NETCDF := $(NETCDF_PATH)/lib | ||
LIB_PNETCDF := $(PNETCDF_PATH)/lib | ||
LIB_MPI := $(IMPILIBDIR) | ||
|
||
#SLIBS := -L$(LIB_NETCDF) -lnetcdff -lnetcdf -L$(LIB_PNETCDF) -lpnetcdf -lgptl | ||
#SLIBS := -L$(LIB_NETCDF) -lnetcdff -lnetcdf | ||
|
||
ifeq ($(ICE_IOTYPE), netcdf) | ||
INCLDIR += $(shell nf-config --fflags) | ||
SLIBS := $(shell nf-config --flibs) | ||
endif | ||
|
||
|
||
ifeq ($(ICE_THREADED), true) | ||
LDFLAGS += -qopenmp | ||
CFLAGS += -qopenmp | ||
FFLAGS += -qopenmp | ||
endif | ||
|
||
### if using parallel I/O, load all 3 libraries. PIO must be first! | ||
ifeq ($(IO_TYPE), pio) | ||
PIO_PATH:=/glade/u/apps/ch/opt/pio/2.2/mpt/2.15f/intel/17.0.1/lib | ||
INCLDIR += -I/glade/u/apps/ch/opt/pio/2.2/mpt/2.15f/intel/17.0.1/include | ||
SLIBS := $(SLIBS) -L$(PIO_PATH) -lpiof | ||
|
||
CPPDEFS := $(CPPDEFS) -Dncdf | ||
endif | ||
|
||
ifeq ($(IO_TYPE), netcdf) | ||
CPPDEFS := $(CPPDEFS) -Dncdf | ||
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,25 @@ | ||
#!/bin/csh -f | ||
|
||
source /opt/modules/default/init/csh | ||
module load PrgEnv-intel # Intel compiler | ||
module load cray-mpich # MPI (Cray MPICH) | ||
module load cray-netcdf # NetCDF | ||
module load cray-hdf5 # HDF5 | ||
|
||
setenv ICE_MACHINE_ENVNAME brooks | ||
setenv ICE_MACHINE_COMPILER intel | ||
setenv ICE_MACHINE_MAKE make | ||
setenv ICE_MACHINE_WKDIR ~/data/brooks/cice/runs | ||
setenv ICE_MACHINE_INPUTDATA /home/ords/cmdd/cmde/phb001/ | ||
setenv ICE_MACHINE_BASELINE ~/data/brooks/cice/baselines | ||
setenv ICE_MACHINE_SUBMIT "qsub" | ||
setenv ICE_MACHINE_TPNODE 36 | ||
setenv ICE_MACHINE_ACCT P0000000 | ||
setenv ICE_MACHINE_QUEUE "development" | ||
setenv ICE_MACHINE_BLDTHRDS 4 | ||
setenv ICE_MACHINE_QSTAT "qstat " | ||
|
||
if (-e ~/.cice_proj) then | ||
set account_name = `head -1 ~/.cice_proj` | ||
setenv CICE_ACCT ${account_name} | ||
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