Skip to content
Snippets Groups Projects

add singularity options to the form and script

Merged Matthew K Defenderfer requested to merge change-to-singularity into master
2 files
+ 20
10
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
2
@@ -6,8 +6,9 @@ module reset
@@ -6,8 +6,9 @@ module reset
#
#
# Start JupyterLab Server
# Start JupyterLab Server
#
#
module load Anaconda3
<%= context.custom_environment.gsub(/\r\n?/, "\n") %>
<%= context.custom_environment.gsub(/\r\n?/, "\n") %>
unset XDG_RUNTIME_DIR
unset XDG_RUNTIME_DIR
 
export SINGULARITY_BINDPATH='/data,/scratch,/local,/share'
 
# Launch the JupyterLab Server
# Launch the JupyterLab Server
jupyter-lab --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>
singularity exec <%= context.extra_singularity_args %> <%= context.container_path %> jupyter-lab --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>
Loading