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
Branches hpc-factory-feat-login-build-and-deploy
No related tags found
No related merge requests found
#!/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