Skip to content
Snippets Groups Projects
Commit ac3505e6 authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

importexp: added heuristic to discern run_start from run scripts

parent aeada54b
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,13 @@ done\
SLURM_JOB_CPUS_PER_NODE=72
export SLURM_JOB_NUM_NODES SLURM_NODELIST SLURM_JOB_CPUS_PER_NODE
# Try to mimic restart logic
restart=.true.
case $RUN_SCRIPT in
*start*) restart=.false. ;;
esac
export restart
echo "Running '$RUN_SCRIPT'" >&2
${COMMAND:-/bin/sh} -x $RUN_FILE > $LOG_FILE 2>&1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment