Skip to content
Snippets Groups Projects
Unverified Commit 9ba7ec0e authored by eesaanatluri's avatar eesaanatluri Committed by GitHub
Browse files

Update submit.yml.erb to pass env var to slurm job (#7)

Fixes interactive job not being archived
parent d9c6f79c
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ batch_connect:
template: "basic"
script:
job_environment:
USER: "<%= ENV['USER'] %>"
native:
- "-N 1"
- "-n <%= bc_num_slots.blank? ? 1 : bc_num_slots.to_i %>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment