...
Accessing singularity
You need to set up Spack first. Once that is done, here is how you access Singularity in an interactive session:
...
Code Block |
---|
SINGULARITYENV_HELLO=world singularity exec centos7.img env | grep HELLO > HELLO=world |
This will overwrite any host environment variables with the same name. If you need to clear the host environment data, use --cleanenv
.
...