Skip to content

Commit

Permalink
works much better now
Browse files Browse the repository at this point in the history
  • Loading branch information
mfiers committed Jun 9, 2012
1 parent 3f37f90 commit b2d1e91
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/python/moa/plugin/system/openLavaActor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def hook_defineCommandOptions(job, parser):
parser.add_argument( '--oln', default=1, type=int, dest='openlavaSlots',
help='The number of cores the jobs requires')

parser.add_argument( '--olm', default=1, dest='openlavaHost',
help='The host to use for openlava')

def openlavaRunner(wd, cl, conf={}, **kwargs):
"""
Run the job using OPENLAVA
Expand Down Expand Up @@ -85,6 +88,9 @@ def s(*cl):

bsub_cl.extend(["-n", slots])

if '--olm' in sys.argv:
bsub_cl.extend(["-m", sysConf.args.openlavaHost])

lastJids = []

#if len(sysConf.job.data.openlava.get('jidlist', [])) > 1:
Expand Down

0 comments on commit b2d1e91

Please sign in to comment.