Skip to content
Snippets Groups Projects
Commit 355ac633 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

moved script to template dir

parent 062d7b6e
No related branches found
No related tags found
2 merge requests!3Edited jupyter notebook template and made necessary changes for Jupyter Lab,!2V1.1
#!/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