From c774ada5a65e64d3a4487b99413f7418de6963c4 Mon Sep 17 00:00:00 2001 From: George Gayno Date: Thu, 30 Apr 2020 19:56:36 +0000 Subject: [PATCH] feature/reg_tests This commit references #99. Add ice_blend reg test driver script for Jet. --- reg_tests/ice_blend/driver.jet.sh | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 reg_tests/ice_blend/driver.jet.sh diff --git a/reg_tests/ice_blend/driver.jet.sh b/reg_tests/ice_blend/driver.jet.sh new file mode 100755 index 000000000..782899ae4 --- /dev/null +++ b/reg_tests/ice_blend/driver.jet.sh @@ -0,0 +1,52 @@ +#!/bin/bash + +#----------------------------------------------------------------------------- +# +# Run ice_blend regression test on Jet. +# +# Set $DATA to your working directory. Set the project code (SBATCH -A) +# and queue (SBATCH -q) as appropriate. +# +# Invoke the script as follows: sbatch $script +# +# Log output is placed in regression.log. A summary is +# placed in summary.log +# +# The test fails when its output does not match the baseline files +# as determined by the 'cmp' command. The baseline files are +# stored in HOMEreg. +# +#----------------------------------------------------------------------------- + +#SBATCH --nodes=1 +#SBATCH --partition=sjet +#SBATCH --time 0:01 +#SBATCH --account=emcda +#SBATCH --job-name=ice_blned +#SBATCH -o regression.log +#SBATCH -e regression.log + +set -x + +module load intel + +export DATA="/mnt/lfs3/projects/emcda/$LOGNAME/stmp/reg_test.ice_blend" + +#----------------------------------------------------------------------------- +# Should not have to change anything below. +#----------------------------------------------------------------------------- + +export WGRIB=/apps/wgrib/1.8.1.0b/bin/wgrib +export WGRIB2=/apps/wgrib2/0.1.9.6a/bin/wgrib2 +export COPYGB=/mnt/lfs3/projects/emcda/George.Gayno/ufs_utils.git/jet_port/grib_util/copygb +export COPYGB2=/mnt/lfs3/projects/emcda/George.Gayno/ufs_utils.git/jet_port/grib_util/copygb2 +export CNVGRIB=/apps/cnvgrib/1.4.0/bin/cnvgrib + +export HOMEreg=/lfs3/HFIP/emcda/George.Gayno/reg_tests/ice_blend +export HOMEgfs=$PWD/../.. + +rm -fr $DATA + +./ice_blend.sh + +exit 0