Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a real PR - for use in testing automated regression testing #21

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions regression/regression_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ set -x
# regression test to launch
export regtest=$1

# option to set local values with a config file
if [ -d "$config_path" ]; then
source $config_path/local_vars.sh
fi

# source the necessary files to setup
if [ "$#" -eq 2 ]; then
export regdir=$2
Expand Down
16 changes: 9 additions & 7 deletions regression/regression_var.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,30 @@ case $machine in
export accnt="p48503002"
;;
Hera)
if [ -d /scratch1/NCEPDEV/da/$LOGNAME ]; then
export noscrub="/scratch1/NCEPDEV/da/$LOGNAME/noscrub"

export local_or_default="${local_or_default:-/scratch1/NCEPDEV/da/$LOGNAME}"
if [ -d $local_or_default ]; then
export noscrub="$local_or_default/noscrub"
elif [ -d /scratch1/NCEPDEV/global/$LOGNAME ]; then
export noscrub="/scratch1/NCEPDEV/global/$LOGNAME/noscrub"
elif [ -d /scratch2/BMC/gsienkf/$LOGNAME ]; then
export noscrub="/scratch2/BMC/gsienkf/$LOGNAME"
fi

export group="global"
export queue="batch"
export group="${group:-global}"
export queue="${queue:-batch}"
if [[ "$cmaketest" = "false" ]]; then
export basedir="/scratch1/NCEPDEV/da/$LOGNAME/git/gsi"
fi

export ptmp="/scratch1/NCEPDEV/stmp2/$LOGNAME/$ptmpName"
export ptmp="${ptmp:-/scratch1/NCEPDEV/stmp2/$LOGNAME/$ptmpName}"

export fixcrtm="/scratch1/NCEPDEV/da/Michael.Lueken/CRTM_REL-2.2.3/crtm_v2.2.3/fix_update"
export fixcrtm="${fixcrtm:-/scratch1/NCEPDEV/da/Michael.Lueken/CRTM_REL-2.2.3/crtm_v2.2.3/fix_update}"
export casesdir="/scratch1/NCEPDEV/da/Michael.Lueken/noscrub/CASES"

export check_resource="no"

export accnt="da-cpu"
export accnt="${accnt:-da-cpu}"

# On Hera, there are no scrubbers to remove old contents from stmp* directories.
# After completion of regression tests, will remove the regression test subdirecories
Expand Down