devriesgoe/singularity-test:slurm

$ singularity pull shub://devriesgoe/singularity-test:slurm

Singularity Recipe

Bootstrap: docker
From: ubuntu:latest

%help

Test container for dask environment using ipyparallel


%post

apt-get -y update
apt-get -y install python3-pip net-tools
apt-get -y install graphviz libgraphviz-dev
apt-get -y install libpython3.6-dev

apt-get -y install nano
apt-get -y install vim
apt-get -y install git

pip3 install jupyter
pip3 install numpy scipy matplotlib
pip3 install ipyparallel
pip3 install dask[complete] distributed --upgrade

ipcluster nbextension enable

#export SINGULARITY_BINDPATH="/opt,/var/run/munge,/run/munge,/usr/lib64/libmunge.so.2,/usr/lib64/libmunge.so.2.0.0,/etc/profile.d/slurm.sh"

#echo 'slurmadmin:x:300:300::/opt/slurm/slurm:/bin/false' >> /etc/passwd
#echo 'slurmadmin:x:300:' >> /etc/group

%environment

XDG_RUNTIME_DIR=""
PYTHONPATH=${PYTHONPATH}:${HOME}/testenv/git/ProxPython:${HOME}/testenv/git/samsara/python
PATH=${PATH}:/opt/slurm/bin
MANPATH=$MANPATH:/opt/slurm/share/man
SINGULARITY_BINDPATH=/opt,/var/run/munge,/run/munge,/usr/lib64/libmunge.so.2,/usr/lib64/libmunge.so.2.0.0,/etc/profile.d/slurm.sh
echo "slurmadmin:x:300:300::/opt/slurm/slurm:/bin/false" >> /etc/passwd
echo "slurmadmin:x:300:" >> /etc/group

Collection


View on Datalad

Metrics

key value
id /containers/devriesgoe-singularity-test-slurm
collection name devriesgoe/singularity-test
branch master
tag slurm
commit fc146b8d06fb15017e8a1ba8c6407d0837bc7a85
version (container hash) a28cefcf1eefc3256e3981e351f4b403
build date 2019-05-28T04:27:34.482Z
size (MB) 1064
size (bytes) 432422943
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.