Skip to content

Commit

Permalink
use --nv to correctly use gpus on ascend (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored May 26, 2023
1 parent 8578494 commit bf263e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ batch_connect:
# your bindpath will differ
export APPTAINER_BINDPATH="/run,/apps,/tmp"

apptainer run <%= image %> /bin/bash container.sh
apptainer run --nv <%= image %> /bin/bash container.sh
<%- end -%>
script:
accounting_id: "<%= account %>"
Expand Down
2 changes: 1 addition & 1 deletion ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ batch_connect:
# your bindpath will differ
export APPTAINER_BINDPATH="/run,/apps,/tmp"

apptainer run <%= image %> /bin/bash container.sh
apptainer run --nv <%= image %> /bin/bash container.sh
<%- end -%>
script:
accounting_id: "<%= account %>"
Expand Down

0 comments on commit bf263e6

Please sign in to comment.