Singularity on IT4Innovations
On the clusters we support an images of various Linux distributions. The list of supported systems can be found below.
Support GPU and MIC card on CentOS images.
Type Images
- CentOS 6
- CentOS 7
- Centos 8
- Ubuntu
- Debian
- Fedora
Dependency
- LMOD
- Singularity
- OpenMPI
Install
Only ROOT
A CONFIG file must be filled in.
# ./install.sh
./install.sh ... create and build singularity image
-i OS (CentOS, Fedora, Debian, Ubuntu)
-v Version OS (CentOS 6.9 or CentOS 7.3, Fedora 26, Debian 8.0, Ubuntu 16.04)
-o OpenMPI module (default is OpenMPI/2.1.0-GCC-6.3.0-2.27)
Example:
./install.sh -i CentOS -v 6.9
Example
Classic image
# ./install.sh -i Ubuntu -v 16.04
GPU card ............................... [DISABLE]
MIC card ............................... [DISABLE]
Check CONFIG ........................... [OK]
Image .................................. [OK]
Version ................................ [OK]
Type set to default (classic) .......... [OK]
OpenMPI set to default ................. [OK]
ROOT ................................... [OK]
Create & Build singularity image (Ubuntu-16.04-classic)
/apps/all/Singularity/2.3.2/bin
Initializing Singularity image subsystem
Opening image file: image.img
Creating 2000MiB image
Binding image to loop
Creating file system within image
Image is done: image.img
Create image ........................... [OK]
Sanitizing environment
Building from bootstrap definition recipe
Adding base Singularity environment to container
Use OS Images
- OS modules
$ ml av
------------------------------------------------------------------------------------------------ /apps/modules/OS -------------------------------------------------------------------------------------------------
CentOS/6.9-MIC-shell (S) CentOS/6.9-shell (S) CentOS/7.3-shell (S) Debian/8.0-shell (S) Fedora/26-shell (S) Ubuntu/16.04-shell (S)
CentOS/6.9-MIC (S) CentOS/6.9 (S) CentOS/7.3 (S,D) Debian/8.0 (S,D) Fedora/26 (S,D) Ubuntu/16.04 (S,D)
-shell .. autoload image
- load module
$ ml CentOS/6.9
- use non shell module
$ ml CentOS/6.9
Your image of CentOS/6.9 is at location: /home/kru0052/.singularity/images/CentOS-6.9_20171101115949.img
[kru0052@login3.salomon ~]$ image-
image-exec image-load image-mpi image-shell image-update
[kru0052@login3.salomon ~]$ image-mpi hostname
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3
login3