Commit 904259e1 authored by Module Admin's avatar Module Admin
Browse files

Use cyclic exclusive srun step allocation

parent 88f9db54
......@@ -173,7 +173,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 -n1 -c%d %s" % (
srun_cmd = "srun --exclusive -N1 -n1 --cpus-per-task=%d --distribution=cyclic %s" % (
cpus_per_task, cmd['__command']['value'])
ret = call(srun_cmd, shell=True, stderr=stderr_file,
......
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