Commit c86fe866 authored by Manuel Günther's avatar Manuel Günther

Fixed bug in the new implementation of the memfree and hvmem keywords.

parent 59605ae7
......@@ -129,8 +129,8 @@ def qsub(command, queue=None, cwd=True, name=None, deps=[], stdout='',
scmd += ['-l', 'mem_free=%s' % mem]
scmd += ['-l', 'h_vmem=%s' % mem]
else:
if memfree: scmd += ['-l', 'mem_free=%s' % mem]
if hvmem: scmd += ['-l', 'h_vmem=%s' % mem]
if memfree: scmd += ['-l', 'mem_free=%s' % memfree]
if hvmem: scmd += ['-l', 'h_vmem=%s' % hvmem]
if hostname: scmd += ['-l', 'hostname=%s' % hostname]
......
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