diff --git a/jobs/rocoto/arch_test.sh b/jobs/rocoto/arch_test.sh index 1134dd4e53..083e319bf5 100644 --- a/jobs/rocoto/arch_test.sh +++ b/jobs/rocoto/arch_test.sh @@ -1,8 +1,24 @@ #! /usr/bin/env bash +source "${HOMEgfs}/ush/preamble.sh" + +############################################################### +# Source FV3GFS workflow modules +. "${HOMEgfs}"/ush/load_fv3gfs_modules.sh +status=$? +[[ ${status} -ne 0 ]] && exit "${status}" + +############################################################### +# setup python path for workflow utilities and tasks +PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/ush/python" +export PYTHONPATH + +export job="arch" +export jobid="${job}.$$" + ############################################################### # Execute the JJOB -echo "test is successful!" +"${HOMEgfs}"/jobs/JGLOBAL_ARCHIVE status=$? exit "${status}"