Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jobs/JGLOBAL_ARCHIVE_TARS
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ fi
###############################################################

set +eu
# Do not export shell opts to the bash scripts in the htar/hsi wrappers
export -n SHELLOPTS
${GLOBALARCHIVESH:-${SCRgfs}/exglobal_archive_tars.py}
export err=$?
set +x
Expand Down
1 change: 1 addition & 0 deletions jobs/JGLOBAL_ENS_ARCHIVE_TARS
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if [[ ! -d ${COMOUT_CONF} ]]; then mkdir -p "${COMOUT_CONF}"; fi

# Calls an external bash command; do not fail on unassigned/error
set +eu
export -n SHELLOPTS
"${SCRgfs}/exgdas_enkf_earc_tars.py"
export err=$?
set +x
Expand Down
1 change: 1 addition & 0 deletions jobs/JGLOBAL_ENS_GLOBUS_ARCH
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ MEMDIR="ensstat" YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
# Run globus script
###############################################################

export -n SHELLOPTS
${GLOBALGLOBUSARCHSH:-${SCRgfs}/exglobal_globus_earc.py}
err=$?
if [[ ${err} -ne 0 ]]; then
Expand Down
2 changes: 2 additions & 0 deletions jobs/JGLOBAL_FETCH
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
source "${HOMEgfs}/ush/jjob_header.sh" -e "fetch" -c "base fetch"

# Execute fetching
# Do not export shell opts to the bash scripts in the htar/hsi wrappers
export -n SHELLOPTS
"${SCRgfs}/exglobal_fetch.py"
err=$?

Expand Down
1 change: 1 addition & 0 deletions jobs/JGLOBAL_GLOBUS_ARCH
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \
# Run globus script
###############################################################

export -n SHELLOPTS
${GLOBALGLOBUSARCHSH:-${SCRgfs}/exglobal_globus_arch.py}
err=$?
[[ ${err} -ne 0 ]] && exit "${err}"
Expand Down