Skip to content

Commit

Permalink
Update Hercules baseline data, RT wallclock. ufs-community#878
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Dec 18, 2023
1 parent 455ad78 commit 465d20e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 19 deletions.
1 change: 1 addition & 0 deletions driver_scripts/driver_grid.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ if [ $gtype = uniform ]; then
export add_lake=true # Add lake frac and depth to orography data.
export lake_cutoff=0.50 # return 0 if lake_frac < lake_cutoff & add_lake=T
export binary_lake=1 # return 1 if lake_frac >= lake_cutoff & add_lake=T
export ocn=${ocn:-"025"} # use one of "025", "050", "100", "500". Cannot be empty
elif [ $gtype = stretch ]; then
export res=96
export stretch_fac=1.5 # Stretching factor for the grid
Expand Down
6 changes: 2 additions & 4 deletions reg_tests/chgres_cube/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ fi

export HOMEufs=$PWD/../..

# TODO change this to an official location when testing is complete.
#export HOMEreg=/work/noaa/nems/role-nems/hercules/ufs_utils/reg_tests/chgres_cube
export HOMEreg=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/chgres_cube
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/chgres_cube

LOG_FILE=consistency.log
SUM_FILE=summary.log
Expand Down Expand Up @@ -104,7 +102,7 @@ TEST3=$(sbatch --parsable --ntasks-per-node=6 --nodes=1 --mem=75G -t 0:15:00 -A

LOG_FILE4=${LOG_FILE}04
export OMP_NUM_THREADS=6 # needs to match cpus-per-task
TEST4=$(sbatch --parsable --ntasks-per-node=3 --cpus-per-task=6 --nodes=2 --mem=75G -t 0:20:00 -A $PROJECT_CODE -q $QUEUE -J c96.gfs.sigio \
TEST4=$(sbatch --parsable --ntasks-per-node=3 --cpus-per-task=6 --nodes=2 --mem=75G -t 0:25:00 -A $PROJECT_CODE -q $QUEUE -J c96.gfs.sigio \
--open-mode=append -o $LOG_FILE4 -e $LOG_FILE4 ./c96.gfs.sigio.sh)

#-----------------------------------------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions reg_tests/cpld_gridgen/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ elif [[ $target = orion ]]; then
elif [[ $target = hercules ]]; then
STMP=${STMP:-/work/noaa/stmp/$USER}
export MOM6_FIXDIR=/work/noaa/global/glopara/fix/mom6/20220805
#TODO Update to official location when testing is complete
#BASELINE_ROOT=/work/noaa/nems/role-nems/ufs_utils/hercules/reg_tests/cpld_gridgen/baseline_data
BASELINE_ROOT=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/cpld_gridgen/baseline_data
BASELINE_ROOT=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/cpld_gridgen/baseline_data
ACCOUNT=${ACCOUNT:-nems}
QUEUE=${QUEUE:-batch}
NCCMP=nccmp
Expand Down
4 changes: 1 addition & 3 deletions reg_tests/global_cycle/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ fi

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

#TODO Update to official location when testing is complete
#export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/hercules/reg_tests/global_cycle
export HOMEreg=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/global_cycle
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/global_cycle

export OMP_NUM_THREADS_CY=2

Expand Down
4 changes: 1 addition & 3 deletions reg_tests/grid_gen/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

#TODO Update to official location when testing is complete
#export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/hercules/reg_tests/grid_gen/baseline_data
export HOMEreg=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/grid_gen/baseline_data
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/grid_gen/baseline_data

rm -fr $WORK_DIR

Expand Down
3 changes: 1 addition & 2 deletions reg_tests/ice_blend/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ export COPYGB=/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.0/e
export COPYGB2=/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.0/envs/unified-env/install/intel/2021.9.0/grib-util-1.3.0-wenl3in/bin/copygb2
export CNVGRIB=/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.0/envs/unified-env/install/intel/2021.9.0/grib-util-1.3.0-wenl3in/bin/cnvgrib

#TODO Update to official location when testing is complete
#export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/hercules/reg_tests/ice_blend
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/ice_blend
export HOMEreg=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/ice_blend
export HOMEgfs=$PWD/../..

Expand Down
3 changes: 1 addition & 2 deletions reg_tests/snow2mdl/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ fi

rm -fr $DATA_ROOT

#TODO Update to official location when testing is complete
#export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/hercules/reg_tests/snow2mdl
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/snow2mdl
export HOMEreg=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..
export WGRIB=/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.0/envs/unified-env/install/intel/2021.9.0/grib-util-1.3.0-wenl3in/bin/wgrib
Expand Down
3 changes: 1 addition & 2 deletions reg_tests/weight_gen/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
source ../get_hash.sh
fi

#TODO Update to official location when testing is complete
#export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/hercules/reg_tests/weight_gen
export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/weight_gen
export HOMEreg=/work/noaa/global/dhuber/noscrub/ufs_utils/reg_tests/weight_gen
export HOMEufs=$PWD/../..

Expand Down

0 comments on commit 465d20e

Please sign in to comment.