psumionka-task/Singularity_Ubuntu-16.04_OpenMPI-3.0.0:def

$ singularity pull shub://psumionka-task/Singularity_Ubuntu-16.04_OpenMPI-3.0.0:def

Singularity Recipe

BootStrap: library
From: psumionka-task/default/ubuntu-16.04_core:default

%labels
    
    Author Piotr Sumionka : Politechnika Gdańska, CI TASK - dział KDM [kdm.task.gda.pl]

%help

    # Uruchomienie zadania w kontenerze
    singularity exec <nazwa_obrazu> <polecenie>

    W razie problemów, proszę o wiadomość na adres:
    kdm@task.gda.pl

%post
    echo "Witaj wewnątrz kontenera, trwa konfiguracja środowiska..."
    apt-get -y update
    apt-get -y upgrade
    #
    ln -fs /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
    export DEBIAN_FRONTEND=noninteractive
    apt-get install -y tzdata
    dpkg-reconfigure --frontend noninteractive tzdata
    #
    apt-get -y clean all
    #
    apt-get -y update
    apt-get -y install gdm3

    # Install OpenMPI 3.0.0-gcc
    apt-get -y install make automake autoconf python perl gfortran
    cd /tmp
    wget https://www.open-mpi.org/software/ompi/v3.0/downloads/openmpi-3.0.0.tar.gz
    tar xvf openmpi-3.0.0.tar.gz
    cd openmpi-3.0.0
    ./configure --prefix /opt/openmpi3/3.0.0-gcc
    make
    make install
    apt-get -y --force-yes autoremove

%environment
    # openMPI 3.0
    export OMP_NUM_THREADS=1
    export OPENMPI_DIR=/opt/openmpi3/3.0.0-gcc
    export LD_LIBRARY_PATH=$OPENMPI_DIR/lib
    export MANPATH=$OPENMPI_DIR/share/man

    export PATH=$PATH:$OPENMPI_DIR/bin:$LD_LIBRARY_PATH:$MANPATH

%runscript
    echo "Uruchamianie zadania wewnatrz srodowiska..."

Collection


View on Datalad

Metrics

key value
id /containers/psumionka-task-Singularity_Ubuntu-16.04_OpenMPI-3.0.0-def
collection name psumionka-task/Singularity_Ubuntu-16.04_OpenMPI-3.0.0
branch master
tag def
commit 7dc320d0dbfe1757b797d9a275f90653b6287732
version (container hash) 71a5541d9f2bd3563789d7b9279b3f94d733b622bd24fe3697965f53efccf190
build date 2019-10-30T10:05:24.594Z
size (MB) 524.75
size (bytes) 550240256
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.