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.
feature/reg_tests This commit references ufs-community#99.
Add snow2mdl reg test driver for Cray. Update snow2mdl script prologs.
- Loading branch information
1 parent
61bffe9
commit 9dea088
Showing
5 changed files
with
124 additions
and
8 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,49 @@ | ||
#!/bin/bash | ||
|
||
#----------------------------------------------------------------------------- | ||
# | ||
# Run snow2mdl 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.snow2mdl | ||
|
||
#----------------------------------------------------------------------------- | ||
# Should not have to change anything below. | ||
#----------------------------------------------------------------------------- | ||
|
||
export HOMEreg=/gpfs/hps3/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/snow2mdl | ||
export HOMEgfs=$PWD/../.. | ||
export WGRIB=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.2/exec/wgrib | ||
export WGRIB2=/gpfs/hps/nco/ops/nwprod/grib_util.v1.0.2/exec/wgrib2 | ||
|
||
rm -fr $DATA | ||
|
||
./snow2mdl.sh | ||
|
||
exit 0 |
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
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
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
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