Skip to content

Commit

Permalink
Merge pull request #112 from OSC/add-cardinal-cluster
Browse files Browse the repository at this point in the history
Adds cardinal cluster
  • Loading branch information
HazelGrant authored Apr 30, 2024
2 parents 6104427 + 0ead7d6 commit 6265f39
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 28 deletions.
29 changes: 3 additions & 26 deletions form.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ cluster:
- "kubernetes"
- "kubernetes-test"
- "kubernetes-dev"
- "cardinal"
form:
- account
- mode
- bc_num_hours
- node_type
- cuda_version
- num_cores
- version
- auto_modules_app_jupyter
- bc_email_on_started
- classroom
attributes:
Expand Down Expand Up @@ -305,28 +306,4 @@ attributes:
data-option-for-cluster-pitzer: false,
data-option-for-cluster-ascend: false,
]
version:
widget: "select"
label: "JupyterLab Version"
options:
- [
"3.1", "app_jupyter/3.1.18",
data-option-for-cluster-owens: false,
]
- [
"3.0", "app_jupyter/3.0.17",
data-option-for-cluster-ascend: false,
]
- [
"2.3", "app_jupyter/2.3.2",
data-option-for-cluster-ascend: false,
]
- [
"2.2", "app_jupyter/2.2.10",
data-option-for-cluster-ascend: false,
]
- [
"1.2", "app_jupyter/1.2.21",
data-option-for-cluster-ascend: false,
]
classroom: 0
classroom: 0
2 changes: 1 addition & 1 deletion submit.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
end

-%>
<% if cluster =~ /owens|pitzer|ascend/ -%>
<% if cluster =~ /owens|pitzer|ascend|cardinal/ -%>
---
batch_connect:
template: "basic"
Expand Down
2 changes: 1 addition & 1 deletion template/script.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module load <%= context.cuda_version %>
cd "${NOTEBOOK_ROOT}"

# Setup Jupyter environment
module load project/ondemand <%= context.version %>
module load project/ondemand <%= context.auto_modules_app_jupyter %>

module list
export JUPYTER_PATH="${PWD}/share/jupyter:${OSC_JUPYTER_PATH}"
Expand Down

0 comments on commit 6265f39

Please sign in to comment.