Skip to content

Commit

Permalink
Improve new QSUB_1NODE scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
billkarsh committed Jun 26, 2017
1 parent 5b2332a commit 494e05d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion 00_ENV/QSUB_1NODE.sht
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# /dev/null, which suppresses output.
#
# ierrfile is one of {0,1}. Zero joins stderr to stdout. One creates
# an error file named "<jobname>.e".
# an error file named "<jobname>.err".


QSUB_1NODE_SGE.sht "$1" "$2" "$3" "$4" "$5" "$6"
Expand Down
8 changes: 4 additions & 4 deletions 00_ENV/QSUB_1NODE_LSF.sht
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# /dev/null, which suppresses output.
#
# ierrfile is one of {0,1}. Zero joins stderr to stdout. One creates
# an error file named "<jobname>.e".
# an error file named "<jobname>.err".
#
# Aligner requires:
# -J <jobname> ;jobname
Expand Down Expand Up @@ -65,12 +65,12 @@ if [ $4 == 0 ]
then
errorcmd=""
else
errorcmd="-e $2.e"
errorcmd="-e $2.err"
fi

# Following produces diagnostic stdout/stderr email (no outfile spec)
#bsub $time_hint -J $2 $req_params $usr_params -n $5 $6
#bsub $time_hint -J "$2" $req_params $usr_params -n $5 "$6"

# Following is standard execution, no email
bsub $time_hint -J $2 $req_params $usr_params -o $outfile $errorcmd -n $5 $6
bsub $time_hint -J "$2" $req_params $usr_params -o $outfile $errorcmd -n $5 "$6"

6 changes: 3 additions & 3 deletions 00_ENV/QSUB_1NODE_SGE.sht
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# /dev/null, which suppresses output.
#
# ierrfile is one of {0,1}. Zero joins stderr to stdout. One creates
# an error file named "<jobname>.e".
# an error file named "<jobname>.err".
#
# Aligner requires:
# -N <jobname> ;jobname
Expand Down Expand Up @@ -71,8 +71,8 @@ if [ $4 == 0 ]
then
errorcmd="-j y"
else
errorcmd="-e $2.e"
errorcmd="-e $2.err"
fi

qsub $time_hint -N $2 $req_params $usr_params -o $outfile $errorcmd -pe $pe_name $5 $6
qsub $time_hint -N "$2" $req_params $usr_params -o $outfile $errorcmd -pe $pe_name $5 "$6"

0 comments on commit 494e05d

Please sign in to comment.