Update things to fix or add in the s3it docs authored by Darren Reed's avatar Darren Reed
A list of outdated/incorrect items and things that should be added.
\ No newline at end of file
A list of outdated/incorrect items and things that should be added.
---
On the singular page
https://www.zi.uzh.ch/en/teaching-and-research/science-it/infrastructure/cluster/cluster-usage/containers.html
If you want to be sure to get all of the filesystems mounted, you could use a very short script to invoke singularity, which you can edit for your own needs.
Something like this, for example:
./singularityexec.sh ./tf-py3.simg python test.py
where the bash script is:
cat ./singularityexec.sh
#!/bin/bash
singularity exec -H /net/cephfs/home/$USER -B /scratch:/scratch -B /data:/data $1 $2 $3
If it is a docker container image, then the "-u" option needs to be present, so the command would look like (including mounting of home, data and scrat6ch):
singularity exec -u /net/cephfs/home/$USER -B /scratch:/scratch -B /data:/data image_file_name COMMAND