Skip to content

Commit

Permalink
Merge pull request #2227 from devitocodes/intel-driv
Browse files Browse the repository at this point in the history
ci: add intel missing gpu drivers
  • Loading branch information
mloubout authored Oct 9, 2023
2 parents e6cd0b0 + 24a1f23 commit 90ca3a8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions docker/Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,17 @@ FROM base as oneapi
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor > /usr/share/keyrings/oneapi-archive-keyring.gpg
RUN echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" > /etc/apt/sources.list.d/oneAPI.list

# Intel advisor
RUN apt-get update -y && apt-get install -y intel-oneapi-advisor
# Drivers mandatory for intel gpus
RUN curl -fsSL https://repositories.intel.com/graphics/intel-graphics.key | apt-key add -
RUN echo "deb [trusted=yes arch=amd64] https://repositories.intel.com/graphics/ubuntu focal main" > /etc/apt/sources.list.d/intel-graphics.list

# Intel advisor and drivers
RUN apt-get update -y && \
# advisor
apt-get install -y intel-oneapi-advisor \
# drivers
apt-get install -y intel-opencl-icd intel-level-zero-gpu level-zero level-zero-dev

##############################################################
# ICC image
# This is a legacy setup that is not built anymore but kept for reference
Expand Down
2 changes: 1 addition & 1 deletion requirements-mpi.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mpi4py<4.0
mpi4py<3.1.6
ipyparallel<8.7

0 comments on commit 90ca3a8

Please sign in to comment.