timothyas/data-driven-collab:hera

$ singularity pull shub://timothyas/data-driven-collab:hera

Singularity Recipe

Bootstrap: docker
From: nvcr.io/nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04

%environment
    # these two are not critical on Hera, oh well
    export CUDA_HOME=/apps/cuda/cuda-10.1
    export XLA_FLAGS=--xla_gpu_cuda_data_dir=/apps/cuda/cuda-10.1

%post
    # Install some basics
    apt-get update -y --fix-missing
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        apt-transport-https \
        ca-certificates \
        gnupg \
        wget \
        bzip2 \
        curl \
        git \
        python3.8 \
        python3-pip \
        python3-setuptools \
        python3-dev \
        python3-venv \
        python3-wheel

    # Cleanup
    apt-get clean
    rm -rf /var/lib/apt/lists/*

    # NVIDIA Nsight Systems 2020.3.2
    # this is the version that was on the NVIDIA machine
    wget -qO - https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | apt-key add -
    echo "deb https://developer.download.nvidia.com/devtools/repo-deb/x86_64/ /" >> /etc/apt/sources.list.d/nsight.list
    apt-get update -y
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        nsight-systems-2020.3.2
    rm -rf /var/lib/apt/lists/*

    # Install all packages via pip
    python3.8 -m pip install --upgrade pip 
    python3.8 -m pip install --upgrade setuptools
    python3.8 -m pip install --upgrade numpy scipy coverage xarray dask future numba
    python3.8 -m pip install --upgrade matplotlib seaborn

    python3.8 -m pip install --upgrade networkx scikit-learn
    python3.8 -m pip install --upgrade cupy-cuda101
    python3.8 -m pip install --upgrade jax jaxlib==0.1.59+cuda101 -f https://storage.googleapis.com/jax-releases/jax_releases.html

    # soft link python -> python3
    ln -s /usr/bin/python3.8 /usr/bin/python

Collection


View on Datalad

Metrics

key value
id /containers/timothyas-data-driven-collab-hera
collection name timothyas/data-driven-collab
branch master
tag hera
commit 9ba52434df7cdda346805ba81757ca873ee44896
version (container hash) 0c98ab294fd3ea79a36b4754dfc13b72
build date 2021-02-11T03:31:54.277Z
size (MB) 5649.0
size (bytes) 3151859743
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.