diff --git a/reg_tests/chgres_cube/driver.orion.sh b/reg_tests/chgres_cube/driver.orion.sh index 7211af659..f2fead5bf 100755 --- a/reg_tests/chgres_cube/driver.orion.sh +++ b/reg_tests/chgres_cube/driver.orion.sh @@ -30,7 +30,7 @@ module use ../../modulefiles module load build.$target.intelllvm module list -ulimit -s unlimited +ulimit -a export OUTDIR="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" export OUTDIR="${OUTDIR}/reg-tests/chgres-cube" diff --git a/reg_tests/cpld_gridgen/rt.sh b/reg_tests/cpld_gridgen/rt.sh index ca499347a..1a97e4029 100755 --- a/reg_tests/cpld_gridgen/rt.sh +++ b/reg_tests/cpld_gridgen/rt.sh @@ -70,7 +70,7 @@ elif [[ $target = orion ]]; then export NCCMP=nccmp BASELINE_ROOT=/work/noaa/nems/role-nems/ufs_utils/reg_tests/cpld_gridgen/baseline_data PARTITION='' - ulimit -s unlimited + ulimit -a elif [[ $target = hercules ]]; then STMP=${STMP:-/work2/noaa/stmp/$USER} ACCOUNT=${ACCOUNT:-fv3-cpu} diff --git a/reg_tests/global_cycle/driver.orion.sh b/reg_tests/global_cycle/driver.orion.sh index c04ba7b2a..871e9ae5d 100755 --- a/reg_tests/global_cycle/driver.orion.sh +++ b/reg_tests/global_cycle/driver.orion.sh @@ -25,6 +25,8 @@ module use ../../modulefiles module load build.$target.intelllvm module list +ulimit -a + export WORK_DIR="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" PROJECT_CODE="${PROJECT_CODE:-fv3-cpu}" diff --git a/reg_tests/grid_gen/driver.orion.sh b/reg_tests/grid_gen/driver.orion.sh index 16ce6010e..7afe4bbc3 100755 --- a/reg_tests/grid_gen/driver.orion.sh +++ b/reg_tests/grid_gen/driver.orion.sh @@ -27,7 +27,7 @@ module load build.$target.intelllvm module list set -x -ulimit -s unlimited +ulimit -a export WORK_DIR="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" export WORK_DIR="${WORK_DIR}/reg-tests/grid-gen" diff --git a/reg_tests/ice_blend/driver.orion.sh b/reg_tests/ice_blend/driver.orion.sh index afeaf16cd..a21b8893e 100755 --- a/reg_tests/ice_blend/driver.orion.sh +++ b/reg_tests/ice_blend/driver.orion.sh @@ -36,7 +36,7 @@ module load grib-util/1.4.0 module load wgrib2/3.6.0 module list -ulimit -s unlimited +ulimit -a export DATA="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" export DATA="${DATA}/reg-tests/ice-blend" diff --git a/reg_tests/ocnice_prep/rt.sh b/reg_tests/ocnice_prep/rt.sh index b2f04d28c..34004df88 100755 --- a/reg_tests/ocnice_prep/rt.sh +++ b/reg_tests/ocnice_prep/rt.sh @@ -86,7 +86,7 @@ elif [[ $target = orion ]]; then WLCLK=15 export NCCMP=nccmp PARTITION='' - ulimit -s unlimited + ulimit -a elif [[ $target = hercules ]]; then STMP=${STMP:-/work2/noaa/stmp/$USER} BASELINE_ROOT=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/ocnice_prep/baseline_data diff --git a/reg_tests/regrid_sfc/driver.sh b/reg_tests/regrid_sfc/driver.sh index 0505bdf89..93a36fee3 100755 --- a/reg_tests/regrid_sfc/driver.sh +++ b/reg_tests/regrid_sfc/driver.sh @@ -67,6 +67,7 @@ elif [[ "$target" == "orion" ]];then export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/reg_tests/regrid_sfc export APRUN_REGRID=srun PARTITION='' + ulimit -a elif [[ "$target" == "hercules" ]];then WORK_DIR="${WORK_DIR:-/work2/noaa/stmp/$LOGNAME}" PROJECT_CODE="${PROJECT_CODE:-fv3-cpu}" diff --git a/reg_tests/rt.sh b/reg_tests/rt.sh index 0d008a60d..b77340ab9 100755 --- a/reg_tests/rt.sh +++ b/reg_tests/rt.sh @@ -13,7 +13,11 @@ wait_for_fin() { done } -ulimit -s unlimited +if [[ "$(hostname)" =~ "Orion" || "$(hostname)" =~ "orion" ]]; then + ulimit -a +else + ulimit -s unlimited +fi export MAILTO= diff --git a/reg_tests/snow2mdl/driver.orion.sh b/reg_tests/snow2mdl/driver.orion.sh index df6415c22..df0b87d5f 100755 --- a/reg_tests/snow2mdl/driver.orion.sh +++ b/reg_tests/snow2mdl/driver.orion.sh @@ -28,7 +28,7 @@ module load wgrib2/3.6.0 module load prod_util/2.1.1 module list -ulimit -s unlimited +ulimit -a export DATA_ROOT="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" export DATA_ROOT="${DATA_ROOT}/reg-tests/snow2mdl" diff --git a/reg_tests/weight_gen/driver.orion.sh b/reg_tests/weight_gen/driver.orion.sh index a660e2e64..1da293508 100755 --- a/reg_tests/weight_gen/driver.orion.sh +++ b/reg_tests/weight_gen/driver.orion.sh @@ -36,6 +36,8 @@ module use ../../modulefiles module load build.$target.$compiler module list +ulimit -a + export DATA="${WORK_DIR:-/work/noaa/stmp/$LOGNAME}" export DATA="${DATA}/reg-tests/weight_gen"