Description | Installation of Singularity on Centos7 |
---|---|
Related-course materials | HPC Administration Module2 |
Authors | Ndomassi TANDO (ndomassi.tando@ird.fr) |
Creation Date | 24/09/2019 |
Last Modified Date | 24/09/2019 |
Summary
- Install dependencies
- Install The programming language Go
- Download and install singularity from repo
- Modify Bind path in Singularity
- Links
- License
Install dependencies
Install The programming language Go:
Go to the Download Page and choose the archive go.1.12.5.linux-amd64.tar.gz
Launch the following commands:
Set up your environment for Go with the following commands:
For Singularity > v3.0.0, we also need to install dep
for dependency resolution
Download and install singularity from repo:
To ensure that the Singularity source code is downloaded to the appropriate directory use these commands.
You will obtain a warning but it will still download Singularity source code to the appropriate directory within the $GOPATH
Type the following command to your .bashrc
file to enable completion in singularity:
Modify Bind path in Singularity
bind path allows to mount host partitions into the container directly at startup.
Modify the file /usr/local/singularity/etc/singularity/singularity.conf
In BIND PATH part
Add the partitions you want to see in the container:
For example:
Activate the overlay with the line:
Links
- Related courses : HPC Trainings