Skip to content
Snippets Groups Projects
Unverified Commit 014e5618 authored by Ravi Tripathi's avatar Ravi Tripathi Committed by GitHub
Browse files

Merge pull request #6 from uabrc/fix-env-var-job-archive

Update submit.yml.erb to pass env var to slurm job
parents f1ae45c6 bbbe184e
No related branches found
No related tags found
No related merge requests found
...@@ -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