Skip to content

Commit

Permalink
Use 'quick' partition for Cardinal VDI
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Dec 11, 2024
1 parent f72c0a1 commit d827432
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 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 @@ -4,7 +4,6 @@

container_lookup = {
'ascend-login' => '/apps/project/ondemand/singularity/mate-rhel8/mate-rhel8.sif',
'cardinal-login' => '/apps/project/ondemand/lightdesktop_base/rhel9/rhel9.sif'
}
-%>
---
Expand All @@ -21,7 +20,7 @@ batch_connect:
export SLURM_EXPORT_ENV=ALL
script:
native:
<%- if ['ascend-login', 'cardinal-login'].include?(cluster) -%>
<%- if ['ascend-login'].include?(cluster) -%>
singularity_container: "<%= container_lookup[cluster] %>"
<%- else -%>
<%- args.each do |arg| -%>
Expand Down
3 changes: 1 addition & 2 deletions apps.awesim.org/apps/bc_desktop/vdi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ attributes:
- "owens"
- "pitzer"
- ["ascend", "ascend-login" ]
- ["cardinal", "cardinal-login" ]
- "cardinal"
desktop:
widget: select
label: "Desktop environment"
Expand All @@ -41,7 +41,6 @@ attributes:
- [
"Gnome", "gnome",
data-option-for-cluster-ascend-login: false,
data-option-for-cluster-cardinal-login: false,
]
help: |
This will launch either the [Xfce] or [Mate] desktop environment on the
Expand Down
3 changes: 1 addition & 2 deletions ondemand.osc.edu/apps/bc_desktop/submit/vdi.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

container_lookup = {
'ascend-login' => '/apps/project/ondemand/singularity/mate-rhel8/mate-rhel8.sif',
'cardinal-login' => '/apps/project/ondemand/lightdesktop_base/rhel9/rhel9.sif'
}
-%>
---
Expand All @@ -21,7 +20,7 @@ batch_connect:
export SLURM_EXPORT_ENV=ALL
script:
native:
<%- if ['ascend-login', 'cardinal-login'].include?(cluster) -%>
<%- if ['ascend-login'].include?(cluster) -%>
singularity_container: "<%= container_lookup[cluster] %>"
<%- else -%>
<%- args.each do |arg| -%>
Expand Down
3 changes: 1 addition & 2 deletions ondemand.osc.edu/apps/bc_desktop/vdi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ attributes:
- "owens"
- "pitzer"
- ["ascend", "ascend-login" ]
- ["cardinal", "cardinal-login" ]
- "cardinal"
desktop:
widget: select
label: "Desktop environment"
Expand All @@ -41,7 +41,6 @@ attributes:
- [
"Gnome", "gnome",
data-option-for-cluster-ascend-login: false,
data-option-for-cluster-cardinal-login: false,
]
help: |
This will launch either the [Xfce] or [Mate] desktop environment on the
Expand Down

0 comments on commit d827432

Please sign in to comment.