Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
c508b313
Commit
c508b313
authored
1 year ago
by
Mulas, Giacomo
Browse files
Options
Downloads
Patches
Plain Diff
Add nvidia-cuda-dev to the container of the gitlab runner
Remove unneeded explicit link with nvidia library
parent
ee43703f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
containers/docker/Dockerfile
+3
-0
3 additions, 0 deletions
containers/docker/Dockerfile
containers/docker/dockerstuff/debianrepos/debian.sources
+13
-0
13 additions, 0 deletions
containers/docker/dockerstuff/debianrepos/debian.sources
src/make.inc
+2
-1
2 additions, 1 deletion
src/make.inc
with
18 additions
and
1 deletion
containers/docker/Dockerfile
+
3
−
0
View file @
c508b313
...
...
@@ -9,6 +9,7 @@ WORKDIR /root
#RUN cat /etc/apt/sources.list.d/oneAPI.list && sleep 5s
#RUN ls -l /usr/share/keyrings/oneapi-archive-keyring.gpg && sleep 5s
# make sure the debian bullseye us up to date, install needed packages
COPY
--chown=root:root containers/docker/dockerstuff/debianrepos/debian.sources /etc/apt/sources.list.d/
RUN
apt update
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
upgrade
# install packages needed to build binaries
...
...
@@ -22,6 +23,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt -y install intel-oneapi-compiler-fortran
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
liblapacke-dev liblapacke64-dev libopenblas-dev libopenblas-openmp-dev libopenblas64-dev libopenblas64-openmp-dev
# install MPI stack
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
mpi-default-dev mpi-default-bin
# install packages needed for nvtx instrumentation
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
nvidia-cuda-dev
# install packages needed to run python scripts for checks
RUN
DEBIAN_FRONTEND
=
noninteractive apt
-y
install
python3 python-is-python3 python3-regex
# install packages needed to run doxygen to create html docs
...
...
This diff is collapsed.
Click to expand it.
containers/docker/dockerstuff/debianrepos/debian.sources
0 → 100644
+
13
−
0
View file @
c508b313
Types: deb
# http://snapshot.debian.org/archive/debian/20240423T150000Z
URIs: http://deb.debian.org/debian
Suites: bookworm bookworm-updates bookworm-proposed-updates
Components: main non-free non-free-firmware contrib
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb
# http://snapshot.debian.org/archive/debian-security/20240423T150000Z
URIs: http://deb.debian.org/debian-security
Suites: bookworm-security
Components: main non-free non-free-firmware contrib
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
This diff is collapsed.
Click to expand it.
src/make.inc
+
2
−
1
View file @
c508b313
...
...
@@ -102,7 +102,8 @@ endif
ifdef
CUDA_HOME
override
MAGMA_LDFLAGS
+=
-
L
$
(
CUDA_HOME
)
/
lib64
endif
override
MAGMA_LDFLAGS
+=
-
lmagma
-
lcudart
-
lnvToolsExt
#override MAGMA_LDFLAGS+= -lmagma -lcudart -lnvToolsExt
override
MAGMA_LDFLAGS
+=
-
lmagma
-
lcudart
#the next endif is for USE_MAGMA
endif
...
...
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