Created
December 5, 2013 12:40
-
-
Save ptrlv/7804550 to your computer and use it in GitHub Desktop.
ARC xrsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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