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
1 merge request!1Feat jupyterlab
#!/usr/bin/env bash
# Benchmark info
echo "TIMING - Starting main script at: $(date)"
#!/bin/bash -l
# Set working directory to home directory
cd "${HOME}"
module reset
#
# Start Jupyter Notebook Server
#
<%- unless context.modules.blank? -%>
# Purge the module environment to avoid conflicts
module purge
# Load the require modules
module load <%= context.modules %>
# List loaded modules
module list
<%- end -%>
# Benchmark info
echo "TIMING - Starting jupyter at: $(date)"
module load Anaconda3
<%= context.custom_environment %>
unset XDG_RUNTIME_DIR
# Launch the Jupyter Notebook Server
set -x
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