Difference between revisions of "HOWTO use the GlueX Singularity Container"
From GlueXWiki
(→Get a Shell Inside the Container) |
|||
Line 11: | Line 11: | ||
Use one of two methods. | Use one of two methods. | ||
− | === Tarball === | + | === 1. Tarball === |
# Download the [tarball]. It's 40 GB. | # Download the [tarball]. It's 40 GB. | ||
Line 17: | Line 17: | ||
# tar zxvf <directory containing tarball>/group_halld.tar.gz | # tar zxvf <directory containing tarball>/group_halld.tar.gz | ||
− | === rsync === | + | === 2. rsync === |
− | rsync -ruvt --delete scosg16.jlab.org:/cvmfs/oasis.opensciencegrid.org/gluex/group/ <directory that contains "group">/group/ | + | rsync -ruvt --delete scosg16.jlab.org:/cvmfs/oasis.opensciencegrid.org/gluex/group/ <directory that contains "group">/group/ |
− | + | == Get a Shell Inside the Container == | |
− | singularity shell --bind <directory that contains group>/group/halld:/group/halld <directory with container>/gluex_centos7.img | + | singularity shell --bind <directory that contains group>/group/halld:/group/halld <directory with container>/gluex_centos7.img |
== Set-Up the GlueX Environment == | == Set-Up the GlueX Environment == | ||
source /group/halld/Software/build_scripts/gluex_env_jlab.sh | source /group/halld/Software/build_scripts/gluex_env_jlab.sh |
Revision as of 14:08, 10 April 2018
Contents
Install Singularity
See the instructions on the Singularity site.
Get the Container
Download gluex_centos7.img, the container.
Get the Software and Support Files
Use one of two methods.
1. Tarball
- Download the [tarball]. It's 40 GB.
- cd <directory that will contain "group">
- tar zxvf <directory containing tarball>/group_halld.tar.gz
2. rsync
rsync -ruvt --delete scosg16.jlab.org:/cvmfs/oasis.opensciencegrid.org/gluex/group/ <directory that contains "group">/group/
Get a Shell Inside the Container
singularity shell --bind <directory that contains group>/group/halld:/group/halld <directory with container>/gluex_centos7.img
Set-Up the GlueX Environment
source /group/halld/Software/build_scripts/gluex_env_jlab.sh