Commit c508b313 authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

Add nvidia-cuda-dev to the container of the gitlab runner

Remove unneeded explicit link with nvidia library
parent ee43703f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
+13 −0
Original line number Diff line number Diff line
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
+2 −1
Original line number Diff line number Diff line
@@ -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