Skip to content

Commit

Permalink
feature/reg_tests This commit references ufs-community#99.
Browse files Browse the repository at this point in the history
Add ice blend reg test driver script for Cray.
  • Loading branch information
GeorgeGayno-NOAA committed Apr 30, 2020
1 parent bce2d0e commit 03f7e5f
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions reg_tests/ice_blend/driver.cray.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/bash

#-----------------------------------------------------------------------------
#
# Run ice_blend regression test on WCOSS-Cray.
#
# Set $DATA to your working directory. Set the project code (BSUB -P)
# and queue (BSUB -q) as appropriate.
#
# Invoke the script as follows: cat $script | bsub
#
# 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.
#
#-----------------------------------------------------------------------------

#BSUB -W 0:02
#BSUB -o regression.log
#BSUB -e regression.log
#BSUB -J s2m_regt
#BSUB -q debug
#BSUB -R "rusage[mem=2000]"
#BSUB -P GFS-DEV

set -x

module load PrgEnv-intel
module list

export DATA=/gpfs/hps3/stmp/$LOGNAME/reg_tests.ice_blend

#-----------------------------------------------------------------------------
# Should not have to change anything below.
#-----------------------------------------------------------------------------

export WGRIB=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.5/exec/wgrib
export WGRIB2=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.5/exec/wgrib2
export COPYGB2=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.5/exec/copygb2
export COPYGB=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.5/exec/copygb
export CNVGRIB=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.5/exec/cnvgrib

export HOMEreg=/gpfs/hps3/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/ice_blend
export HOMEgfs=$PWD/../..

rm -fr $DATA

./ice_blend.sh

exit 0

0 comments on commit 03f7e5f

Please sign in to comment.