Commit eca580dc authored by Holger Brandl's avatar Holger Brandl

added option to force local mode for job execution

parent 79f4c4e5
......@@ -239,7 +239,7 @@ mysub(){
if [ ! -d .logs ]; then mkdir .logs; fi
## use bsub if available, otherwise fall back to simple eval and ignore other arguments
if [ -n "$(command -v bsub)" ]; then
if [ -n "$(command -v bsub)" ] && [ -z "$LOCAL_RUN" ]; then
# echo "submitting job ${jobName}"
bsub -J $jobName $@ "( $jobCmd ) 2>.logs/${jobName}.err.log 1>.logs/${jobName}.out.log"
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment