...
Code Block |
---|
export SINGULARITY_IMAGE_PATH=/sdf/group/atlas/g/XbbXccTrainingData/singularity/vertexing.sif function jupyter() { singularity exec --nv -B /sdf,/gpfs,/scratch,/lscratch ${SINGULARITY_IMAGE_PATH} jupyter $@; } |
NOTE: For some reason, the interactive session will default to a different python than what is contained in the Singularity image. You can call the correct python from: /opt/conda/bin/python
.
In order to install extra packages in Singularity, one can just pip these directly while in that singularity container. For example:
Code Block |
---|
/opt/conda/bin/pip install atlas-ftag-tools |
Note that for the plotting script (in progress, based on the SALT tutorial), one needs to pip-install: puma-hep
and atlas-ftag-tools
.(Not sure if the above should be exec
or shell
!)