Commit 302658fc authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Fix slurm: launch to only 1 node

parent de395167
......@@ -537,7 +537,7 @@ class JobManager:
native_specs = self.config.drmaa_native_specs
if batch_system_type == "slurm":
if native_specs == "###DEFAULT###":
native_specs = "--mem-per-cpu={0} --ntasks={1} --time={2}"
native_specs = "--mem-per-cpu={0} --mincpus={1} -N 1 --time={2}"
if step == "prepare":
jt.nativeSpecification = native_specs.format(memory, 1, "02:00:00")
elif step == "start":
......
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