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
# 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