Skip to content

Commit

Permalink
Append 'M' multiplier to memory value in SGE implementation. (Issue #40)
Browse files Browse the repository at this point in the history
  • Loading branch information
emi80 committed Jan 30, 2014
1 parent d3c0d07 commit cd27039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jip/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def submit(self, job):
if job.working_directory:
cmd.extend(["-wd", job.working_directory])
if job.max_memory > 0:
cmd.extend(["-l", '%s=%s' % (self.mem_limit, str(job.max_memory))])
cmd.extend(["-l", '%s=%sM' % (self.mem_limit, str(job.max_memory))])
if job.account:
cmd.extend(["-A", str(job.account)])
if job.extra is not None:
Expand Down

0 comments on commit cd27039

Please sign in to comment.