Commit 1226c7be authored by André Anjos's avatar André Anjos

Merge branch 'fix_lgpu' into 'master'

Fix submission to gpu queues removing memfree and hvmem settings (causing issues…

See merge request !24
parents f7e3f57c 67618207
Pipeline #24269 passed with stages
in 3 minutes and 9 seconds
......@@ -136,6 +136,10 @@ def submit(args):
kwargs['gpumem'] = args.memory # assign directly
elif args.memory.endswith('G'):
kwargs['gpumem'] = args.memory[:-1] # remove G at the end
# don't set these for GPU processing or the maximum virtual memroy will be
# set on ulimit
if 'memfree' in kwargs: del kwargs['memfree']
if 'hvmem' in kwargs: del kwargs['hvmem']
if args.parallel is not None:
kwargs['pe_opt'] = "pe_mth %d" % args.parallel
if args.memory is not None:
......
Markdown is supported
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