Skip to content

Commit

Permalink
ascend can use MATE installed on the host
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Jul 31, 2023
1 parent bfd5f4c commit f367e3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions apps.awesim.org/apps/bc_desktop/submit/slurm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,6 @@ batch_connect:

# reset SLURM_EXPORT_ENV so that things like srun & sbatch work out of the box
export SLURM_EXPORT_ENV=ALL
<%- if cluster == 'ascend' && desktop == 'mate' -%>
script_wrapper: |
cat << "CTRSCRIPT" > container.sh
module load turbovnc/2.2.7 novnc/1.3.0
%s
CTRSCRIPT

# your bindpath will differ
export APPTAINER_BINDPATH="/run,/apps,/tmp"

apptainer run --nv <%= image %> /bin/bash container.sh
<%- end -%>
script:
accounting_id: "<%= account %>"
native:
Expand Down
12 changes: 0 additions & 12 deletions ondemand.osc.edu/apps/bc_desktop/submit/slurm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,6 @@ batch_connect:

# reset SLURM_EXPORT_ENV so that things like srun & sbatch work out of the box
export SLURM_EXPORT_ENV=ALL
<%- if cluster == 'ascend' && desktop == 'mate' -%>
script_wrapper: |
cat << "CTRSCRIPT" > container.sh
module load turbovnc/2.2.7 novnc/1.3.0
%s
CTRSCRIPT

# your bindpath will differ
export APPTAINER_BINDPATH="/run,/apps,/tmp"

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

0 comments on commit f367e3b

Please sign in to comment.