Home

Awesome

Singularity Image for Knet

https://www.singularity-hub.org/static/img/hosted-singularity--hub-%23e32929.svg

USAGE

singularity pull --name knet.simg shub://KnetML/singularity-images:latest
singularity image.create --size 2048 overlay.simg
singularity image.expand overlay.simg
singularity shell --overlay overlay.simg Knet.simg
singularity shell --bind <your cuda path>:/usr/local/cuda,<your cudnn path>:/opt/cudnn --overlay overlay.simg --nv Knet.simg
julia -e 'Pkg.build("Knet")'

Running the image

You can also run the image directly. It starts an ipython notebook server. You can connect to this server on localhost:8888.

singularity run --bind <your cuda path>:/usr/local/cuda,<your cudnn path>:/opt/cudnn --overlay overlay.simg --nv Knet.simg

Usage on the kuacc cluster

module load cuda/9.0
module load cudnn/7.0.4/cuda-9.0
module load singularity
export SINGULARITY_CACHEDIR=/scratch/users/username
singularity shell --bind /usr/local/cuda-9.0/:/usr/local/cuda,/kuacc/apps/cudnn/v7.0.4_CUDA_9.0:/opt/cudnn --overlay overlay.img --nv Knet.simg

DEPENDENCIES