Add cluster config
This commit is contained in:
parent
42deecf958
commit
059989dad8
@ -48,7 +48,7 @@ fn main()
|
|||||||
let job = benchmark_repository.create_result_repository();
|
let job = benchmark_repository.create_result_repository();
|
||||||
|
|
||||||
Command::new("sbatch")
|
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_RESULT_REPOSITORY_URL", &format!("file://{}", fs::canonicalize(&job.result_repository_path).unwrap().display()))
|
||||||
.env("JOB_ID", format!("{}", job.id))
|
.env("JOB_ID", format!("{}", job.id))
|
||||||
.output()
|
.output()
|
||||||
|
Loading…
Reference in New Issue
Block a user