Version 3 vs 4
Version 3 vs 4
Content Changes
Content Changes
=Compile Singularity
Install Dependencies
```
sudo apt-get update && \
sudo apt-get install \
python \
dh-autoreconf \
build-essential \
libarchive-dev
```
```
sudo -i
cd /opt
git clone https://github.com/sylabs/singularity.git
cd singularity
git fetch --all
git checkout 2.6.0
./autogen.sh
./configure --prefix=/usr/local
make -j 2
sudo make install
```
=Basic Singularity Workflow
```
#Pull the Ubuntu 16.04 container from docker.
singularity build --sandbox my-container-ubuntu1604 docker://ubuntu:16.04
#Open up a bash shell for the container
singularity shell --writable openfoam6-ubuntu1604/
#Build an .simg file for use on pronghorn.
singularity build openfoam6-ubuntu1604.simg openfoam6-ubuntu1604/
```
=Compile Singularity
Install Dependencies
```
sudo apt-get update && \
sudo apt-get install \
python \
dh-autoreconf \
build-essential \
libarchive-dev
```
```
sudo -i
cd /opt
git clone https://github.com/sylabs/singularity.git
cd singularity
git fetch --all
git checkout 2.6.0
./autogen.sh
./configure --prefix=/usr/local
make -j 2
sudo make install
```
=Basic Singularity Workflow
```
#Pull the Ubuntu 16.04 container from docker.
singularity build --sandbox my-container-ubuntu1604 docker://ubuntu:16.04
#Open up a bash shell for the container
singularity shell --writable my-container-ubuntu1604
#Build an .simg file for use on pronghorn.
singularity build my-container-ubuntu1604.simg my-container-ubuntu1604
```
=Compile Singularity
Install Dependencies
```
sudo apt-get update && \
sudo apt-get install \
python \
dh-autoreconf \
build-essential \
libarchive-dev
```
```
sudo -i
cd /opt
git clone https://github.com/sylabs/singularity.git
cd singularity
git fetch --all
git checkout 2.6.0
./autogen.sh
./configure --prefix=/usr/local
make -j 2
sudo make install
```
=Basic Singularity Workflow
```
#Pull the Ubuntu 16.04 container from docker.
singularity build --sandbox my-container-ubuntu1604 docker://ubuntu:16.04
#Open up a bash shell for the container
singularity shell --writable openfoam6my-container-ubuntu1604/
#Build an .simg file for use on pronghorn.
singularity build openfoam6my-container-ubuntu1604.simg openfoam6my-container-ubuntu1604/
```