Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NCAR izumi #270

Merged
merged 1 commit into from
Aug 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions configuration/scripts/icepack.batch.csh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ cat >> ${jobfile} << EOFB
#PBS -l nodes=1:ppn=24
EOFB

else if (${ICE_MACHINE} =~ izumi*) then
cat >> ${jobfile} << EOFB
#PBS -j oe
###PBS -m ae
#PBS -V
#PBS -q short
#PBS -N ${ICE_CASENAME}
#PBS -l nodes=1:ppn=48
EOFB

else if (${ICE_MACHINE} =~ thunder* || ${ICE_MACHINE} =~ gordon* || ${ICE_MACHINE} =~ conrad* || ${ICE_MACHINE} =~ gaffney* || ${ICE_MACHINE} =~ koehr*) then
cat >> ${jobfile} << EOFB
#PBS -N ${shortcase}
Expand Down
26 changes: 26 additions & 0 deletions configuration/scripts/machines/Macros.izumi_intel
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#==============================================================================
# Makefile macros for NCAR cheyenne, intel compiler
#==============================================================================

CPP := fpp
CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS}
CFLAGS := -qno-opt-dynamic-align -fp-model precise -std=gnu99

FIXEDFLAGS := -fixed -132
FREEFLAGS := -free
FFLAGS := -qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source -lifcore
FFLAGS_NOOPT:= -O0
FC_AUTO_R8 := -r8

ifeq ($(ICE_BLDDEBUG), true)
FFLAGS += -O0 -g -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created
else
FFLAGS += -O2 -debug minimal
endif

SCC := icc
SFC := ifort
CC := $(SCC)
FC := $(SFC)
LD := $(FC)

29 changes: 29 additions & 0 deletions configuration/scripts/machines/Macros.izumi_nag
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#==============================================================================
# Makefile macros for NCAR cheyenne, nag compiler
#==============================================================================

CPP := /usr/bin/cpp
CPPFLAGS := -P -traditional
CPPDEFS := -DFORTRANUNDERSCORE -DNO_CRAY_POINTERS -DNO_SHR_VMATH -DCPRNAG ${ICE_CPPDEFS}
CFLAGS := -std=gnu99

FIXEDFLAGS := -fixed
FREEFLAGS := -free
FFLAGS := -Wp,-macro=no_com -convert=BIG_ENDIAN
FFLAGS_NOOPT:= -Wp,-macro=no_com -convert=BIG_ENDIAN
FC_AUTO_R8 := -r8

ifeq ($(ICE_BLDDEBUG), true)
FFLAGS += -C=all -g -gline -time -f2003 -ieee=stop
else
FFLAGS += -O2 -ieee=full
endif

SCC := cc
SFC := nagfor
CC := $(SCC)
FC := $(SFC)
LD := $(FC)

SLIBS := -L$(COMPILER_PATH)/lib/NAG_Fortran

2 changes: 1 addition & 1 deletion configuration/scripts/machines/env.hobart_intel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source /usr/share/Modules/init/csh
module load compiler/intel/18.0.3

setenv ICE_MACHINE_ENVNAME hobart
setenv ICE_MACHINE_COMPILER nag
setenv ICE_MACHINE_COMPILER intel
setenv ICE_MACHINE_MAKE gmake
setenv ICE_MACHINE_WKDIR /scratch/cluster/$user/ICEPACK_RUNS
setenv ICE_MACHINE_INPUTDATA /fs/cgd/csm/inputdata
Expand Down
17 changes: 17 additions & 0 deletions configuration/scripts/machines/env.izumi_intel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/csh -f

source /usr/share/Modules/init/csh

module load compiler/intel/19.0.1

setenv ICE_MACHINE_ENVNAME izumi
setenv ICE_MACHINE_COMPILER intel
setenv ICE_MACHINE_MAKE gmake
setenv ICE_MACHINE_WKDIR /scratch/cluster/$user/ICEPACK_RUNS
setenv ICE_MACHINE_INPUTDATA /fs/cgd/csm/inputdata
setenv ICE_MACHINE_BASELINE /scratch/cluster/$user/ICEPACK_BASELINE
setenv ICE_MACHINE_SUBMIT "qsub"
setenv ICE_MACHINE_ACCT P00000000
setenv ICE_MACHINE_QUEUE "debug"
setenv ICE_MACHINE_TPNODE 24
setenv ICE_MACHINE_BLDTHRDS 1
19 changes: 19 additions & 0 deletions configuration/scripts/machines/env.izumi_nag
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/csh -f

source /usr/share/Modules/init/csh

module purge
module load compiler/nag/6.2

setenv ICE_MACHINE_ENVNAME izumi
setenv ICE_MACHINE_COMPILER nag
setenv ICE_MACHINE_MAKE gmake
setenv ICE_MACHINE_WKDIR /scratch/cluster/$user/ICEPACK_RUNS
setenv ICE_MACHINE_INPUTDATA /fs/cgd/csm/inputdata
setenv ICE_MACHINE_BASELINE /scratch/cluster/$user/ICEPACK_BASELINE
setenv ICE_MACHINE_SUBMIT "qsub"
setenv ICE_MACHINE_QSTAT "qstat "
setenv ICE_MACHINE_QUEUE "debug"
setenv ICE_MACHINE_ACCT P00000000
setenv ICE_MACHINE_TPNODE 24
setenv ICE_MACHINE_BLDTHRDS 1