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.
Merge branch 'develop' into feature/new_sfcsub
Fixes ufs-community#670.
- Loading branch information
Showing
22 changed files
with
3,569 additions
and
31 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
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
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,58 @@ | ||
#!/bin/bash | ||
|
||
#----------------------------------------------------------------------------- | ||
# | ||
# Run weight_gen consistency test on Hera. | ||
# | ||
# 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 consistency.log. A summary is | ||
# placed in summary.log | ||
# | ||
# The test fails when its output does not match the baseline files | ||
# as determined by the 'nccmp' command. The baseline file is | ||
# stored in HOMEreg. | ||
# | ||
#----------------------------------------------------------------------------- | ||
|
||
#SBATCH -J weight_gen | ||
#SBATCH -A fv3-cpu | ||
#SBATCH --open-mode=truncate | ||
#SBATCH -o consistency.log | ||
#SBATCH -e consistency.log | ||
#SBATCH --ntasks=1 | ||
#SBATCH -q debug | ||
#SBATCH -t 00:03:00 | ||
|
||
set -x | ||
|
||
compiler=${compiler:-"intel"} | ||
|
||
source ../../sorc/machine-setup.sh > /dev/null 2>&1 | ||
module use ../../modulefiles | ||
module load build.$target.$compiler | ||
module list | ||
|
||
export DATA="${WORK_DIR:-/scratch2/NCEPDEV/stmp1/$LOGNAME}" | ||
export DATA="${DATA}/reg-tests/weight_gen" | ||
|
||
#----------------------------------------------------------------------------- | ||
# Should not have to change anything below. | ||
#----------------------------------------------------------------------------- | ||
|
||
export UPDATE_BASELINE="FALSE" | ||
#export UPDATE_BASELINE="TRUE" | ||
|
||
if [ "$UPDATE_BASELINE" = "TRUE" ]; then | ||
source ../get_hash.sh | ||
fi | ||
|
||
export HOMEreg=/scratch1/NCEPDEV/nems/role.ufsutils/ufs_utils/reg_tests/weight_gen | ||
export HOMEufs=$PWD/../.. | ||
|
||
./weight_gen.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#!/bin/bash | ||
|
||
#----------------------------------------------------------------------------- | ||
# | ||
# Run weight_gen consistency test on Jet. | ||
# | ||
# Set $DATA to your working directory. Set the project code | ||
# (SBATCH --account) as appropriate. | ||
# | ||
# Invoke the script as follows: sbatch $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 files | ||
# as determined by the 'nccmp' command. The baseline file is | ||
# stored in HOMEreg. | ||
# | ||
#----------------------------------------------------------------------------- | ||
|
||
#SBATCH --nodes=1 | ||
#SBATCH --partition=sjet | ||
#SBATCH --time 0:01 | ||
#SBATCH --account=emcda | ||
#SBATCH --job-name=weight_gen | ||
#SBATCH -o consistency.log | ||
#SBATCH -e consistency.log | ||
|
||
set -x | ||
|
||
compiler=${compiler:-"intel"} | ||
|
||
source ../../sorc/machine-setup.sh > /dev/null 2>&1 | ||
module use ../../modulefiles | ||
module load build.$target.$compiler | ||
module list | ||
|
||
export DATA="${WORK_DIR:-/lfs4/HFIP/emcda/$LOGNAME/stmp}" | ||
export DATA="${DATA}/reg-tests/weight_gen" | ||
|
||
#----------------------------------------------------------------------------- | ||
# Should not have to change anything below. | ||
#----------------------------------------------------------------------------- | ||
|
||
export UPDATE_BASELINE="FALSE" | ||
#export UPDATE_BASELINE="TRUE" | ||
|
||
if [ "$UPDATE_BASELINE" = "TRUE" ]; then | ||
source ../get_hash.sh | ||
fi | ||
|
||
export HOMEreg=/lfs4/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/weight_gen | ||
export HOMEufs=$PWD/../.. | ||
|
||
./weight_gen.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/bin/bash | ||
|
||
#----------------------------------------------------------------------------- | ||
# | ||
# Run weight_gen consistency test on Orion. | ||
# | ||
# 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 consistency.log. A summary is | ||
# placed in summary.log | ||
# | ||
# The test fails when its output does not match the baseline files | ||
# as determined by the 'nccmp' command. The baseline file is | ||
# stored in HOMEreg. | ||
# | ||
#----------------------------------------------------------------------------- | ||
|
||
#SBATCH -J weight_gen | ||
#SBATCH -A fv3-cpu | ||
#SBATCH --open-mode=truncate | ||
#SBATCH -o consistency.log | ||
#SBATCH -e consistency.log | ||
#SBATCH --ntasks=1 | ||
#SBATCH -q debug | ||
#SBATCH -t 00:03:00 | ||
|
||
set -x | ||
|
||
compiler=${compiler:-"intel"} | ||
|
||
source ../../sorc/machine-setup.sh > /dev/null 2>&1 | ||
module use ../../modulefiles | ||
module load build.$target.$compiler | ||
module list | ||
|
||
export DATA="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" | ||
export DATA="${DATA}/reg-tests/weight_gen" | ||
|
||
#----------------------------------------------------------------------------- | ||
# Should not have to change anything below. | ||
#----------------------------------------------------------------------------- | ||
|
||
export UPDATE_BASELINE="FALSE" | ||
#export UPDATE_BASELINE="TRUE" | ||
|
||
if [ "$UPDATE_BASELINE" = "TRUE" ]; then | ||
source ../get_hash.sh | ||
fi | ||
|
||
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/reg_tests/weight_gen | ||
export HOMEufs=$PWD/../.. | ||
|
||
./weight_gen.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#!/bin/bash | ||
|
||
#----------------------------------------------------------------------------- | ||
# | ||
# Run weight_gen 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 files | ||
# as determined by the 'nccmp' command. The baseline file is | ||
# stored in HOMEreg. | ||
# | ||
#----------------------------------------------------------------------------- | ||
|
||
#PBS -l walltime=00:02:00 | ||
#PBS -o consistency.log | ||
#PBS -e consistency.log | ||
#PBS -N wgt_regt | ||
#PBS -q debug | ||
#PBS -A GFS-DEV | ||
#PBS -l select=1:ncpus=1:mem=250MB | ||
|
||
set -x | ||
|
||
cd $PBS_O_WORKDIR | ||
|
||
compiler=${compiler:-"intel"} | ||
|
||
source ../../sorc/machine-setup.sh > /dev/null 2>&1 | ||
module use ../../modulefiles | ||
module load build.$target.$compiler | ||
module list | ||
|
||
export DATA="${WORK_DIR:-/lfs/h2/emc/stmp/$LOGNAME}" | ||
export DATA="${DATA}/reg-tests/weight_gen" | ||
|
||
#----------------------------------------------------------------------------- | ||
# Should not have to change anything below. | ||
#----------------------------------------------------------------------------- | ||
|
||
export UPDATE_BASELINE="FALSE" | ||
#export UPDATE_BASELINE="TRUE" | ||
|
||
if [ "$UPDATE_BASELINE" = "TRUE" ]; then | ||
source ../get_hash.sh | ||
fi | ||
|
||
export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/weight_gen | ||
export HOMEufs=$PBS_O_WORKDIR/../.. | ||
|
||
export NCCMP=/lfs/h2/emc/global/noscrub/George.Gayno/util/nccmp/nccmp-1.8.5.0/src/nccmp | ||
|
||
./weight_gen.sh | ||
|
||
exit 0 |
Oops, something went wrong.