Commit 2347d9df authored by Holger Brandl's avatar Holger Brandl

fixed mysub

parent c44a119c
......@@ -262,7 +262,7 @@ mysub(){
## use bsub if available, otherwise fall back to simple eval and ignore other arguments
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" | joblist .logs/${jobName}.jobid
bsub -J $jobName $@ "( $jobCmd ) 2>.logs/${jobName}.err.log 1>.logs/${jobName}.out.log" | joblist .logs/${jobName}.jobid 2>&1
else
echo "using eval instead of bsub for ${jobName}"
eval $jobCmd 2>.logs/${jobName}.err.log 1>.logs/${jobName}.out.log
......
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