"vscode:/vscode.git/clone" did not exist on "55927aaf7e08faac6d6631a1bc0dba4e7ced024b"
Commit c5a28c04 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: verbose support for slurm

parent fe2ddae0
......@@ -192,7 +192,11 @@ class SlurmRuntime(Runtime):
s = int(exp.timeout % 60)
f.write('#SBATCH --time=%02d:%02d:%02d\n' % (h, m, s))
f.write('python3 run.py --pickled %s\n' % (exp_path))
extra = ''
if self.verbose:
extra = '--verbose'
f.write('python3 run.py %s --pickled %s\n' % (extra, exp_path))
f.write('status=$?\n')
if self.cleanup:
f.write('rm -rf %s\n' % (run.env.workdir))
......
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