Skip to content
Merged
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
507fe54
Change driver scripts to have consistent name with from machine-setu…
kgerheiser Mar 5, 2021
ee39cf2
Create script to be run from cron to automatically run regression tes…
kgerheiser Mar 11, 2021
b20796e
Merge branch 'develop' of https://github.com/NOAA-EMC/UFS_UTILS into …
kgerheiser Mar 11, 2021
08b1721
Fix email and save previous commit hash
kgerheiser Mar 11, 2021
212c524
Fix variable name
kgerheiser Mar 11, 2021
064500e
Add machine-specifc job submission commands
kgerheiser Mar 15, 2021
bac509c
Submit job with project code
kgerheiser Mar 16, 2021
4bc8a9a
Make script executable
Mar 16, 2021
12e1df5
Use environment variable for batch queue and project code
kgerheiser Mar 16, 2021
1a6ab87
Merge branch 'feature/auto-reg-tests' of github.com:kgerheiser/UFS_UT…
kgerheiser Mar 16, 2021
e9f0e00
Use my fork
kgerheiser Mar 16, 2021
eef0dc8
Fix error in bracket
kgerheiser Mar 16, 2021
4697e85
Unlimited stack size on Orion
kgerheiser Mar 16, 2021
98f0d3e
Use WORK_DIR env variable to control reg-test working dir
kgerheiser Mar 17, 2021
7fa0d68
Find MPI C and Fortran
kgerheiser Mar 17, 2021
c2f84a1
Wait before submitting more jobs to not go over limit on Hera
kgerheiser Mar 18, 2021
7ab4232
Use correct path
kgerheiser Mar 18, 2021
c4d28fe
Change queue
kgerheiser Mar 19, 2021
75bde8e
Unlimited stack size for Orion
kgerheiser Mar 19, 2021
2af932c
Add ulimit unlimited for Orion
kgerheiser Mar 19, 2021
a62f799
Change path
kgerheiser Mar 19, 2021
fdfe83f
Remove duplicate variable
kgerheiser Mar 19, 2021
74c0d0e
Enable C++ to see if it fixes MPI error
kgerheiser Mar 19, 2021
a593465
Use openmpi
kgerheiser Mar 19, 2021
620da98
Send machine name in email
kgerheiser Mar 19, 2021
1d3c9e5
Build mpich from source
kgerheiser Mar 19, 2021
c66c54b
Buld from source
kgerheiser Mar 19, 2021
8e1f113
Fix env variables
kgerheiser Mar 19, 2021
95176fc
Submit chgres_cube and grid_gen tests at same time
kgerheiser Mar 19, 2021
89b2026
Fix comparison
Mar 19, 2021
0d3773c
Simplify wait for output file
kgerheiser Mar 19, 2021
8d92a60
Remove hardcoded values
kgerheiser Mar 19, 2021
9a55ff6
Re-name script
kgerheiser Mar 19, 2021
7b26c89
Revert workflow files
kgerheiser Mar 19, 2021
899f68d
Fix yaml
kgerheiser Mar 19, 2021
d81ea21
Fix workflow
kgerheiser Mar 19, 2021
63b58db
Change job submission
kgerheiser Mar 19, 2021
d58aeb4
Add wait between job submissions
kgerheiser Mar 22, 2021
67decdd
Set default queue
kgerheiser Mar 22, 2021
ead03f4
Fix workflow by manually installing mpich
kgerheiser Mar 22, 2021
1aac5bd
Use HOME variable
kgerheiser Mar 22, 2021
9607037
Check in running on production machine
kgerheiser Mar 30, 2021
f64ba0b
Merge branch 'develop' of https://github.com/NOAA-EMC/UFS_UTILS into …
kgerheiser Mar 30, 2021
71bbda6
Check for machine first
kgerheiser Mar 30, 2021
2cce861
Can checkout and build on WCOSS (prod), but don't run tests
kgerheiser Apr 2, 2021
a1c7606
Add timeout variable
kgerheiser Apr 5, 2021
187edf0
Fix comparison
kgerheiser Apr 5, 2021
0a62087
Use personal repo, which contains driver.wcoss_dell_p3.sh
kgerheiser Apr 5, 2021
a66c684
Merge branch 'develop' into feature/auto-reg-tests
kgerheiser Apr 5, 2021
525ec42
Send email when test times out
kgerheiser Apr 7, 2021
51c87b3
Load lsf/10.1 on WCOSS
kgerheiser Apr 8, 2021
019c88e
Load workload manager on Wcoss Cray
kgerheiser Apr 8, 2021
c4cd289
Increase number of characters in filename string
kgerheiser Apr 8, 2021
637c87b
Delete file
kgerheiser Apr 8, 2021
959a90c
Increase file name length
kgerheiser Apr 8, 2021
70e8d63
Use official repo
kgerheiser Apr 8, 2021
5ec5ea3
Add to rt.sh
kgerheiser Apr 8, 2021
f588441
Merge branch 'develop' of https://github.com/NOAA-EMC/UFS_UTILS into …
kgerheiser Apr 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

- name: install-dependencies
run: |
echo "/home/runner/mpich/bin" >> $GITHUB_PATH
if [[ ${{ matrix.os }} == "ubuntu-20.04" ]]; then
sudo apt-get update
sudo apt-get install libmpich-dev
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ endif()

# Find packages.
find_package(NetCDF REQUIRED C Fortran)
find_package(MPI REQUIRED)
find_package(MPI REQUIRED C Fortran)
find_package(ESMF MODULE REQUIRED)

if(OPENMP)
Expand Down
8 changes: 5 additions & 3 deletions reg_tests/chgres_cube/driver.hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ module use ../../modulefiles
module load build.$target.$compiler
module list

export OUTDIR=/scratch2/NCEPDEV/stmp1/$LOGNAME/chgres_reg_tests
PROJECT_CODE="fv3-cpu"
QUEUE="batch"
export OUTDIR="${WORK_DIR:-/scratch2/NCEPDEV/stmp1/$LOGNAME}"
export OUTDIR="${OUTDIR}/reg-tests/chgres-cube"

PROJECT_CODE="${PROJECT_CODE:-fv3-cpu}"
QUEUE="${QUEUE:-batch}"

#-----------------------------------------------------------------------------
# Should not have to change anything below here. HOMEufs is the root
Expand Down
8 changes: 5 additions & 3 deletions reg_tests/chgres_cube/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ module use ../../modulefiles
module load build.$target.intel
module list

export OUTDIR=/lfs4/HFIP/emcda/$LOGNAME/stmp/chgres_reg_tests
PROJECT_CODE="hfv3gfs"
QUEUE="debug"
export OUTDIR="${WORK_DIR:-/lfs4/HFIP/emcda/$LOGNAME/stmp}"
export OUTDIR="${OUTDIR}/reg-tests/chgres-cube"

PROJECT_CODE="${PROJECT_CODE:-hfv3gfs}"
QUEUE="${QUEUE:-debug}"

#-----------------------------------------------------------------------------
# Should not have to change anything below here. HOMEufs is the root
Expand Down
10 changes: 7 additions & 3 deletions reg_tests/chgres_cube/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ module use ../../modulefiles
module load build.$target.intel
module list

export OUTDIR=/work/noaa/stmp/$LOGNAME/chgres_reg_tests
PROJECT_CODE="fv3-cpu"
QUEUE="debug"
ulimit -s unlimited

export OUTDIR="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}"
export OUTDIR="${OUTDIR}/reg-tests/chgres-cube"

PROJECT_CODE="${PROJECT_CODE:-fv3-cpu}"
QUEUE="${QUEUE:-debug}"

#-----------------------------------------------------------------------------
# Should not have to change anything below here. HOMEufs is the root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ module use ../../modulefiles
module load build.$target.intel
module list

export OUTDIR=/gpfs/hps3/stmp/$LOGNAME/chgres_reg_tests
QUEUE="debug"
PROJECT_CODE="GFS-DEV"
export OUTDIR="${WORK_DIR:-/gpfs/hps3/stmp/$LOGNAME}"
export OUTDIR="${OUTDIR}/reg-tests/chgres-cube"

QUEUE="${QUEUE:-debug}"
PROJECT_CODE="${PROJECT_CODE:-GFS-DEV}"

#-----------------------------------------------------------------------------
# Should not have to change anything below here. HOMEufs is the root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ module use ../../modulefiles
module load build.$target.intel
module list

export OUTDIR=/gpfs/dell1/stmp/$LOGNAME/chgres_reg_tests
QUEUE="debug"
PROJECT_CODE="GFS-DEV"
export OUTDIR="${WORK_DIR:-/gpfs/dell1/stmp/$LOGNAME}"
export OUTDIR="${OUTDIR}/reg-tests/chgres-cube"

QUEUE="${QUEUE:-debug}"
PROJECT_CODE="${PROJECT_CODE:-GFS-DEV}"

#-----------------------------------------------------------------------------
# Should not have to change anything below here. HOMEufs is the root
Expand Down
3 changes: 2 additions & 1 deletion reg_tests/global_cycle/driver.hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ module use ../../modulefiles
module load build.$target.$compiler
module list

export DATA=/scratch2/NCEPDEV/stmp1/$LOGNAME/reg_tests.cycle
export DATA="${WORK_DIR:-/scratch2/NCEPDEV/stmp1/$LOGNAME}"
export DATA="${DATA}/reg-tests/global-cycle"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
3 changes: 2 additions & 1 deletion reg_tests/global_cycle/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA=/lfs4/HFIP/emcda/$LOGNAME/stmp/reg_tests.cycle
export DATA="${WORK_DIR:-/lfs4/HFIP/emcda/$LOGNAME/stmp}"
export DATA="${DATA}/reg-tests/global-cycle"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
5 changes: 4 additions & 1 deletion reg_tests/global_cycle/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA=/work/noaa/stmp/$LOGNAME/reg_tests.cycle
ulimit -s unlimited

export DATA="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/global-cycle"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA=/gpfs/hps3/stmp/$LOGNAME/reg_tests.cycle
export DATA="${WORK_DIR:-/gpfs/hps3/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/global-cycle"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA=/gpfs/dell1/stmp/$LOGNAME/reg_tests.cycle
export DATA="${WORK_DIR:-/gpfs/dell1/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/global-cycle"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
7 changes: 4 additions & 3 deletions reg_tests/grid_gen/driver.hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ module list

set -x

export WORK_DIR=/scratch2/NCEPDEV/stmp1/$LOGNAME/reg_tests.grid
QUEUE="batch"
PROJECT_CODE="fv3-cpu"
export WORK_DIR="${WORK_DIR:-/scratch2/NCEPDEV/stmp1/$LOGNAME}"
export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen"
QUEUE="${QUEUE:-batch}"
PROJECT_CODE="${PROJECT_CODE:-fv3-cpu}"

#-----------------------------------------------------------------------------
# Should not have to change anything below here.
Expand Down
7 changes: 4 additions & 3 deletions reg_tests/grid_gen/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ module list

set -x

QUEUE="windfall"
PROJECT_CODE="emcda"
export WORK_DIR=/lfs4/HFIP/emcda/$LOGNAME/stmp/reg_tests.grid
QUEUE="${QUEUE:-windfall}"
PROJECT_CODE="${PROJECT_CODE:-emcda}"
export WORK_DIR="${WORK_DIR:-/lfs4/HFIP/emcda/$LOGNAME/stmp}"
export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen"

#-----------------------------------------------------------------------------
# Should not have to change anything below here.
Expand Down
8 changes: 5 additions & 3 deletions reg_tests/grid_gen/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ module load build.$target.intel
module list

set -x
ulimit -s unlimited

export WORK_DIR=/work/noaa/stmp/$LOGNAME/reg_tests.grid
QUEUE="batch"
PROJECT_CODE="fv3-cpu"
export WORK_DIR="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}"
export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen"
QUEUE="${QUEUE:-batch}"
PROJECT_CODE=${PROJECT_CODE:-fv3-cpu}

#-----------------------------------------------------------------------------
# Should not have to change anything below here.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ module list

set -x

QUEUE="debug"
PROJECT_CODE="GFS-DEV"
export WORK_DIR=/gpfs/hps3/stmp/$LOGNAME/reg_tests.grid
QUEUE="${QUEUE:-debug}"
PROJECT_CODE="${PROJECT_CODE:-GFS-DEV}"
export WORK_DIR="${WORK_DIR:-/gpfs/hps3/stmp/$LOGNAME}"
export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen"

#-----------------------------------------------------------------------------
# Should not have to change anything below here.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ module list

set -x

QUEUE="debug"
PROJECT_CODE="GFS-DEV"
export WORK_DIR=/gpfs/dell1/stmp/$LOGNAME/reg_tests.grid
QUEUE="${QUEUE:-debug}"
PROJECT_CODE="${PROJECT_CODE:-GFS-DEV}"
export WORK_DIR="${WORK_DIR:-/gpfs/dell1/stmp/$LOGNAME}"
export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen"

#-----------------------------------------------------------------------------
# Should not have to change anything below here.
Expand Down
3 changes: 2 additions & 1 deletion reg_tests/ice_blend/driver.hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ module use ../../modulefiles
module load build.$target.$compiler
module list

export DATA="/scratch2/NCEPDEV/stmp1/$LOGNAME/reg_test.ice_blend"
export DATA="${WORK_DIR:-/scratch2/NCEPDEV/stmp1/$LOGNAME}"
export DATA="${DATA}/reg-tests/ice-blend"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
3 changes: 2 additions & 1 deletion reg_tests/ice_blend/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA="/lfs4/HFIP/emcda/$LOGNAME/stmp/reg_test.ice_blend"
export DATA="${WORK_DIR:-/lfs4/HFIP/emcda/$LOGNAME/stmp}"
export DATA="${DATA}/reg-tests/ice-blend"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
5 changes: 4 additions & 1 deletion reg_tests/ice_blend/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA="/work/noaa/stmp/$LOGNAME/reg_test.ice_blend"
ulimit -s unlimited

export DATA="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/ice-blend"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module use ../../modulefiles
module load build.$target.intel
module list

export DATA=/gpfs/hps3/stmp/$LOGNAME/reg_tests.ice_blend
export DATA="${WORK_DIR:-/gpfs/hps3/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/ice-blend"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module list

set -x

export DATA=/gpfs/dell1/stmp/$LOGNAME/reg_tests.ice_blend
export DATA="${WORK_DIR:-/gpfs/dell1/stmp/$LOGNAME}"
export DATA="${DATA}/reg-tests/ice-blend"

#-----------------------------------------------------------------------------
# Should not have to change anything below.
Expand Down
Loading