Commit d9393c47 authored by Marian Babik's avatar Marian Babik
Browse files

added support for arc RSL extension (condor backend)

parent de3e1ae8
......@@ -73,6 +73,8 @@ app.add_argument('--arc-debug', dest='arc_debug', default='INFO',
help='ARC backend: arcsub debug flag (defaults to INFO)')
app.add_argument('--arc-gmlog', action='store_true', default=False,
help='ARC backend: request gmlog')
app.add_argument('--arc-rsl', dest='arc_rsl',
help='ARC backend: add-ons for nordugrid_rsl')
app.add_argument('--wnfm-config', dest='wnfm_config', help='ETF WN qFM: configuration file (json)')
app.add_argument('--wnfm-static', dest='wnfm_static',
help='ETF WN qFM: Path to the statically compiled version of ETF WN qFM')
......@@ -236,6 +238,8 @@ def __get_resource(args):
'(runtimeenvironment=ENV/PROXY)'}
else:
rsl = {'nordugrid_rsl': '(walltime=1800)(cputime=1800)(runtimeenvironment=ENV/PROXY)'}
if args.arc_rsl:
rsl['nordugrid_rsl'] = rsl['nordugrid_rsl'] + args.arc_rsl
elif ce_type == 'gt' or 'ce_type' == 'gt5':
grid_resource = 'gt2 ' + host + ':' + str(port) + '/jobmanager'
if jm:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment