4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
On our clusters, the Singularity images of main linux distributions are prepared.
On our clusters, the Singularity images of main linux distributions are prepared.
```console
```console
Salomon Anselm
Salomon Anselm Barbora
├── CentOS ├── CentOS
├── CentOS ├── CentOS ├── CentOS
│ ├── 6.9 │ ├── 6.9
│ ├── 6 │ ├── 6 │ ├── 6
│ ├── 6.9-MIC │ ├── 6.9-GPU
│ └── 7 │ └── 7 │ └── 7
│ ├── 7.5 │ ├── 7.4
├── Debian ├── Debian ├── Debian
│ └── 7.5-intel │ └── 7.4-GPU
│ └── latest │ └── latest │ └── latest
├── Debian ├── Debian
├── Fedora ├── Fedora ├── Fedora
│ └── 8.0 │ ├── 8.0
│ └── latest │ └── latest │ └── latest
├── Fedora │ └── 8.0-GPU
└── Ubuntu └── Ubuntu └── Ubuntu
│ └── 29 └── Ubuntu
└── latest └── latest └── latest
└── Ubuntu ├── 16.04
└── 16.04 └── 16.04-GPU
```
```
!!! info
!!! info
...
@@ -22,9 +20,6 @@ On our clusters, the Singularity images of main linux distributions are prepared
...
@@ -22,9 +20,6 @@ On our clusters, the Singularity images of main linux distributions are prepared
The bootstrap scripts, wrappers, features, etc. are located [here][a].
The bootstrap scripts, wrappers, features, etc. are located [here][a].
!!! note
The images with graphic card support are marked as **-GPU** and images with Intel Xeon Phi support are marked as **-MIC**
## IT4Innovations Singularity Wrappers
## IT4Innovations Singularity Wrappers
For better user experience with Singularity containers we prepared several wrappers:
For better user experience with Singularity containers we prepared several wrappers:
...
@@ -56,8 +51,8 @@ In the examples, we will use the prepared Singularity images.
...
@@ -56,8 +51,8 @@ In the examples, we will use the prepared Singularity images.
### Load Image
### Load Image
```console
```console
$ml CentOS/6.9
$ml CentOS/6
Your image of CentOS/6.9 is at location: /home/login/.singularity/images/CentOS-6.9_20180220133305.img
Your image of CentOS/6 is at location: /home/login/.singularity/images/CentOS-6_20180220133305.img
```
```
!!! tip
!!! tip
...
@@ -70,8 +65,8 @@ Your image of CentOS/6.9 is at location: /home/login/.singularity/images/CentOS-
...
@@ -70,8 +65,8 @@ Your image of CentOS/6.9 is at location: /home/login/.singularity/images/CentOS-
Executes the given command inside the Singularity image. The container is in this case started, then the command is executed and the container is stopped.
Executes the given command inside the Singularity image. The container is in this case started, then the command is executed and the container is stopped.
```console
```console
$ml CentOS/7.3
$ml CentOS/7
Your image of CentOS/7.3 is at location: /home/login/.singularity/images/CentOS-7.3_20180220104046.img
Your image of CentOS/7 is at location: /home/login/.singularity/images/CentOS-7_20180220104046.img
$image-exec cat /etc/centos-release
$image-exec cat /etc/centos-release
CentOS Linux release 7.3.1708 (Core)
CentOS Linux release 7.3.1708 (Core)
```
```
...
@@ -89,11 +84,11 @@ This command runs the runscript inside the Singularity image. Note, that the pre
...
@@ -89,11 +84,11 @@ This command runs the runscript inside the Singularity image. Note, that the pre
Invokes an interactive shell inside the Singularity image.
Invokes an interactive shell inside the Singularity image.
```console
```console
$ml CentOS/7.3
$ml CentOS/7
$image-shell
$image-shell
Singularity: Invoking an interactive shell within container...
Singularity: Invoking an interactive shell within container...
In the following example, we are using a job submitted by the command: `qsub -A PROJECT -q qnvidia -l select=1:ncpus=16:mpiprocs=16 -l walltime=01:00:00 -I`
!!! note
The GPU image was prepared only for the Anselm cluster.
**Checking NVIDIA Driver Inside Image**
```console
[login@cn199.anselm ~]$image-shell
Singularity: Invoking an interactive shell within container...