Stata/Batch

From ScientificComputing
Revision as of 11:54, 30 September 2016 by Sfux (talk | contribs) (Created page with "You can submit a Stata job (my_Stata_script.do) in batch mode with the following command: bsub [LSF options] "stata -b do my_Stata_script.do" or in the case of StataMP: b...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can submit a Stata job (my_Stata_script.do) in batch mode with the following command:

bsub [LSF options] "stata -b do my_Stata_script.do"

or in the case of StataMP:

bsub [LSF options] "stata-mp -b do my_parallel_Stata_script.do"

Here you need to replace [LSF options] with LSF parameters for the resource requirements of the job. Please find a documentation about the parameters of bsub on the wiki page about the batch system.