Skip to content

Commit

Permalink
add cardinal vdi
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Sep 30, 2024
1 parent 74eac56 commit f3fb078
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
3 changes: 1 addition & 2 deletions apps.awesim.org/apps/bc_desktop/submit/vdi.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ batch_connect:
export SLURM_EXPORT_ENV=ALL

script:
accounting_id: "<%= account %>"
job_environment:
XDG_RUNTIME_DIR: "/tmp/xdg_runtime"
SINGULARITY_ENVXDG_RUNTIME_DIR: "/tmp/xdg_runtime"
APPTAINER_ENVXDG_RUNTIME_DIR: "/tmp/xdg_runtime"
native:
<%- if cluster == 'ascend-login' -%>
<%- if ['ascend-login', 'cardinal-login'].include?(cluster) -%>
singularity_container: "/apps/project/ondemand/singularity/mate-rhel8/mate-rhel8.sif"
singularity_bindpath: "/run,/apps"
<%- else -%>
Expand Down
14 changes: 1 addition & 13 deletions apps.awesim.org/apps/bc_desktop/vdi.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<%-
groups = OodSupport::User.new.groups.sort_by(&:id).tap { |groups|
groups.unshift(groups.delete(OodSupport::Process.group))
}.map(&:name).grep(/^P./)
-%>
---
title: "Lightweight Desktop"
description: |
Expand All @@ -21,7 +16,7 @@ form:
- cluster
- bc_vnc_idle
- desktop
- account
- auto_accounts
- bc_num_hours
- bc_num_slots
- licenses
Expand Down Expand Up @@ -65,13 +60,6 @@ attributes:
pattern: '^([\w]+@osc:\d+,{0,1})+$'
node_type: ":ppn=1"
bc_email_on_started: 0
account:
label: "Project"
widget: select
options:
<%- groups.each do |group| %>
- "<%= group %>"
<%- end %>
bc_vnc_idle: 0
bc_vnc_resolution:
required: true
Expand Down

0 comments on commit f3fb078

Please sign in to comment.