File: manual_test_drmaa.py

package info (click to toggle)
python-ruffus 2.8.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,468 kB
  • sloc: python: 17,613; makefile: 213; sh: 18
file content (10 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
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)