Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Singularity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IMGW
Singularity
Commits
8b9ec6f9
Commit
8b9ec6f9
authored
3 years ago
by
Marty Kandes
Browse files
Options
Downloads
Patches
Plain Diff
Also update CUDNN_REVISION in Singularity.ubuntu-18.04-cuda-10.2
parent
09c6bbd8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
definition-files/ubuntu/Singularity.ubuntu-18.04-cuda-10.2
+5
-17
5 additions, 17 deletions
definition-files/ubuntu/Singularity.ubuntu-18.04-cuda-10.2
definition-files/ubuntu/Singularity.ubuntu-18.04-cuda-11.2
+1
-1
1 addition, 1 deletion
definition-files/ubuntu/Singularity.ubuntu-18.04-cuda-11.2
with
6 additions
and
18 deletions
definition-files/ubuntu/Singularity.ubuntu-18.04-cuda-10.2
+
5
−
17
View file @
8b9ec6f9
Bootstrap:
shub
Bootstrap:
oras
From: mkandes/naked-singularity:ubuntu-18.04
From:
ghcr.io/
mkandes/naked-singularity:ubuntu-18.04
%labels
%labels
...
@@ -10,19 +10,12 @@ From: mkandes/naked-singularity:ubuntu-18.04
...
@@ -10,19 +10,12 @@ From: mkandes/naked-singularity:ubuntu-18.04
AUTHOR_NAME Marty Kandes
AUTHOR_NAME Marty Kandes
AUTHOR_EMAIL mkandes@sdsc.edu
AUTHOR_EMAIL mkandes@sdsc.edu
LAST_UPDATED 20210
427
LAST_UPDATED 20210
903
%setup
%setup
%environment
%environment
# Location of NVIDIA/CUDA repositories
export CUDA_ROOT_URL='http://developer.download.nvidia.com/compute'
export CUDA_DISTRO='ubuntu1804'
export CUDA_ARCH='x86_64'
export CUDA_REPO_URL="${CUDA_ROOT_URL}/cuda/repos/${CUDA_DISTRO}/${CUDA_ARCH}"
export CUDA_GPG_PUBKEY='7fa2af80.pub'
# Set NVIDIA driver and CUDA versions
# Set NVIDIA driver and CUDA versions
export CUDA_DRIVER_VERSION='460'
export CUDA_DRIVER_VERSION='460'
export CUDA_MAJOR='10'
export CUDA_MAJOR='10'
...
@@ -30,7 +23,7 @@ From: mkandes/naked-singularity:ubuntu-18.04
...
@@ -30,7 +23,7 @@ From: mkandes/naked-singularity:ubuntu-18.04
export CUDA_VERSION="${CUDA_MAJOR}.${CUDA_MINOR}"
export CUDA_VERSION="${CUDA_MAJOR}.${CUDA_MINOR}"
export CUDNN_MAJOR='8'
export CUDNN_MAJOR='8'
export CUDNN_MINOR='1'
export CUDNN_MINOR='1'
export CUDNN_REVISION='
0.77
'
export CUDNN_REVISION='
1.33
'
export CUDNN_VERSION="${CUDNN_MAJOR}.${CUDNN_MINOR}.${CUDNN_REVISION}"
export CUDNN_VERSION="${CUDNN_MAJOR}.${CUDNN_MINOR}.${CUDNN_REVISION}"
export NCCL_MAJOR='2'
export NCCL_MAJOR='2'
export NCCL_MINOR='8'
export NCCL_MINOR='8'
...
@@ -73,7 +66,7 @@ From: mkandes/naked-singularity:ubuntu-18.04
...
@@ -73,7 +66,7 @@ From: mkandes/naked-singularity:ubuntu-18.04
export CUDA_VERSION="${CUDA_MAJOR}.${CUDA_MINOR}"
export CUDA_VERSION="${CUDA_MAJOR}.${CUDA_MINOR}"
export CUDNN_MAJOR='8'
export CUDNN_MAJOR='8'
export CUDNN_MINOR='1'
export CUDNN_MINOR='1'
export CUDNN_REVISION='
0.77
'
export CUDNN_REVISION='
1.33
'
export CUDNN_VERSION="${CUDNN_MAJOR}.${CUDNN_MINOR}.${CUDNN_REVISION}"
export CUDNN_VERSION="${CUDNN_MAJOR}.${CUDNN_MINOR}.${CUDNN_REVISION}"
export NCCL_MAJOR='2'
export NCCL_MAJOR='2'
export NCCL_MINOR='8'
export NCCL_MINOR='8'
...
@@ -126,11 +119,6 @@ From: mkandes/naked-singularity:ubuntu-18.04
...
@@ -126,11 +119,6 @@ From: mkandes/naked-singularity:ubuntu-18.04
apt-get -y libglu1-mesa
apt-get -y libglu1-mesa
apt-get -y libglu1-mesa-dev
apt-get -y libglu1-mesa-dev
# Set paths to CUDA binaries and libraries
export CUDA_HOME="/usr/local/cuda-${CUDA_VERSION}"
export PATH="${CUDA_HOME}/bin${PATH:+:${PATH}}"
export LD_LIBRARY_PATH="${CUDA_HOME}/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
# Cleanup
# Cleanup
apt-get -y autoremove --purge
apt-get -y autoremove --purge
apt-get -y clean
apt-get -y clean
...
...
This diff is collapsed.
Click to expand it.
definition-files/ubuntu/Singularity.ubuntu-18.04-cuda-11.2
+
1
−
1
View file @
8b9ec6f9
...
@@ -23,7 +23,7 @@ From: ghcr.io/mkandes/naked-singularity:ubuntu-18.04
...
@@ -23,7 +23,7 @@ From: ghcr.io/mkandes/naked-singularity:ubuntu-18.04
export CUDA_VERSION="${CUDA_MAJOR}.${CUDA_MINOR}"
export CUDA_VERSION="${CUDA_MAJOR}.${CUDA_MINOR}"
export CUDNN_MAJOR='8'
export CUDNN_MAJOR='8'
export CUDNN_MINOR='1'
export CUDNN_MINOR='1'
export CUDNN_REVISION='
0.77
'
export CUDNN_REVISION='
1.33
'
export CUDNN_VERSION="${CUDNN_MAJOR}.${CUDNN_MINOR}.${CUDNN_REVISION}"
export CUDNN_VERSION="${CUDNN_MAJOR}.${CUDNN_MINOR}.${CUDNN_REVISION}"
export NCCL_MAJOR='2'
export NCCL_MAJOR='2'
export NCCL_MINOR='8'
export NCCL_MINOR='8'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment