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

Update submit.yml.erb to pass env var to slurm job

Fixes interactive job not being archived
parent 876ad412
Branches fix-env-var-job-archive
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@
batch_connect:
template: "vnc"
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