Skip to content

Commit ec40709

Browse files
committed
Add run scripts for SCREAMv1 Four Seasons simulations.
1 parent d38115b commit ec40709

File tree

4 files changed

+383
-0
lines changed

4 files changed

+383
-0
lines changed
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
#!/bin/sh -e
2+
#==============================================#
3+
# Date: 2022-12-19
4+
#
5+
# Description:
6+
#
7+
# Submission script used for a 40-day ne1024pg2
8+
# simulation with the DYAMOND2 configuration.
9+
#
10+
#==============================================#
11+
12+
## Location of eamxx codebase
13+
eamxx_src=~/Code/scream
14+
## Location of eamxx output control files
15+
eamxx_out_files_root=~/Code/scream-docs
16+
## Location of elm namelist file to use
17+
elm_nl_file=$eamxx_out_files_root/v1_output/user_nl_elm_basic
18+
19+
## Some provenance information
20+
githash_eamxx=`git --git-dir $eamxx_src/.git rev-parse HEAD`
21+
masterhash_eamxx=`git --git-dir $eamxx_src/.git log -n 1 --pretty=format:"%H" origin/master`
22+
githash_screamdocs=`git --git-dir $eamxx_out_files_root/.git rev-parse HEAD`
23+
masterhash_screamdocs=`git --git-dir $eamxx_out_files_root/.git log -n 1 --pretty=format:"%H" origin/master`
24+
25+
## Job size information
26+
nnode=1024
27+
pernode=6
28+
ntask=$(($pernode * $nnode))
29+
30+
## Compset and jobname information
31+
name=4Seasons_April
32+
compset=F2010-SCREAMv1
33+
res=ne1024pg2_ne1024pg2
34+
cname=$name.$res.$compset.$githash_eamxx
35+
36+
## Job submission and compiler information
37+
queue=batch
38+
compiler=gnugpu
39+
machine=summit
40+
41+
## Create new-case
42+
rm -rf $cname
43+
$eamxx_src/cime/scripts/create_newcase --case ${cname} --compset ${compset} --res ${res} \
44+
-mach ${machine} --compiler ${compiler} --handle-preexisting-dirs u
45+
46+
## Run settings
47+
cd $cname
48+
echo "master hash for EAMxx: $masterhash_eamxx" > GIT_INFO.txt
49+
echo "master hash for output files: $masterhash_screamdocs" >> GIT_INFO.txt
50+
./xmlchange JOB_QUEUE=$queue
51+
./xmlchange JOB_WALLCLOCK_TIME=2:00:00
52+
./xmlchange STOP_OPTION=nhours
53+
./xmlchange STOP_N=48
54+
./xmlchange HIST_N=99999; ./xmlchange HIST_OPTION=nyears ;
55+
./xmlchange REST_N=48; ./xmlchange REST_OPTION=nhours ;
56+
./xmlchange AVGHIST_OPTION=nyears
57+
./xmlchange AVGHIST_N=1
58+
# Using threads for LAND
59+
./xmlchange NTASKS=$ntask
60+
./xmlchange MAX_TASKS_PER_NODE=84
61+
./xmlchange MAX_MPITASKS_PER_NODE=6
62+
./xmlchange LND_NTHRDS=14
63+
# Note, MPI on host
64+
./xmlchange SCREAM_CMAKE_OPTIONS="SCREAM_NUM_VERTICAL_LEV 128 SCREAM_NUM_TRACERS 10 HOMMEXX_MPI_ON_DEVICE Off"
65+
./xmlchange PIO_NETCDF_FORMAT="64bit_data"
66+
./xmlchange RESUBMIT=2
67+
./xmlchange RUN_STARTDATE="2013-04-01"
68+
69+
## Setup case
70+
./case.setup
71+
72+
## EAMxx settings
73+
./atmchange Scorpio::output_yaml_files=\
74+
${eamxx_out_files_root}/v1_output/scream_output.Cldfrac.yaml,\
75+
${eamxx_out_files_root}/v1_output/scream_output.QcQi.yaml,\
76+
${eamxx_out_files_root}/v1_output/scream_output.QvT.yaml,\
77+
${eamxx_out_files_root}/v1_output/scream_output.TOMVars.yaml,\
78+
${eamxx_out_files_root}/v1_output/scream_output.VertIntegrals.yaml,\
79+
${eamxx_out_files_root}/v1_output/scream_output.HorizWinds.yaml,\
80+
${eamxx_out_files_root}/v1_output/scream_output.QrPsPsl.yaml,\
81+
${eamxx_out_files_root}/v1_output/scream_output.SurfVars_128lev.yaml,\
82+
${eamxx_out_files_root}/v1_output/scream_output.TkeOmega.yaml,\
83+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_min.yaml,\
84+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_max.yaml,\
85+
${eamxx_out_files_root}/v1_output/scream_output.Qv_2m.yaml,\
86+
${eamxx_out_files_root}/v1_output/scream_output.PresLevs.yaml
87+
88+
./atmchange statefreq=5184 # 2/day
89+
./atmchange orbital_year=-9999
90+
./atmchange initial_conditions::Filename=/gpfs/alpine/cli115/world-shared/e3sm_olcf/inputdata/atm/scream/init/screami_ne1024np4L128_era5-20130401-topoadj16x_20221123.nc
91+
92+
## ELM settings
93+
cp ${elm_nl_file} user_nl_elm
94+
95+
## Build and submit
96+
./case.build
97+
./case.submit
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
#!/bin/sh -e
2+
#==============================================#
3+
# Date: 2022-12-19
4+
#
5+
# Description:
6+
#
7+
# Submission script used for a 40-day ne1024pg2
8+
# simulation with the DYAMOND2 configuration.
9+
#
10+
#==============================================#
11+
12+
## Location of eamxx codebase
13+
eamxx_src=~/Code/scream
14+
## Location of eamxx output control files
15+
eamxx_out_files_root=~/Code/scream-docs
16+
## Location of elm namelist file to use
17+
elm_nl_file=$eamxx_out_files_root/v1_output/user_nl_elm_20221013
18+
19+
## Some provenance information
20+
githash_eamxx=`git --git-dir $eamxx_src/.git rev-parse HEAD`
21+
masterhash_eamxx=`git --git-dir $eamxx_src/.git log -n 1 --pretty=format:"%H" origin/master`
22+
githash_screamdocs=`git --git-dir $eamxx_out_files_root/.git rev-parse HEAD`
23+
masterhash_screamdocs=`git --git-dir $eamxx_out_files_root/.git log -n 1 --pretty=format:"%H" origin/master`
24+
25+
## Job size information
26+
nnode=1024
27+
pernode=6
28+
ntask=$(($pernode * $nnode))
29+
30+
## Compset and jobname information
31+
name=4Seasons_October
32+
compset=F2010-SCREAMv1
33+
res=ne1024pg2_ne1024pg2
34+
cname=$name.$res.$compset.$githash_eamxx
35+
36+
## Job submission and compiler information
37+
queue=batch
38+
compiler=gnugpu
39+
machine=summit
40+
41+
## Create new-case
42+
rm -rf $cname
43+
$eamxx_src/cime/scripts/create_newcase --case ${cname} --compset ${compset} --res ${res} \
44+
-mach ${machine} --compiler ${compiler} --handle-preexisting-dirs u
45+
46+
## Run settings
47+
cd $cname
48+
echo "master hash for EAMxx: $masterhash_eamxx" > GIT_INFO.txt
49+
echo "master hash for output files: $masterhash_screamdocs" >> GIT_INFO.txt
50+
./xmlchange JOB_QUEUE=$queue
51+
./xmlchange JOB_WALLCLOCK_TIME=2:00:00
52+
./xmlchange STOP_OPTION=nhours
53+
./xmlchange STOP_N=48
54+
./xmlchange HIST_N=99999; ./xmlchange HIST_OPTION=nyears ;
55+
./xmlchange REST_N=48; ./xmlchange REST_OPTION=nhours ;
56+
./xmlchange AVGHIST_OPTION=nyears
57+
./xmlchange AVGHIST_N=1
58+
# Using threads for LAND
59+
./xmlchange NTASKS=$ntask
60+
./xmlchange MAX_TASKS_PER_NODE=84
61+
./xmlchange MAX_MPITASKS_PER_NODE=6
62+
./xmlchange LND_NTHRDS=14
63+
# Note, MPI on host
64+
./xmlchange SCREAM_CMAKE_OPTIONS="SCREAM_NUM_VERTICAL_LEV 128 SCREAM_NUM_TRACERS 10 HOMMEXX_MPI_ON_DEVICE Off"
65+
./xmlchange PIO_NETCDF_FORMAT="64bit_data"
66+
./xmlchange RESUBMIT=2
67+
./xmlchange RUN_STARTDATE="2013-10-01"
68+
69+
## Setup case
70+
./case.setup
71+
72+
## EAMxx settings
73+
./atmchange Scorpio::output_yaml_files=\
74+
${eamxx_out_files_root}/v1_output/scream_output.Cldfrac.yaml,\
75+
${eamxx_out_files_root}/v1_output/scream_output.QcQi.yaml,\
76+
${eamxx_out_files_root}/v1_output/scream_output.QvT.yaml,\
77+
${eamxx_out_files_root}/v1_output/scream_output.TOMVars.yaml,\
78+
${eamxx_out_files_root}/v1_output/scream_output.VertIntegrals.yaml,\
79+
${eamxx_out_files_root}/v1_output/scream_output.HorizWinds.yaml,\
80+
${eamxx_out_files_root}/v1_output/scream_output.QrPsPsl.yaml,\
81+
${eamxx_out_files_root}/v1_output/scream_output.SurfVars_128lev.yaml,\
82+
${eamxx_out_files_root}/v1_output/scream_output.TkeOmega.yaml,\
83+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_min.yaml,\
84+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_max.yaml,\
85+
${eamxx_out_files_root}/v1_output/scream_output.Qv_2m.yaml,\
86+
${eamxx_out_files_root}/v1_output/scream_output.PresLevs.yaml
87+
88+
./atmchange statefreq=5184 # 2/day
89+
./atmchange orbital_year=-9999
90+
91+
## ELM settings
92+
cp ${elm_nl_file} user_nl_elm
93+
94+
## Build and submit
95+
./case.build
96+
./case.submit
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
USER_ENTRY#!/bin/sh -e
2+
#==============================================#
3+
# Date: 2022-12-19
4+
#
5+
# Description:
6+
#
7+
# Submission script used for a 40-day ne1024pg2
8+
# simulation with the DYAMOND2 configuration.
9+
#
10+
#==============================================#
11+
12+
## Location of eamxx codebase
13+
eamxx_src=~/Code/scream
14+
## Location of eamxx output control files
15+
eamxx_out_files_root=~/Code/scream-docs
16+
## Location of elm namelist file to use
17+
elm_nl_file=$eamxx_out_files_root/v1_output/user_nl_elm_20221031_DYAMOND1
18+
19+
## Some provenance information
20+
githash_eamxx=`git --git-dir $eamxx_src/.git rev-parse HEAD`
21+
masterhash_eamxx=`git --git-dir $eamxx_src/.git log -n 1 --pretty=format:"%H" origin/master`
22+
githash_screamdocs=`git --git-dir $eamxx_out_files_root/.git rev-parse HEAD`
23+
masterhash_screamdocs=`git --git-dir $eamxx_out_files_root/.git log -n 1 --pretty=format:"%H" origin/master`
24+
25+
## Job size information
26+
nnode=1024
27+
pernode=6
28+
ntask=$(($pernode * $nnode))
29+
30+
## Compset and jobname information
31+
name=4Seasons_DYAMOND1
32+
compset=F2010-SCREAMv1-DYAMOND1
33+
res=ne1024pg2_ne1024pg2
34+
cname=$name.$res.$compset.$githash_eamxx
35+
36+
## Job submission and compiler information
37+
queue=batch
38+
compiler=gnugpu
39+
machine=summit
40+
41+
## Create new-case
42+
rm -rf $cname
43+
$eamxx_src/cime/scripts/create_newcase --case ${cname} --compset ${compset} --res ${res} \
44+
-mach ${machine} --compiler ${compiler} --handle-preexisting-dirs u
45+
46+
## Run settings
47+
cd $cname
48+
echo "master hash for EAMxx: $masterhash_eamxx" > GIT_INFO.txt
49+
echo "master hash for output files: $masterhash_screamdocs" >> GIT_INFO.txt
50+
./xmlchange JOB_QUEUE=$queue
51+
./xmlchange JOB_WALLCLOCK_TIME=2:00:00
52+
./xmlchange STOP_OPTION=nhours
53+
./xmlchange STOP_N=48
54+
./xmlchange HIST_N=99999; ./xmlchange HIST_OPTION=nyears ;
55+
./xmlchange REST_N=48; ./xmlchange REST_OPTION=nhours ;
56+
./xmlchange AVGHIST_OPTION=nyears
57+
./xmlchange AVGHIST_N=1
58+
# Using threads for LAND
59+
./xmlchange NTASKS=$ntask
60+
./xmlchange MAX_TASKS_PER_NODE=84
61+
./xmlchange MAX_MPITASKS_PER_NODE=6
62+
./xmlchange LND_NTHRDS=14
63+
# Note, MPI on host
64+
./xmlchange SCREAM_CMAKE_OPTIONS="SCREAM_NUM_VERTICAL_LEV 128 SCREAM_NUM_TRACERS 10 HOMMEXX_MPI_ON_DEVICE Off"
65+
./xmlchange PIO_NETCDF_FORMAT="64bit_data"
66+
./xmlchange RESUBMIT=2
67+
68+
## Setup case
69+
./case.setup
70+
71+
## EAMxx settings
72+
./atmchange Scorpio::output_yaml_files=\
73+
${eamxx_out_files_root}/v1_output/scream_output.Cldfrac.yaml,\
74+
${eamxx_out_files_root}/v1_output/scream_output.QcQi.yaml,\
75+
${eamxx_out_files_root}/v1_output/scream_output.QvT.yaml,\
76+
${eamxx_out_files_root}/v1_output/scream_output.TOMVars.yaml,\
77+
${eamxx_out_files_root}/v1_output/scream_output.VertIntegrals.yaml,\
78+
${eamxx_out_files_root}/v1_output/scream_output.HorizWinds.yaml,\
79+
${eamxx_out_files_root}/v1_output/scream_output.QrPsPsl.yaml,\
80+
${eamxx_out_files_root}/v1_output/scream_output.SurfVars_128lev.yaml,\
81+
${eamxx_out_files_root}/v1_output/scream_output.TkeOmega.yaml,\
82+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_min.yaml,\
83+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_max.yaml,\
84+
${eamxx_out_files_root}/v1_output/scream_output.Qv_2m.yaml,\
85+
${eamxx_out_files_root}/v1_output/scream_output.PresLevs.yaml
86+
87+
./atmchange statefreq=5184 # 2/day
88+
./atmchange orbital_year=-9999
89+
90+
## ELM settings
91+
cp ${elm_nl_file} user_nl_elm
92+
93+
## Build and submit
94+
./case.build
95+
./case.submit
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
#!/bin/sh -e
2+
#==============================================#
3+
# Date: 2022-12-19
4+
#
5+
# Description:
6+
#
7+
# Submission script used for a 40-day ne1024pg2
8+
# simulation with the DYAMOND2 configuration.
9+
#
10+
#==============================================#
11+
12+
## Location of eamxx codebase
13+
eamxx_src=~/Code/scream
14+
## Location of eamxx output control files
15+
eamxx_out_files_root=~/Code/scream-docs
16+
## Location of elm namelist file to use
17+
elm_nl_file=$eamxx_out_files_root/v1_output/user_nl_elm_20221031_DYAMOND1
18+
19+
## Some provenance information
20+
githash_eamxx=`git --git-dir $eamxx_src/.git rev-parse HEAD`
21+
masterhash_eamxx=`git --git-dir $eamxx_src/.git log -n 1 --pretty=format:"%H" origin/master`
22+
githash_screamdocs=`git --git-dir $eamxx_out_files_root/.git rev-parse HEAD`
23+
masterhash_screamdocs=`git --git-dir $eamxx_out_files_root/.git log -n 1 --pretty=format:"%H" origin/master`
24+
25+
## Job size information
26+
nnode=1024
27+
pernode=6
28+
ntask=$(($pernode * $nnode))
29+
30+
## Compset and jobname information
31+
name=4Seasons_DYAMOND2
32+
compset=F2010-SCREAMv1-DYAMOND2
33+
res=ne1024pg2_ne1024pg2
34+
cname=$name.$res.$compset.$githash_eamxx
35+
36+
## Job submission and compiler information
37+
queue=batch
38+
compiler=gnugpu
39+
machine=summit
40+
41+
## Create new-case
42+
rm -rf $cname
43+
$eamxx_src/cime/scripts/create_newcase --case ${cname} --compset ${compset} --res ${res} \
44+
-mach ${machine} --compiler ${compiler} --handle-preexisting-dirs u
45+
46+
## Run settings
47+
cd $cname
48+
echo "master hash for EAMxx: $masterhash_eamxx" > GIT_INFO.txt
49+
echo "master hash for output files: $masterhash_screamdocs" >> GIT_INFO.txt
50+
./xmlchange JOB_QUEUE=$queue
51+
./xmlchange JOB_WALLCLOCK_TIME=2:00:00
52+
./xmlchange STOP_OPTION=nhours
53+
./xmlchange STOP_N=48
54+
./xmlchange HIST_N=99999; ./xmlchange HIST_OPTION=nyears ;
55+
./xmlchange REST_N=48; ./xmlchange REST_OPTION=nhours ;
56+
./xmlchange AVGHIST_OPTION=nyears
57+
./xmlchange AVGHIST_N=1
58+
# Using threads for LAND
59+
./xmlchange NTASKS=$ntask
60+
./xmlchange MAX_TASKS_PER_NODE=84
61+
./xmlchange MAX_MPITASKS_PER_NODE=6
62+
./xmlchange LND_NTHRDS=14
63+
# Note, MPI on host
64+
./xmlchange SCREAM_CMAKE_OPTIONS="SCREAM_NUM_VERTICAL_LEV 128 SCREAM_NUM_TRACERS 10 HOMMEXX_MPI_ON_DEVICE Off"
65+
./xmlchange PIO_NETCDF_FORMAT="64bit_data"
66+
./xmlchange RESUBMIT=2
67+
68+
## Setup case
69+
./case.setup
70+
71+
## EAMxx settings
72+
./atmchange Scorpio::output_yaml_files=\
73+
${eamxx_out_files_root}/v1_output/scream_output.Cldfrac.yaml,\
74+
${eamxx_out_files_root}/v1_output/scream_output.QcQi.yaml,\
75+
${eamxx_out_files_root}/v1_output/scream_output.QvT.yaml,\
76+
${eamxx_out_files_root}/v1_output/scream_output.TOMVars.yaml,\
77+
${eamxx_out_files_root}/v1_output/scream_output.VertIntegrals.yaml,\
78+
${eamxx_out_files_root}/v1_output/scream_output.HorizWinds.yaml,\
79+
${eamxx_out_files_root}/v1_output/scream_output.QrPsPsl.yaml,\
80+
${eamxx_out_files_root}/v1_output/scream_output.SurfVars_128lev.yaml,\
81+
${eamxx_out_files_root}/v1_output/scream_output.TkeOmega.yaml,\
82+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_min.yaml,\
83+
${eamxx_out_files_root}/v1_output/scream_output.Temp_2m_max.yaml,\
84+
${eamxx_out_files_root}/v1_output/scream_output.Qv_2m.yaml,\
85+
${eamxx_out_files_root}/v1_output/scream_output.PresLevs.yaml
86+
87+
./atmchange statefreq=5184 # 2/day
88+
./atmchange orbital_year=-9999
89+
90+
## ELM settings
91+
cp ${elm_nl_file} user_nl_elm
92+
93+
## Build and submit
94+
./case.build
95+
./case.submit

0 commit comments

Comments
 (0)