Skip to content

Commit

Permalink
fix orion jobcard and path problems (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Feb 4, 2023
1 parent 7a75fb5 commit 9029966
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
13 changes: 11 additions & 2 deletions test/atm/global-workflow/run_jedi_exe_3dhofx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ module load GDAS/${machine}
set -x
module list

if [ "$machine" = "hera" ] ; then
partition="hera"
gdasfix="/scratch1/NCEPDEV/da/Cory.R.Martin/GDASApp/fix"
elif [ "$machine" = "orion" ]; then
partition="debug"
gdasfix="/work2/noaa/da/cmartin/GDASApp/fix"
fi

mkdir -p ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_hofx3d
cd ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_hofx3d

Expand All @@ -31,7 +39,7 @@ config:
obs_yaml_dir: ${srcdir}/parm/atm/obs/config
executable: ${bindir}/bin/fv3jedi_hofx_nomodel.x
obs_list: ${srcdir}/parm/atm/obs/lists/gdas_prototype_3d.yaml
gdas_fix_root: /scratch1/NCEPDEV/da/Cory.R.Martin/GDASApp/fix
gdas_fix_root: ${gdasfix}
atm: true
layout_x: 3
layout_y: 2
Expand All @@ -45,7 +53,7 @@ job options:
machine: ${machine}
account: da-cpu
queue: debug
partition: hera
partition: ${partition}
walltime: '30:00'
ntasks: 36
ntasks-per-node: 9
Expand All @@ -59,6 +67,7 @@ if [ $rc -ne 0 ]; then
exit $rc
fi

sleep 10
jobid=$(grep "Submitted" stdout.txt | awk -F' ' '{print $4}')
echo "jobid is $jobid"

Expand Down
12 changes: 10 additions & 2 deletions test/atm/global-workflow/run_jedi_exe_3dvar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ module load GDAS/${machine}
set -x
module list

if [ "$machine" = "hera" ] ; then
partition="hera"
gdasfix="/scratch1/NCEPDEV/da/Cory.R.Martin/GDASApp/fix"
elif [ "$machine" = "orion" ]; then
partition="debug"
gdasfix="/work2/noaa/da/cmartin/GDASApp/fix"
fi

mkdir -p ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_3dvar
cd ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_3dvar
Expand All @@ -38,7 +45,7 @@ config:
obs_yaml_dir: ${srcdir}/parm/atm/obs/config
executable: ${bindir}/bin/fv3jedi_var.x
obs_list: ${srcdir}/parm/atm/obs/lists/gdas_prototype_3d.yaml
gdas_fix_root: /scratch1/NCEPDEV/da/Cory.R.Martin/GDASApp/fix
gdas_fix_root: ${gdasfix}
atm: true
layout_x: 1
layout_y: 1
Expand All @@ -56,7 +63,7 @@ job options:
machine: ${machine}
account: da-cpu
queue: debug
partition: hera
partition: ${partition}
walltime: '30:00'
ntasks: 6
modulepath: ${srcdir}/modulefiles
Expand All @@ -72,6 +79,7 @@ if [ $rc -ne 0 ]; then
exit $rc
fi

sleep 10
jobid=$(grep "Submitted" stdout.txt | awk -F' ' '{print $4}')
echo "jobid is $jobid"

Expand Down
9 changes: 7 additions & 2 deletions test/atm/global-workflow/run_jedi_exe_letkf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ module list

if [ "$machine" = "hera" ] ; then
cominges="/scratch1/NCEPDEV/da/Russ.Treadon/GDASApp/cases"
partition="hera"
gdasfix="/scratch1/NCEPDEV/da/Cory.R.Martin/GDASApp/fix"
elif [ "$machine" = "orion" ]; then
cominges="/work2/noaa/da/rtreadon/GDASApp/cases"
partition="debug"
gdasfix="/work2/noaa/da/cmartin/GDASApp/fix"
fi

mkdir -p ${bindir}/test/atm/global-workflow/testrun/gdas_single_test_letkf
Expand All @@ -42,7 +46,7 @@ config:
obs_yaml_dir: ${srcdir}/parm/atm/obs/config
executable: ${bindir}/bin/fv3jedi_letkf.x
obs_list: ${srcdir}/parm/atm/obs/lists/lgetkf_prototype.yaml
gdas_fix_root: /scratch1/NCEPDEV/da/Cory.R.Martin/GDASApp/fix
gdas_fix_root: ${gdasfix}
atm: true
layout_x: 3
layout_y: 2
Expand All @@ -61,7 +65,7 @@ job options:
machine: ${machine}
account: da-cpu
queue: debug
partition: hera
partition: ${partition}
walltime: '30:00'
ntasks: 36
modulepath: ${srcdir}/modulefiles
Expand All @@ -74,6 +78,7 @@ if [ $rc -ne 0 ]; then
exit $rc
fi

sleep 10
jobid=$(grep "Submitted" stdout.txt | awk -F' ' '{print $4}')
echo "jobid is $jobid"

Expand Down

0 comments on commit 9029966

Please sign in to comment.