From 23c6846183e275f716956bf46d79b97814530a78 Mon Sep 17 00:00:00 2001 From: Jaron Krogel Date: Fri, 26 Sep 2014 14:01:27 +0000 Subject: [PATCH] small fix to handling of aprun options git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@6362 e5b18d87-469d-4833-9cc0-8cdfa06e9491 --- project_suite/library/machines.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project_suite/library/machines.py b/project_suite/library/machines.py index 9557b2d57..ae72daa68 100644 --- a/project_suite/library/machines.py +++ b/project_suite/library/machines.py @@ -1079,13 +1079,13 @@ class Supercomputer(Machine): if 'n' in self.aprun_options: job.run_options.add(n='-n '+str(job.processes)) #end if - if 'd' in job.aprun_options and job.threads>1: + if 'd' in self.aprun_options and job.threads>1: job.run_options.add('-d '+str(job.threads)) #end if - if 'N' in job.aprun_options and job.processes_per_node!=None: + if 'N' in self.aprun_options and job.processes_per_node!=None: job.run_options.add(N='-N '+str(job.processes_per_node)) #end if - if 'S' in job.aprun_options and job.processes_per_proc!=None: + if 'S' in self.aprun_options and job.processes_per_proc!=None: job.run_options.add(S='-S '+str(job.processes_per_proc)) #end if elif launcher=='runjob':