Skip to content

Commit

Permalink
Run WCOSS2 consistency tests under role account (ufs-community#711)
Browse files Browse the repository at this point in the history
Update regression test data directory path in all
WCOSS2 regression scripts.

Fixes ufs-community#710
  • Loading branch information
GeorgeGayno-NOAA authored Nov 28, 2022
1 parent 0e510e7 commit aa44b99
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion reg_tests/chgres_cube/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fi

export HOMEufs=$PWD/../..

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/chgres_cube
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/chgres_cube

LOG_FILE=consistency.log
SUM_FILE=summary.log
Expand Down
4 changes: 2 additions & 2 deletions reg_tests/cpld_gridgen/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ rm -f fail_test* $COMPILE_LOG run_*.log nccmp_*.log summary.log

if [[ $target = wcoss2 ]]; then
STMP=${STMP:-/lfs/h2/emc/stmp/$USER}
export MOM6_FIXDIR=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/cpld_gridgen/fix_mom6
BASELINE_ROOT=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/cpld_gridgen/baseline_data
export MOM6_FIXDIR=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/cpld_gridgen/fix_mom6
BASELINE_ROOT=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/cpld_gridgen/baseline_data
ACCOUNT=${ACCOUNT:-GFS-DEV}
export APRUN="mpiexec -n 1 -ppn 1 --cpu-bind core"
QUEUE=${QUEUE:-dev}
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/global_cycle/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fi

DATA_DIR="${WORK_DIR}/reg-tests/global-cycle"

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/global_cycle
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/global_cycle

export OMP_NUM_THREADS_CY=2
export OMP_PLACES=cores
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/grid_gen/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export APRUN_SFC="mpiexec -n 30 -ppn 30 -cpu-bind core"
export OMP_STACKSIZE=2048m
export OMP_NUM_THREADS=30 # orog code uses threads
export OMP_PLACES=cores
export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/grid_gen/baseline_data
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/grid_gen/baseline_data
this_dir=$PWD

ulimit -a
Expand Down
4 changes: 2 additions & 2 deletions reg_tests/ice_blend/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#PBS -o consistency.log
#PBS -e consistency.log
#PBS -N iceb_regt
#PBS -q debug
#PBS -q dev
#PBS -A GFS-DEV
#PBS -l select=1:ncpus=1:mem=2500MB

Expand Down Expand Up @@ -51,7 +51,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

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

rm -fr $DATA
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

export HOMEreg=/lfs/h2/emc/global/noscrub/George.Gayno/ufs_utils.git/reg_tests/snow2mdl
export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..

LOG_FILE=consistency.log
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/weight_gen/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ 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 HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/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
Expand Down

0 comments on commit aa44b99

Please sign in to comment.