How can I use CernVM-FS on batch?
...
ITS provides a singularity image that can be run, giving a user access to /cvmfs/ without root. The .def file can be found on github at https://github.com/nschiraldi/singularity/blob/master/singularity.cernvmfs. While you cannot build an image on head-01.arcc.albany.edu, they can be built via github + singularity-hub (https://www.singularity-hub.org/) CI/CD, or on a local machine and pushed to singularity-hub, then pulled down to head-01.arcc.albany.edu and run, seamlessly.
How-to: Execute an Interactive Shell in the Image
...
Code Block | ||
---|---|---|
| ||
$ singularity run --bind /network/ singularity_cernvmfs.sif cp -R /cvmfs/[path/to/files] /network/rit/lab/[path/in/lab] |
Can I create my own image?
While you cannot build an image on head-01.arcc.albany.edu, they can be built via github + singularity-hub (https://www.singularity-hub.org/) CI/CD integration, or on a local machine and pushed to singularity-hub, then pulled down to head-01.arcc.albany.edu and run, seamlessly. You could also build a docker image on a local machine, upload it to docker-hub, and access it with:
Code Block | ||
---|---|---|
| ||
$ singularity run -- bind /network/ docker://path-to-docker-image [cmd] [args] |