From 3fd7ea244ec5d04948abd98290c7d2b33cbc4733 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Mon, 28 Apr 2025 13:36:50 -0400 Subject: [PATCH 1/2] correct this module --- template/script.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/script.sh.erb b/template/script.sh.erb index 0460924..ea6e78f 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -5,7 +5,7 @@ module restore module load <%= context.version %> module load project/ondemand -module load app_jupyter_matlab_proxy/4.1.5 +module load app_matlab_proxy/0.23.1 cd $HOME From 6200e7885d0e078fb4a8fee2e028f8f27664be1c Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Mon, 28 Apr 2025 13:44:35 -0400 Subject: [PATCH 2/2] support ascend and use auto modules --- form.yml | 10 ++++------ template/script.sh.erb | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/form.yml b/form.yml index 3e5fc61..9b291af 100644 --- a/form.yml +++ b/form.yml @@ -1,20 +1,18 @@ --- cluster: - "cardinal" + - "ascend" form: - - version + - auto_modules_matlab - auto_accounts - bc_num_hours - num_cores - node_type - bc_email_on_started attributes: - version: - widget: select + auto_modules_matlab: + default: false label: "MATLAB version" - options: - - ["2024a", "matlab/r2024a"] - - ["2024b", "matlab/r2024b"] num_cores: widget: "number_field" label: "Number of cores" diff --git a/template/script.sh.erb b/template/script.sh.erb index ea6e78f..ae3e27c 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -3,7 +3,7 @@ module purge module restore -module load <%= context.version %> +module load <%= context.auto_modules_matlab %> module load project/ondemand module load app_matlab_proxy/0.23.1