Skip to content

Instantly share code, notes, and snippets.

@ptrlv
Created December 5, 2013 12:40
Show Gist options
  • Save ptrlv/7804550 to your computer and use it in GitHub Desktop.
Save ptrlv/7804550 to your computer and use it in GitHub Desktop.
ARC xrsl
nordugridrsl = '(jobname = arc_pilot)'
rsladd = '(runtimeenvironment = APPS/HEP/ATLAS-SITE-LCG)(runtimeenvironment = ENV/PROXY)'
rsladd += '(jobname = arc_pilot)'
if memory:
rsladd += '(memory = %d)' % memory
if corecount:
rsladd += '(count = %d)' % corecount
if maxmemory and corecount:
percore = maxmemory/corecount
rsladd += '(maxmemory = %d)' % percore
if maxtime:
rsladd += '(wallTime = %d)' % maxtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment