Skip to content

Commit

Permalink
Add ice_blend consistency test script for wcoss2.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Oct 7, 2021
1 parent 1e84df1 commit 7eab1a0
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions reg_tests/ice_blend/driver.wcoss2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#!/bin/bash

#-----------------------------------------------------------------------------
#
# Run ice_blend consistency test on WCOSS2.
#
# Set $DATA to your working directory. Set the project code (PBS -A)
# and queue (PBS -q) as appropriate.
#
# Invoke the script as follows: qsub $script
#
# Log output is placed in consistency.log. A summary is
# placed in summary.log
#
# The test fails when its output does not match the baseline file
# as determined by the 'cmp' command. The baseline file is
# stored in HOMEreg.
#
#-----------------------------------------------------------------------------

#PBS -l walltime=00:02:00
#PBS -o consistency.log
#PBS -e consistency.log
#PBS -N iceb_regt
#PBS -q debug
#PBS -A GFS-DEV
#PBS -l select=1:ncpus=1:mem=2500MB

cd $PBS_O_WORKDIR

source ../../modulefiles/modulefile.global_emcsfc_ice_blend.wcoss2_cray
module load libjpeg
module load grib_util/1.2.3
module load wgrib2/2.0.8
module list

set -x

export DATA="${WORK_DIR:-/lfs/h2/emc/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/ice-blend"

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

export HOMEreg=/lfs/h2/emc/eib/noscrub/George.Gayno/ufs_utils.git/reg_tests/ice_blend
export HOMEgfs=$PBS_O_WORKDIR/../..

rm -fr $DATA

./ice_blend.sh

exit 0

0 comments on commit 7eab1a0

Please sign in to comment.