File: manual_test_drmaa.py

package info (click to toggle)
python-ruffus 2.6.3%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 20,828 kB
  • ctags: 2,843
  • sloc: python: 15,745; makefile: 180; sh: 14
file content (9 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from ruffus import *
from ruffus.drmaa_wrapper import *
import drmaa
drmaa_session = drmaa.Session()
drmaa_session.initialize()
logger, logger_mutex = cmdline.setup_logging ("me", "test.log", 1)
job_queue_name = "short.qb"
job_other_options='-P mott-flint.prjb'
run_job_using_drmaa ("ls", job_queue_name, None, "test_job_name", job_other_options, logger, drmaa_session)