From 2f2ed225bd62a537d6414cc6c097a9ff9aaf6997 Mon Sep 17 00:00:00 2001 From: AntonMFernando Date: Tue, 16 Jul 2024 17:46:25 -0400 Subject: [PATCH] added arch_test.sh --- jobs/rocoto/arch_test.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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}"