Add cluster config

This commit is contained in:
Patrick Lühne 2019-03-02 00:55:28 +01:00
parent 42deecf958
commit 059989dad8
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -48,7 +48,7 @@ fn main()
let job = benchmark_repository.create_result_repository();
Command::new("sbatch")
.args(&["/home/pluehne/test-job.sh"])
.args(&["/home/pluehne/test-job.sh", "--nodes", "1", "--ntasks-per-node", "1", "-p", "kr"])
.env("JOB_RESULT_REPOSITORY_URL", &format!("file://{}", fs::canonicalize(&job.result_repository_path).unwrap().display()))
.env("JOB_ID", format!("{}", job.id))
.output()