forked from ufs-community/UFS_UTILS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ice_blend consistency test script for wcoss2.
Fixes ufs-community#580.
- Loading branch information
1 parent
1e84df1
commit 7eab1a0
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |