Fix scheduler script name construction
@@ -265,13 +265,14 @@ then
(( VERBOSE )) && MACHINE_ARGS+=( -V )
(( TURBINE_STATIC_EXEC )) && MACHINE_ARGS+=( -X )
(( EXEC_SCRIPT )) && MACHINE_ARGS+=( -x )
- # Construct the scheduler script name
- RUN_SCRIPT_NAME=${MACHINE_MODE}/turbine-${MACHINE_MODE}-run.zsh
# Set up PYTHONPATH for turbine_helpers
if (( ${#TURBINE_USE_PYTHON} ))
then
export PYTHONPATH=${TURBINE_HOME}/py${PYTHONPATH:+:}${PYTHONPATH:-}
fi
+ # Construct the scheduler script name
+ RUN_SCRIPT_NAME=${MACHINE_MODE}/turbine-${MACHINE_MODE}-run.zsh
+ RUN_SCRIPT=${TURBINE_HOME}/scripts/submit/${RUN_SCRIPT_NAME}
# Call the scheduler script:
${RUN_SCRIPT} ${MACHINE_ARGS} ${SCHED_OPTS} ${PROGRAM} ${ARGS}
exit ${?}
