adityabalu/ros-sawyer-full-singularity:latest
$ singularity pull shub://adityabalu/ros-sawyer-full-singularity:latest
Singularity Recipe
bootstrap: docker
From: docker://kailiang/ros-sawyer-full-nvidia:Init
%labels
AUTHOR Aditya Balu baditya@iastate.edu
%environment
CPATH="/usr/local/cuda/include:$CPATH"
PATH="/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}"
LD_LIBRARY_PATH="/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/cuda/lib64:${LD_LIBRARY_PATH}"
CUDA_HOME="/usr/local/cuda"
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute,utility
NVIDIA_REQUIRE_CUDA="cuda>=9.0"
export PATH LD_LIBRARY_PATH CPATH CUDA_HOME
%post
. /environment
# use bash as default shell
echo "\n #Using bash as default shell \n" >> /environment
echo 'SHELL=/bin/bash' >> /environment
# default mount paths
mkdir /scratch /data
#Add CUDA paths
echo "\n #Cuda paths \n" >> /environment
echo 'export CPATH="/usr/local/cuda/include:$CPATH"' >> /environment
echo 'export PATH="/usr/local/cuda/bin:$PATH"' >> /environment
echo 'export LD_LIBRARY_PATH="/usr/local/cuda/lib64:$LD_LIBRARY_PATH"' >> /environment
echo 'export CUDA_HOME="/usr/local/cuda"' >> /environment
echo "/usr/local/cuda-9.0/lib64/" >/etc/ld.so.conf.d/cuda.conf
echo "/usr/local/cuda/extras/CUPTI/lib64/" >>/etc/ld.so.conf.d/cuda.conf
echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf
echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf
Collection
- Name: adityabalu/ros-sawyer-full-singularity
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/adityabalu-ros-sawyer-full-singularity-latest |
collection name | adityabalu/ros-sawyer-full-singularity |
branch | master |
tag | latest |
commit | 17a216b4c974dd6cc50205edd54b84cab400362e |
version (container hash) | 90f2b824d352e2989542d15b3b97a1e2 |
build date | 2019-04-07T16:32:44.211Z |
size (MB) | 3551 |
size (bytes) | 1087746079 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.