container wrapping a jupyter notebook with lume impact and bmad for FACET-II
2.2K
pull to s3df and convert to singularity container. Point openOndemand jupyter instance to a custom apptainer (the singularity image) and setup scratch path.
function jupyter() { SCRATCH_PATH=$(echo $SCRATCH) apptainer exec --nv -B /sdf,/fs,/sdf/scratch,/lscratch --env SCRATCH=$SCRATCH_PATH ${APPTAINER_IMAGE_PATH} jupyter "$@" }
In a Singularity container Once you have built or pulled a Singularity image on SDF (see Software/Singularity page for more information on how to do that), ensuring that you have the jupyter[lab] binary in the image’s PATH, go to the Jupyter portal, select “Custom Singularity Image” from the “Jupyter Instance” dropown menu. Then modify the text in the “Commands to initiate Jupyter”:
export SINGULARITY_IMAGE_PATH=<path-to-the.sif> function jupyter() { singularity exec --nv -B /sdf,/lscratch ${SINGULARITY_IMAGE_PATH} jupyter $@; } Replace <path-to-the.sif> with the full path to your local singularity image file.
Fill the rest of the form as you would for any provided Jupyter Instance and click “Launch”. If you run into any issues, please see Debugging your interactive session.
Content type
Image
Digest
sha256:3d4b1d7b1…
Size
2.6 GB
Last updated
almost 2 years ago
docker pull slacact/impact-bmad