Page MenuHomePhabricator

Singularity
Updated 2,024 Days AgoPublic

Version 2 of 4: You are viewing an older version of this document, as it appeared on Nov 1 2018, 9:20 AM.

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/
Last Author
newellz2
Last Edited
Nov 1 2018, 9:20 AM

Event Timeline

newellz2 edited the content of this document. (Show Details)
newellz2 edited the content of this document. (Show Details)
newellz2 edited the content of this document. (Show Details)