Skip to content

Commit 8a62c3a

Browse files
Add initial config files for global aerosol DA (#986)
Add new config files for aerosol da
1 parent cfcc21f commit 8a62c3a

File tree

7 files changed

+115
-0
lines changed

7 files changed

+115
-0
lines changed

env/HERA.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if [ $# -ne 1 ]; then
55
echo "Must specify an input argument to set runtime environment variables!"
66
echo "argument can be any one of the following:"
77
echo "atmanalrun atmensanalrun"
8+
echo "aeroanlrun"
89
echo "anal sfcanl fcst post vrfy metp"
910
echo "eobs eupd ecen efcs epos"
1011
echo "postsnd awips gempak"
@@ -75,6 +76,16 @@ elif [ $step = "atmensanalrun" ]; then
7576
[[ $NTHREADS_ATMENSANAL -gt $nth_max ]] && export NTHREADS_ATMENSANAL=$nth_max
7677
export APRUN_ATMENSANAL="$launcher -n $npe_atmensanalrun"
7778

79+
elif [ $step = "aeroanlrun" ]; then
80+
81+
export APRUNCFP="$launcher -n \$ncmd --multi-prog"
82+
83+
nth_max=$(($npe_node_max / $npe_node_aeroanlrun))
84+
85+
export NTHREADS_AEROANL=${nth_aeroanlrun:-$nth_max}
86+
[[ $NTHREADS_AEROANL -gt $nth_max ]] && export NTHREADS_AEROANL=$nth_max
87+
export APRUN_AEROANL="$launcher -n $npe_aeroanlrun"
88+
7889
elif [ $step = "anal" ]; then
7990

8091
export MKL_NUM_THREADS=4

env/ORION.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if [ $# -ne 1 ]; then
55
echo "Must specify an input argument to set runtime environment variables!"
66
echo "argument can be any one of the following:"
77
echo "atmanalrun atmensanalrun"
8+
echo "aeroanlrun"
89
echo "anal sfcanl fcst post vrfy metp"
910
echo "eobs eupd ecen efcs epos"
1011
echo "postsnd awips gempak"
@@ -74,6 +75,16 @@ elif [ $step = "atmensanalrun" ]; then
7475
[[ $NTHREADS_ATMENSANAL -gt $nth_max ]] && export NTHREADS_ATMENSANAL=$nth_max
7576
export APRUN_ATMENSANAL="$launcher -n $npe_atmensanalrun"
7677

78+
elif [ $step = "aeroanlrun" ]; then
79+
80+
export APRUNCFP="$launcher -n \$ncmd --multi-prog"
81+
82+
nth_max=$(($npe_node_max / $npe_node_aeroanlrun))
83+
84+
export NTHREADS_AEROANL=${nth_aeroanlrun:-$nth_max}
85+
[[ $NTHREADS_AEROANL -gt $nth_max ]] && export NTHREADS_AEROANL=$nth_max
86+
export APRUN_AEROANL="$launcher -n $npe_aeroanlrun"
87+
7788
elif [ $step = "anal" ]; then
7889

7990
export MKL_NUM_THREADS=4

parm/config/config.aeroanl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash -x
2+
3+
########## config.aeroanl ##########
4+
# configuration common to all aero analysis tasks
5+
6+
echo "BEGIN: config.aeroanl"
7+
8+
export OBS_YAML_DIR=$HOMEgfs/sorc/gdas.cd/parm/aero/obs/config/
9+
export OBS_LIST=$HOMEgfs/sorc/gdas.cd/parm/aero/obs/lists/aero_prototype.yaml
10+
export AEROVARYAML=$HOMEgfs/sorc/gdas.cd/parm/aero/variational/3dvar_dripcg.yaml
11+
export BERROR_YAML=$HOMEgfs/sorc/gdas.cd/parm/aero/berror/static_bump.yaml
12+
export FV3JEDI_FIX=$HOMEgfs/fix/fix_jedi
13+
14+
export io_layout_x=1
15+
export io_layout_y=1
16+
17+
echo "END: config.aeroanl"

parm/config/config.aeroanlfinal

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash -x
2+
3+
########## config.aeroanlfinal ##########
4+
# Post Aero Analysis specific
5+
6+
echo "BEGIN: config.aeroanlfinal"
7+
8+
# Get task specific resources
9+
. $EXPDIR/config.resources aeroanlfinal
10+
echo "END: config.aeroanlfinal"

parm/config/config.aeroanlinit

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash -x
2+
3+
########## config.aeroanlinit ##########
4+
# Pre Aero Analysis specific
5+
6+
echo "BEGIN: config.aeroanlinit"
7+
8+
# Get task specific resources
9+
. $EXPDIR/config.resources aeroanlinit
10+
echo "END: config.aeroanlinit"

parm/config/config.aeroanlrun

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash -x
2+
3+
########## config.aeroanlrun ##########
4+
# Aerosol Analysis specific
5+
6+
echo "BEGIN: config.aeroanlrun"
7+
8+
# Get task specific resources
9+
. $EXPDIR/config.resources aeroanlrun
10+
11+
# Task specific variables
12+
export JEDIVAREXE=$HOMEgfs/exec/fv3jedi_var.x
13+
14+
echo "END: config.aeroanlrun"

parm/config/config.resources

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ if [ $# -ne 1 ]; then
1111
echo "getic init coupled_ic aerosol_init"
1212
echo "atmanalprep atmanalrun atmanalpost"
1313
echo "atmensanalprep atmensanalrun atmensanalpost"
14+
echo "aeroanlinit aeroanlrun aeroanlfinal"
1415
echo "anal sfcanl analcalc analdiag gldas fcst post vrfy metp arch echgres"
1516
echo "eobs ediag eomg eupd ecen esfc efcs epos earc"
1617
echo "init_chem mom6ic ocnpost"
@@ -156,6 +157,47 @@ elif [ $step = "atmanalpost" ]; then
156157
export nth_atmanalpost=1
157158
export npe_node_atmanalpost=$(echo "$npe_node_max / $nth_atmanalpost" | bc)
158159

160+
elif [ $step = "aeroanlinit" ]; then
161+
162+
export wtime_aeroanlinit="00:10:00"
163+
export npe_aeroanlinit=1
164+
export nth_aeroanlinit=1
165+
export npe_node_aeroanlinit=$(echo "$npe_node_max / $nth_aeroanlinit" | bc)
166+
export memory_aeroanlinit="3072M"
167+
168+
elif [ $step = "aeroanlrun" ]; then
169+
170+
case $CASE in
171+
C768)
172+
layout_x=6
173+
layout_y=6
174+
;;
175+
C384)
176+
layout_x=5
177+
layout_y=5
178+
;;
179+
C192 | C96 | C48)
180+
layout_x=3
181+
layout_y=3
182+
;;
183+
esac
184+
185+
export wtime_aeroanlrun="00:30:00"
186+
export npe_aeroanlrun=$(echo "$layout_x * $layout_y * 6" | bc)
187+
export npe_aeroanlrun_gfs=$(echo "$layout_x * $layout_y * 6" | bc)
188+
export nth_aeroanlrun=1
189+
export nth_aeroanlrun_gfs=1
190+
export native_aeroanlrun="--exclusive"
191+
export npe_node_aeroanlrun=$(echo "$npe_node_max / $nth_aeroanlrun" | bc)
192+
193+
elif [ $step = "aeroanlfinal" ]; then
194+
195+
export wtime_aeroanlfinal="00:10:00"
196+
export npe_aeroanlfinal=1
197+
export nth_aeroanlfinal=1
198+
export npe_node_aeroanlfinal=$(echo "$npe_node_max / $nth_aeroanlfinal" | bc)
199+
export memory_aeroanlfinal="3072M"
200+
159201
elif [ $step = "anal" ]; then
160202

161203
export wtime_anal="01:00:00"

0 commit comments

Comments
 (0)