Skip to content
Snippets Groups Projects
Unverified Commit 529917c0 authored by Krish Moodbidri's avatar Krish Moodbidri Committed by GitHub
Browse files

V1.1 (#2)

* moved script to template dir

* added v1.0 as a stable version

* fixed permission issue anf clustername

* changed form.yml to form.yml.erb

* edited form.yml.erb

* edited submit.yml to remove conditional
parent 9fb37007
No related branches found
No related tags found
No related merge requests found
File moved
#!/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 %>
#!/usr/bin/env bash #!/bin/bash -l
# Benchmark info
echo "TIMING - Starting main script at: $(date)"
# Set working directory to home directory # Set working directory to home directory
cd "${HOME}" cd "${HOME}"
module reset
# #
# Start Jupyter Notebook Server # Start Jupyter Notebook Server
# #
module load Anaconda3
<%- unless context.modules.blank? -%> <%= context.custom_environment %>
# Purge the module environment to avoid conflicts unset XDG_RUNTIME_DIR
module purge
# Load the require modules
module load <%= context.modules %>
# List loaded modules
module list
<%- end -%>
# Benchmark info
echo "TIMING - Starting jupyter at: $(date)"
# Launch the Jupyter Notebook Server # Launch the Jupyter Notebook Server
set -x
jupyter notebook --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %> jupyter notebook --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment