Skip to content

Commit

Permalink
added line in main CI driver to remove previous pslot_{sha} in case o…
Browse files Browse the repository at this point in the history
…f restart
  • Loading branch information
TerryMcGuinness-NOAA committed Sep 25, 2023
1 parent d1dcad9 commit 9eec36c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/platforms/hera.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/bash

export GFS_CI_ROOT=/scratch1/NCEPDEV/global/Terry.McGuinness/GFS_CI_ROOT
export ICSDIR_ROOT=/scratch1/NCEPDEV/global/glopara/data/ICSDIR
export STMP="/scratch1/NCEPDEV/stmp2/${USER}"
export SLURM_ACCOUNT=nems
export ICSDIR_ROOT="/scratch1/NCEPDEV/global/glopara/data/ICSDIR"
export max_concurrent_cases=2
export max_concurrent_pr=2
1 change: 1 addition & 0 deletions ci/platforms/orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export GFS_CI_ROOT=/work2/noaa/stmp/GFS_CI_ROOT
export ICSDIR_ROOT=/work/noaa/global/glopara/data/ICSDIR
export STMP="/work/noaa/stmp/${USER}"
export SLURM_ACCOUNT=nems
export max_concurrent_cases=2
export max_concurrent_pr=2
1 change: 1 addition & 0 deletions ci/scripts/driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ for pr in ${pr_list}; do
for yaml_config in "${HOMEgfs_PR}/ci/cases/pr/"*.yaml; do
case=$(basename "${yaml_config}" .yaml) || true
pslot="${case}_${pr_sha}"
rm -Rf "${STMP}/RUNDIRS/${pslot}"
export pslot
set +e
"${HOMEgfs_PR}/ci/scripts/create_experiment.py" --yaml "${HOMEgfs_PR}/ci/cases/pr/${case}.yaml" --dir "${HOMEgfs_PR}"
Expand Down

0 comments on commit 9eec36c

Please sign in to comment.