Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix running both Intel and GNU regression tests using ecflow on the same machine (node) #273

Closed
19 changes: 0 additions & 19 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,7 @@ source rt_utils.sh

if [[ $MACHINE_ID = wcoss_cray ]]; then

source $PATHTR/NEMS/src/conf/module-setup.sh.inc
DusanJovic-NOAA marked this conversation as resolved.
Show resolved Hide resolved
module load xt-lsfhpc

module use $PATHTR/modulefiles/${MACHINE_ID}
module load fv3

module load python/2.7.14

module use /usrx/local/emc_rocoto/modulefiles
Expand Down Expand Up @@ -136,12 +131,7 @@ if [[ $MACHINE_ID = wcoss_cray ]]; then

elif [[ $MACHINE_ID = wcoss_dell_p3 ]]; then

source $PATHTR/NEMS/src/conf/module-setup.sh.inc
module load lsf/10.1

module use $PATHTR/modulefiles/${MACHINE_ID}
module load fv3

module load python/2.7.14

module use /usrx/local/dev/emc_rocoto/modulefiles
Expand Down Expand Up @@ -192,11 +182,6 @@ elif [[ $MACHINE_ID = gaea.* ]]; then

elif [[ $MACHINE_ID = hera.* ]]; then

source $PATHTR/NEMS/src/conf/module-setup.sh.inc

module use $PATHTR/modulefiles/${MACHINE_ID}
module load fv3

module load rocoto
ROCOTORUN=$(which rocotorun)
ROCOTOSTAT=$(which rocotostat)
Expand Down Expand Up @@ -224,10 +209,6 @@ elif [[ $MACHINE_ID = hera.* ]]; then

elif [[ $MACHINE_ID = orion.* ]]; then

source $PATHTR/NEMS/src/conf/module-setup.sh.inc

module use $PATHTR/modulefiles/${MACHINE_ID}
module load fv3
module load gcc/8.3.0

module load contrib rocoto/1.3.1
Expand Down
5 changes: 3 additions & 2 deletions tests/rt_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -360,16 +360,17 @@ rocoto_create_compile_task() {

NATIVE=""
BUILD_CORES=8
BUILD_WALLTIME="00:30:00"
if [[ ${MACHINE_ID} == wcoss_dell_p3 ]]; then
BUILD_CORES=1
NATIVE="<memory>8G</memory> <native>-R 'affinity[core(1)]'</native>"
BUILD_WALLTIME="01:00:00"
fi
if [[ ${MACHINE_ID} == wcoss_cray ]]; then
BUILD_CORES=24
rocoto_cmd="aprun -n 1 -j 1 -N 1 -d $BUILD_CORES $rocoto_cmd"
NATIVE="<exclusive></exclusive>"
NATIVE="<exclusive></exclusive> <envar><name>PATHTR</name><value>&PATHTR;</value></envar>"
fi
BUILD_WALLTIME="00:30:00"
if [[ ${MACHINE_ID} == jet ]]; then
BUILD_WALLTIME="01:00:00"
fi
Expand Down
27 changes: 25 additions & 2 deletions tests/tests/fv3_ccpp_control_debug
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,32 @@

export TEST_DESCR="Compare FV3 CCPP control results with previous trunk version"

export CNTL_DIR=fv3_control
export CNTL_DIR=fv3_control_debug

export LIST_FILES=""
export LIST_FILES="phyf000.tile1.nc \
phyf000.tile2.nc \
phyf000.tile3.nc \
phyf000.tile4.nc \
phyf000.tile5.nc \
phyf000.tile6.nc \
dynf000.tile1.nc \
dynf000.tile2.nc \
dynf000.tile3.nc \
dynf000.tile4.nc \
dynf000.tile5.nc \
dynf000.tile6.nc \
phyf006.tile1.nc \
phyf006.tile2.nc \
phyf006.tile3.nc \
phyf006.tile4.nc \
phyf006.tile5.nc \
phyf006.tile6.nc \
dynf006.tile1.nc \
dynf006.tile2.nc \
dynf006.tile3.nc \
dynf006.tile4.nc \
dynf006.tile5.nc \
dynf006.tile6.nc"

export_fv3

Expand Down
18 changes: 16 additions & 2 deletions tests/tests/fv3_ccpp_stretched_nest_debug
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,22 @@

export TEST_DESCR="Compare FV3 CCPP control results with previous trunk version"

export CNTL_DIR=fv3_stretched_nest
export LIST_FILES=
export CNTL_DIR=fv3_stretched_nest_debug

export LIST_FILES="fv3_history2d.nest02.tile7.nc \
fv3_history2d.tile1.nc \
fv3_history2d.tile2.nc \
fv3_history2d.tile3.nc \
fv3_history2d.tile4.nc \
fv3_history2d.tile5.nc \
fv3_history2d.tile6.nc \
fv3_history.nest02.tile7.nc \
fv3_history.tile1.nc \
fv3_history.tile2.nc \
fv3_history.tile3.nc \
fv3_history.tile4.nc \
fv3_history.tile5.nc \
fv3_history.tile6.nc"

export_fv3

Expand Down