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

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

Update submit.yml.erb to pass env var to slurm job
parents 53ea9b32 911a7ef0
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ batch_connect: ...@@ -10,6 +10,8 @@ batch_connect:
template: "basic" template: "basic"
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