Commit 67618207 authored by André Anjos's avatar André Anjos 💬

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

Fix submission to gpu queues removing memfree and hvmem settings (causing issues with virtual memory allocation)
parent f7e3f57c
Pipeline #24268 passed with stage
in 9 minutes and 52 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