diff --git a/form.yml b/form.yml index dd8532d432a35d1e9d1e3f3400b4cef080c57ccb..8ccd1be94385ee37fd14e878d480086b20e1a1a9 100644 --- a/form.yml +++ b/form.yml @@ -8,7 +8,7 @@ # under /etc/ood/config/clusters.d/*.yml # @example Use the Owens cluster at Ohio Supercomputer Center # cluster: "owens" -cluster: "SLURM_CLUSTER" +cluster: {{ cluster_name }} # Title of the app displayed in the Dashboard title: "Jupyter Notebook" @@ -90,11 +90,6 @@ attributes: - [ "long", "long" ] - [ "interactive", "interactive" ] - [ "pascalnodes", "pascalnodes" ] - - [ "pascalnodes-medium", "pascalnodes-medium" ] - - [ "largemem", "largemem" ] - - [ "largemem-long", "largemem-long" ] - - [ "amd-hdr100", "amd-hdr100" ] - # All of the attributes that make up the Dashboard form (in respective order), # and made available to the submit configuration file and the template ERB # files diff --git a/script.sh.erb b/script.sh.erb deleted file mode 100644 index 54c185de20c40284afdb4f7c58609f1435863df8..0000000000000000000000000000000000000000 --- a/script.sh.erb +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -l - -# Set working directory to home directory -cd "${HOME}" -module reset -# -# Start Jupyter Notebook Server -# -module load Anaconda3 -<%= context.custom_environment %> -unset XDG_RUNTIME_DIR -# Launch the Jupyter Notebook Server -jupyter notebook --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %> diff --git a/submit.yml.erb b/submit.yml.erb index e03e6c2b222d68c46fc77be93bce3ae336d08901..f8411700f0b1d666c9fc56bb369f1fa88dea6142 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -17,6 +17,6 @@ script: - "--partition=<%= bc_partition %>" - "--time=<%= bc_num_hours.blank? ? 1 : bc_num_hours.to_i %>:00:00" - "--job-name=ood-jupyter" -<%- if bc_partition.include? "pascalnodes" -%> +<%- if bc_partition == "pascalnodes" -%> - "--gres=gpu:1" <%- end -%>