Skip to content

Commit 42bfcd9

Browse files
committed
Update RCS test pe-counts
Move pe-counts to machine-specific shell_commands
1 parent ea18a13 commit 42bfcd9

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

cime_config/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -795,8 +795,8 @@
795795
"inherit" : (
796796
),
797797
"tests" : (
798-
"RCS_P8_C4.ne30pg2_ne30pg2.F2010-SCREAMv1.eamxx-perturb", # 8 nodes, about 1.9 hours on pm-gpu
799-
"RCS_P1_C4.ne4pg2_ne4pg2.F2010-SCREAMv1.eamxx-perturb", # 1 node, about 22min on pm-gpu
798+
"RCS_C4.ne30pg2_ne30pg2.F2010-SCREAMv1.eamxx-perturb", # 8 nodes, about 1.9 hours on pm-gpu
799+
"RCS_C4.ne4pg2_ne4pg2.F2010-SCREAMv1.eamxx-perturb", # 1 node, about 22min on pm-gpu
800800
"ERP_D_Lh182.ne4pg2_ne4pg2.F2010-SCREAMv1",
801801
"ERS_Ln362.ne30pg2_ne30pg2.F2010-SCREAMv1"
802802
)

components/eamxx/cime_config/testdefs/testmods_dirs/eamxx/perturb/shell_commands

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ if [[ $machine == "frontier" ]]; then
1313
export http_proxy=http://proxy.ccs.ornl.gov:3128/
1414
export https_proxy=http://proxy.ccs.ornl.gov:3128/
1515
export no_proxy='localhost,127.0.0.0/8,*.ccs.ornl.gov'
16+
elif [[ $machine == "pm-gpu" ]]; then
17+
if [[ `./xmlquery --value GRID` == "a%ne4"* ]]; then
18+
./xmlchange NTASKS=1 # 1 task per instance for ne4
19+
elif [[ `./xmlquery --value GRID` == "a%ne30"* ]]; then
20+
./xmlchange NTASKS=8 # 8 tasks per instance for ne30
21+
fi
22+
elif [[ $machine == "aurora" ]]; then
23+
if [[ `./xmlquery --value GRID` == "a%ne30"* ]]; then
24+
./xmlchange NTASKS=-4 # 4 nodes per instance for ne30, ne4 defaults to 1 node
25+
fi
26+
./xmlchange JOB_QUEUE=prod
27+
./xmlchange JOB_WALLCLOCK_TIME=02:00:00 # need 1-yr
1628
fi
1729

1830
# Change run start

0 commit comments

Comments
 (0)