An alternative way of the bsub command line is to use an LSF script file as follows
Usage: bsub < jobfilewhere the jobfile is a job script file. A sample LSF jobfile might contain lines like the following:
#BSUB -J jobnameIf you prefer to have the job output sent to you via email, you can specify an email address instead of specifying output and error file names:
#BSUB -oo outfile.%J
#BSUB -eo errorfile.%J
myprog
#BSUB -J jobnameYou can also use #BSUB comments to specify any other bsub command options that you want to include, and multiple options can be specified on a single #BSUB comment line. An advantage of this method is that all the command options are saved in the job script file so that they are not forgotten.
#BSUB -u userid@missouri.edu
myprog
from: http://umbc.rnet.missouri.edu/resources/Submitting_Jobs_via_LSF.html
No comments:
Post a Comment