Last active
August 29, 2015 14:16
-
-
Save crmackay/6b21a03b299b8a111456 to your computer and use it in GitHub Desktop.
lsf in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
# | |
#BSUB -W 00:10 | |
#BSUB -q regular | |
#BSUB -n 12 | |
#BSUB -J myjob.py | |
#BSUB -P project_code | |
#BSUB -oo output | |
os.system("/path/to/my/exectuble") # my note: one should use the subprocess module instead of os.system... | |
## from https://www2.cisl.ucar.edu/resources/yellowstone/using_resources/runningjobs/lsf_examples |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment