Skip to content

Commit 06440f8

Browse files
authored
Merge pull request #684 from GEOS-ESM/develop
2 parents 61c8e4d + 6f3e5af commit 06440f8

File tree

11 files changed

+237
-121
lines changed

11 files changed

+237
-121
lines changed

.github/workflows/push-to-develop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repo
14-
uses: actions/checkout@v3.3.0
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
17+
filter: blob:none
1718
- name: Run the action
1819
uses: devops-infra/action-pull-request@v0.5.5
1920
with:

.github/workflows/validate_yaml_files.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
validate-YAML:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3.3.0
18+
- name: Checkout repo
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
filter: blob:none
1923
- id: yaml-lint
2024
name: yaml-lint
2125
uses: ibiqlik/action-yamllint@v3
@@ -24,7 +28,7 @@ jobs:
2428
format: colored
2529
config_file: .yamllint.yml
2630

27-
- uses: actions/upload-artifact@v3
31+
- uses: actions/upload-artifact@v4
2832
if: always()
2933
with:
3034
name: yamllint-logfile

HISTORY_FP.rc.03z.tmpl

Lines changed: 42 additions & 28 deletions
Large diffs are not rendered by default.

HISTORY_FP.rc.09z.tmpl

Lines changed: 44 additions & 30 deletions
Large diffs are not rendered by default.

HISTORY_FP.rc.15z.tmpl

Lines changed: 42 additions & 28 deletions
Large diffs are not rendered by default.

HISTORY_FP.rc.21z.tmpl

Lines changed: 42 additions & 28 deletions
Large diffs are not rendered by default.

gcm_setup

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,28 @@ if ( $SITE == 'NCCS' ) then
420420
if ("$BUILT_ON_SLES15" == "TRUE") then
421421
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
422422
echo " ${C2}mil (Milan)${CN} (default)"
423+
echo " ${C2}cas (Cascade Lake)${CN}"
423424
echo " "
424425
set MODEL = `echo $<`
425426
set MODEL = `echo $MODEL | tr "[:upper:]" "[:lower:]"`
426427
if ( .$MODEL == .) then
427428
set MODEL = 'mil'
428429
endif
429430

430-
if( $MODEL != 'mil' ) goto ASKPROC
431+
if( $MODEL != 'mil' & \
432+
$MODEL != 'cas' ) goto ASKPROC
431433

432434
if ($MODEL == 'mil') then
433435
# We save a couple processes for the kernel
434436
set NCPUS_PER_NODE = 126
437+
else if ($MODEL == 'cas') then
438+
# NCCS currently recommends that users do not run with
439+
# 48 cores per node on SCU16 due to OS issues and
440+
# recommends that CPU-intensive works run with 46 or less
441+
# cores. As 45 is a multiple of 3, it's the best value
442+
# that doesn't waste too much
443+
#set NCPUS_PER_NODE = 48
444+
set NCPUS_PER_NODE = 45
435445
endif
436446
else
437447
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
@@ -2279,6 +2289,9 @@ if ( $SITE == 'NCCS' ) then
22792289

22802290
if ("$BUILT_ON_SLES15" == "TRUE") then
22812291
cat >> $HOMDIR/SETENV.commands << EOF
2292+
setenv I_MPI_ADJUST_ALLREDUCE 12
2293+
setenv I_MPI_ADJUST_GATHERV 3
2294+
22822295
setenv I_MPI_FABRICS shm:ofi
22832296
setenv I_MPI_OFI_PROVIDER psm3
22842297
EOF

geoschemchem_setup

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,28 @@ if ( $SITE == 'NCCS' ) then
420420
if ("$BUILT_ON_SLES15" == "TRUE") then
421421
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
422422
echo " ${C2}mil (Milan)${CN} (default)"
423+
echo " ${C2}cas (Cascade Lake)${CN}"
423424
echo " "
424425
set MODEL = `echo $<`
425426
set MODEL = `echo $MODEL | tr "[:upper:]" "[:lower:]"`
426427
if ( .$MODEL == .) then
427428
set MODEL = 'mil'
428429
endif
429430

430-
if( $MODEL != 'mil' ) goto ASKPROC
431+
if( $MODEL != 'mil' & \
432+
$MODEL != 'cas' ) goto ASKPROC
431433

432434
if ($MODEL == 'mil') then
433435
# We save a couple processes for the kernel
434436
set NCPUS_PER_NODE = 126
437+
else if ($MODEL == 'cas') then
438+
# NCCS currently recommends that users do not run with
439+
# 48 cores per node on SCU16 due to OS issues and
440+
# recommends that CPU-intensive works run with 46 or less
441+
# cores. As 45 is a multiple of 3, it's the best value
442+
# that doesn't waste too much
443+
#set NCPUS_PER_NODE = 48
444+
set NCPUS_PER_NODE = 45
435445
endif
436446
else
437447
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
@@ -2309,6 +2319,9 @@ if ( $SITE == 'NCCS' ) then
23092319

23102320
if ("$BUILT_ON_SLES15" == "TRUE") then
23112321
cat >> $HOMDIR/SETENV.commands << EOF
2322+
setenv I_MPI_ADJUST_ALLREDUCE 12
2323+
setenv I_MPI_ADJUST_GATHERV 3
2324+
23122325
setenv I_MPI_FABRICS shm:ofi
23132326
setenv I_MPI_OFI_PROVIDER psm3
23142327
EOF

gmichem_setup

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,18 +420,28 @@ if ( $SITE == 'NCCS' ) then
420420
if ("$BUILT_ON_SLES15" == "TRUE") then
421421
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
422422
echo " ${C2}mil (Milan)${CN} (default)"
423+
echo " ${C2}cas (Cascade Lake)${CN}"
423424
echo " "
424425
set MODEL = `echo $<`
425426
set MODEL = `echo $MODEL | tr "[:upper:]" "[:lower:]"`
426427
if ( .$MODEL == .) then
427428
set MODEL = 'mil'
428429
endif
429430

430-
if( $MODEL != 'mil' ) goto ASKPROC
431+
if( $MODEL != 'mil' & \
432+
$MODEL != 'cas' ) goto ASKPROC
431433

432434
if ($MODEL == 'mil') then
433435
# We save a couple processes for the kernel
434436
set NCPUS_PER_NODE = 126
437+
else if ($MODEL == 'cas') then
438+
# NCCS currently recommends that users do not run with
439+
# 48 cores per node on SCU16 due to OS issues and
440+
# recommends that CPU-intensive works run with 46 or less
441+
# cores. As 45 is a multiple of 3, it's the best value
442+
# that doesn't waste too much
443+
#set NCPUS_PER_NODE = 48
444+
set NCPUS_PER_NODE = 45
435445
endif
436446
else
437447
echo "Enter the ${C1}Processor Type${CN} you wish to run on:"
@@ -2481,6 +2491,9 @@ if ( $SITE == 'NCCS' ) then
24812491

24822492
if ("$BUILT_ON_SLES15" == "TRUE") then
24832493
cat >> $HOMDIR/SETENV.commands << EOF
2494+
setenv I_MPI_ADJUST_ALLREDUCE 12
2495+
setenv I_MPI_ADJUST_GATHERV 3
2496+
24842497
setenv I_MPI_FABRICS shm:ofi
24852498
setenv I_MPI_OFI_PROVIDER psm3
24862499
EOF

scm_setup

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@ cat $expdir/WSUB_ExtData.tmp | sed '/collection:/ s#WSUB_SWclim.*#/dev/null#' >
458458
/bin/cp $SOURCEDIR/sedfile.CASE $expdir
459459
/bin/cp $SOURCEDIR/AGCM.CASE.txt $expdir
460460

461+
# These are the weights files
462+
/bin/cp $SOURCEDIR/rh_* $expdir
463+
461464
# MAT These sed commands have to be done in the experiment directory.
462465
# This should probably be fixed at some point
463466

0 commit comments

Comments
 (0)