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

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

fixes job_archive issue.
parent d846dcec
Branches fix-env-var-job-archive
No related tags found
1 merge request!10Update submit.yml.erb to pass env var to slurm job
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
batch_connect: batch_connect:
template: "vnc" template: "vnc"
script: script:
job_environment:
USER: "<%= ENV['USER'] %>"
native: native:
- "-N 1" - "-N 1"
- "-n <%= bc_num_slots.blank? ? 1 : bc_num_slots.to_i %>" - "-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