Skip to content

Commit

Permalink
Update Derecho Port
Browse files Browse the repository at this point in the history
Switch from main to develop queue to leverage shared queue for
lower cost and quicker turnaround.
  • Loading branch information
apcraig committed Sep 26, 2024
1 parent 63887f3 commit ebc633e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion configuration/scripts/cice.batch.csh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,17 @@ cat >> ${jobfile} << EOFB
EOFB

else if (${ICE_MACHINE} =~ derecho*) then
set memstr = ""
if (${ncores} <= 8 && ${runlength} <= 1 && ${batchmem} <= 20) then
set queue = "develop"
set memstr = ":mem=${batchmem}GB"
endif
cat >> ${jobfile} << EOFB
#PBS -q ${queue}
#PBS -l job_priority=regular
#PBS -N ${ICE_CASENAME}
#PBS -A ${acct}
#PBS -l select=${nnodes}:ncpus=${corespernode}:mpiprocs=${taskpernodelimit}:ompthreads=${nthrds}
#PBS -l select=${nnodes}:ncpus=${corespernode}:mpiprocs=${taskpernodelimit}:ompthreads=${nthrds}${memstr}
#PBS -l walltime=${batchtime}
#PBS -j oe
#PBS -W umask=022
Expand Down
2 changes: 1 addition & 1 deletion configuration/scripts/machines/Macros.derecho_intelclassic
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#==============================================================================
# Makefile macros for NCAR derecho, intel compiler
# Makefile macros for NCAR derecho, intelclassic compiler
#==============================================================================

CPP := fpp
Expand Down
2 changes: 1 addition & 1 deletion configuration/scripts/machines/Macros.derecho_inteloneapi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#==============================================================================
# Makefile macros for NCAR derecho, intel compiler
# Makefile macros for NCAR derecho, inteloneapi compiler
#==============================================================================

CPP := fpp
Expand Down
2 changes: 1 addition & 1 deletion configuration/scripts/machines/env.derecho_cray
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module load netcdf/4.9.2
#module load hdf5/1.12.2
#module load netcdf-mpi/4.9.2

module load cray-libsci/23.02.1.1
module load cray-libsci/23.09.1.1

if ($?ICE_IOTYPE) then
if ($ICE_IOTYPE =~ pio*) then
Expand Down
4 changes: 2 additions & 2 deletions configuration/scripts/machines/env.derecho_nvhpc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module load netcdf/4.9.2
#module load hdf5/1.12.2
#module load netcdf-mpi/4.9.2

module load cray-libsci/23.02.1.1
module load cray-libsci/23.09.1.1

if ($?ICE_IOTYPE) then
if ($ICE_IOTYPE =~ pio*) then
Expand Down Expand Up @@ -61,7 +61,7 @@ setenv OMP_STACKSIZE 64M
setenv ICE_MACHINE_MACHNAME derecho
setenv ICE_MACHINE_MACHINFO "HPE Cray EX Milan Slingshot 11"
setenv ICE_MACHINE_ENVNAME nvhpc
setenv ICE_MACHINE_ENVINFO "nvc 23.5-0, cray-mpich 8.1.25, netcdf4.9.2, pnetcdf1.12.3, pio1.10.1, pio2.6.0"
setenv ICE_MACHINE_ENVINFO "nvfortran 23.7-0, cray-mpich 8.1.25, netcdf4.9.2, pnetcdf1.12.3, pio1.10.1, pio2.6.0"
setenv ICE_MACHINE_MAKE gmake
setenv ICE_MACHINE_WKDIR /glade/derecho/scratch/$user/CICE_RUNS
setenv ICE_MACHINE_INPUTDATA /glade/campaign/cesm/development/pcwg
Expand Down
1 change: 1 addition & 0 deletions configuration/scripts/options/set_env.gx1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
setenv ICE_MEMUSE 5

0 comments on commit ebc633e

Please sign in to comment.