"symphony/git@developer.sourcefind.cn:cnjsdfcy/simbricks.git" did not exist on "a4a71d8e42d9b6a08e3b4f388a631daafb380f99"
Commit 8b66ece4 authored by Hejing Li's avatar Hejing Li
Browse files

slurm: one experiment get one numa node

parent 359e170c
......@@ -213,9 +213,12 @@ class SlurmRuntime(Runtime):
with open(exp_script, 'w') as f:
f.write('#!/bin/sh\n')
f.write('#SBATCH -o %s -e %s\n' % (exp_log, exp_log))
f.write('#SBATCH -c %d\n' % (exp.resreq_cores(),))
#f.write('#SBATCH -c %d\n' % (exp.resreq_cores(),))
f.write('#SBATCH --mem=%dM\n' % (exp.resreq_mem(),))
f.write('#SBATCH --job-name="%s"\n' % (run.name(),))
f.write('#SBATCH --exclude=spyder[01-05],spyder16\n')
f.write('#SBATCH -c 32\n')
f.write('#SBATCH --nodes=1\n')
if exp.timeout is not None:
h = int(exp.timeout / 3600)
m = int((exp.timeout % 3600) / 60)
......
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