Version 2 vs 3
Version 2 vs 3
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
git checkout tags/2.6.0
./configure
make –j 4
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 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
git checkout tags/2.6.0fetch --all
./configure
make –j 4git 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/
```