Commit e52ea7a6 authored by David Trudgian's avatar David Trudgian
Browse files

Supress multi-node for single task warning from slurm

parent 7fd49fbc
......@@ -172,7 +172,7 @@ class SrunExecutor(BaseExecutor):
def run_cmd(self, cmd, stderr_file, stdout_file):
cpus_per_task = self.params.vals['cpus_per_task']
srun_cmd = "srun -n1 -c%d %s" % ( cpus_per_task, cmd['__command']['value'])
srun_cmd = "srun -N1 -n1 -c%d %s" % ( cpus_per_task, cmd['__command']['value'])
ret = call(srun_cmd, shell=True, stderr=stderr_file,
stdout=stdout_file, env=os.environ)
......
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