Skip to content

Commit

Permalink
Uncomment new_compile=true in rocoto_create_compile_task
Browse files Browse the repository at this point in the history
  • Loading branch information
DusanJovic-NOAA committed May 16, 2024
1 parent 2ca46a6 commit 5da94e0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/rt_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ function compute_petbounds_and_tasks() {
}

interrupt_job() {
echo "rt_utils.sh: Job ${jobid} interupted"
#echo "run_util.sh: interrupt_job called | Job#: ${jobid}"
echo "rt_utils.sh: Job ${jobid} interrupted"
case ${SCHEDULER} in
pbs)
qdel "${jobid}"
Expand Down Expand Up @@ -398,7 +397,7 @@ kill_job() {

rocoto_create_compile_task() {
echo "rt_utils.sh: ${COMPILE_ID}: Creating ROCOTO compile task."
#new_compile=true
new_compile=true
if [[ ${in_metatask} == true ]]; then
in_metatask=false
echo " </metatask>" >> "${ROCOTO_XML}"
Expand Down Expand Up @@ -575,7 +574,6 @@ ecflow_create_compile_task() {
echo "rt_utils.sh: ${COMPILE_ID}: Creating ECFLOW compile task"
export new_compile=true


cat << EOF > "${ECFLOW_RUN}/${ECFLOW_SUITE}/compile_${COMPILE_ID}.ecf"
%include <head.h>
${PATHRT}/run_compile.sh "${PATHRT}" "${RUNDIR_ROOT}" "${MAKE_OPT}" "${COMPILE_ID}" > "${LOG_DIR}/compile_${COMPILE_ID}.log" 2>&1 &
Expand Down

0 comments on commit 5da94e0

Please sign in to comment.