pescobar/singularity-libbi-gpu:latest

$ singularity pull shub://pescobar/singularity-libbi-gpu:latest

Singularity Recipe

Bootstrap: docker
From: nvidia/cuda:10.1-cudnn7-devel-ubuntu16.04

%environment
    LC_ALL=C
    export LC_ALL
    # workaround for https://stackoverflow.com/a/30663908
    CXX="g++ -std=c++11"
    export CXX
    
%post
    export LC_ALL=C
    # Update list of available packages, then upgrade them
    apt-get update
    DEBIAN_FRONTEND=noninteractive apt-get -y upgrade

    # Install Libbi dependencies
    DEBIAN_FRONTEND=noninteractive apt-get -y install \
    libblas-dev \
    liblapack-dev \
    libqrupdate-dev \
    libboost-all-dev \
    libgsl0-dev \
    libnetcdf-dev \
    autoconf \
    automake \
    wget

    # download and install LibBi
    export LIBBI_VERSION=1.4.5
    cd /usr/local/src
    wget -O libbi-${LIBBI_VERSION}.tar.gz -nc https://github.com/lawmurray/LibBi/archive/${LIBBI_VERSION}.tar.gz
    tar -xf libbi-${LIBBI_VERSION}.tar.gz
    cd /usr/local/src/LibBi-${LIBBI_VERSION}/
    # reply yes in perl. required to use cpan in non interactive session 
    export PERL_MM_USE_DEFAULT=1
    cpan .

%runscript
    /usr/local/bin/libbi "$@"

%apprun libbi
    /usr/local/bin/libbi "$@"

Collection


View on Datalad

Metrics

key value
id /containers/pescobar-singularity-libbi-gpu-latest
collection name pescobar/singularity-libbi-gpu
branch master
tag latest
commit 8d964e66c4bd3cae6891815fcdb2fc5d66507481
version (container hash) b15760b912ce2a370822845e89f3dc24
build date 2020-02-26T12:38:40.264Z
size (MB) 4125.0
size (bytes) 2253307935
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.