diff --git a/sorc/test/run_ufs_datm_lnd.sh b/sorc/test/run_ufs_datm_lnd.sh index 52b35466..9014859b 100755 --- a/sorc/test/run_ufs_datm_lnd.sh +++ b/sorc/test/run_ufs_datm_lnd.sh @@ -10,18 +10,9 @@ echo ${project_binary_dir} echo ${project_source_dir} # -MACHINE_ID=${MACHINE_ID:-hera} TEST_NAME=datm_cdeps_lnd_gswp3 PATHRT=${project_source_dir}/ufs_model.fd/tests FIXdir=${project_source_dir}/../fix -if [[ "${MACHINE_ID}" == "hera" ]]; then - INPUTDATA_ROOT="/scratch2/NAGAPE/epic/UFS-WM_RT/NEMSfv3gfs/input-data-20240501" -elif [[ "${MACHINE_ID}" == "orion" ]] || [[ "${MACHINE_ID}" == "hercules" ]]; then - INPUTDATA_ROOT="/work/noaa/epic/UFS-WM_RT/NEMSfv3gfs/input-data-20240501" -else - echo "WARNING: input data path is not specified for this machine." - INPUTDATA_ROOT=${FIXdir} -fi RT_COMPILER=${RT_COMPILER:-intel} ATOL="1e-7" @@ -31,6 +22,16 @@ source ${PATHRT}/default_vars.sh source ${PATHRT}/tests/$TEST_NAME source ${PATHRT}/atparse.bash +MACHINE_ID=${MACHINE_ID:-hera} +if [[ "${MACHINE_ID}" == "hera" ]]; then + INPUTDATA_ROOT="/scratch2/NAGAPE/epic/UFS-WM_RT/NEMSfv3gfs/input-data-20240501" +elif [[ "${MACHINE_ID}" == "orion" ]] || [[ "${MACHINE_ID}" == "hercules" ]]; then + INPUTDATA_ROOT="/work/noaa/epic/UFS-WM_RT/NEMSfv3gfs/input-data-20240501" +else + echo "WARNING: input data path is not specified for this machine." + INPUTDATA_ROOT=${FIXdir} +fi + RTPWD=${RTPWD:-$FIXdir/test_base/${TEST_NAME}_${RT_COMPILER}} if [[ ! -d ${RTPWD} ]]; then