Difference between revisions of "Python/Batch"

From ScientificComputing
Jump to: navigation, search
(Created page with "For small tests, pre- and post-processing with Python, you can start an interactive sessions on one of the login nodes. All other Python jobs have to be submitted through the...")
(No difference)

Revision as of 11:16, 23 August 2016

For small tests, pre- and post-processing with Python, you can start an interactive sessions on one of the login nodes. All other Python jobs have to be submitted through the batch system. You can start a Python job (my_python_script.py) in batch mode with the following command:

bsub [LSF options] "python my_python_script.py"

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.