Difference between revisions of "Python/Batch"
From ScientificComputing
(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...") |
|||
Line 3: | Line 3: | ||
bsub [LSF options] "python my_python_script.py" | 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 [[Using_the_batch_system|batch system]]. | + | 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 <tt>bsub</tt> on the wiki page about the [[Using_the_batch_system|batch system]]. |
Revision as of 12:15, 29 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.