Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Action

Use CernVM-FS on batch?

Singularity

CernVM-FS can be accessed on head-01.arcc.albany.edu using singularity. Singularity allows users to spawn secure containers, giving them full control over their environment without root privileges. For more information, please see https://www.sylabs.io/.

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.

Instructions

/cvmfs/ is mounted on all compute and interactive hosts. You can test access by SSH into head.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:

...

There are two ways to access the image, from a shared network path, or to pull it down to a directory of your choice. 

...

Connect via SSH (PuTTY, macOS terminal) and then executing

Code Block
languagebash

...

cd /

...

Pulling the image to a directory of your choice

Code Block
languagebash
cd [path/to/your/directory]
singularity pull shub://nschiraldi/singularity:cernvmfs
singularity exec --bind /network/ singularity_cernvmfs.sif parrot_run bash --noprofile --norc
cd /cvmfs/

How-to: Copy Files to my Lab Share

Code Block
languagebash
singularity run --bind /network/ singularity_cernvmfs.sif cp -R /cvmfs/[path/to/files] /network/rit/lab/[path/in/lab]cvmfs/
ls


Include Page
footer
footer