$ singularity --version
$ 2.2.99
before the docs steps
$ sudo singularity create -s 4096 /tmp/Centos-7.img
$ sudo singularity import /tmp/Centos-7.img docker://centos
Following the steps on singularityware.github.io/pages/docs/admin-docs/docs-hpc.md
$ # Include the appropriate development tools into the container (notice we are calling
$ # singularity as root and the container is writeable)
$ sudo singularity exec -w /tmp/Centos-7.img yum groupinstall "Development Tools"
$
$ # Clone the OpenMPI GitHub master branch in current directory (on host)
$ git clone https://github.com/open-mpi/ompi.git
$ cd ompi
$
$ # Build OpenMPI in the working directory, using the tool chain within the container
$ singularity exec /tmp/Centos-7.img ./autogen.pl
$ singularity exec /tmp/Centos-7.img ./configure --prefix=/usr/local
$ singularity exec /tmp/Centos-7.img make
$
$ # Install OpenMPI into the container (notice now running as root and container is writeable)
$ sudo singularity exec -w /tmp/Centos-7.img make install
$ make: *** No rule to make target `install'. Stop.
While in the ompi folder
$ sudo singularity exec -w /tmp/Centos-7.img ls
$ anaconda-ks.cfg
Thougts?
before the docs steps
Following the steps on singularityware.github.io/pages/docs/admin-docs/docs-hpc.md
While in the ompi folder
$ sudo singularity exec -w /tmp/Centos-7.img ls $ anaconda-ks.cfgThougts?