Skip to content

Commit

Permalink
docker: fix nvhpc to 23.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Aug 7, 2023
1 parent bc4d02d commit 6969191
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/docker-bases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ jobs:
file: './docker/Dockerfile.nvidia'
push: true
target: 'nvc'
build-args: 'arch=nvc'
build-args: |
arch=nvc
ver=nvhpc-23-5
tags: 'devitocodes/bases:nvidia-nvc'

- name: NVCC image
Expand All @@ -149,7 +151,9 @@ jobs:
file: './docker/Dockerfile.nvidia'
push: true
target: 'nvcc'
build-args: 'arch=nvcc'
build-args: |
arch=nvcc
ver=nvhpc-23-5
tags: 'devitocodes/bases:nvidia-nvcc'

- name: NVC host image
Expand All @@ -159,7 +163,9 @@ jobs:
file: './docker/Dockerfile.nvidia'
push: true
target: 'nvc-host'
build-args: 'arch=nvc-host'
build-args: |
arch=nvc-host
ver=nvhpc-23-5
tags: 'devitocodes/bases:cpu-nvc'

#######################################################
Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile.nvidia
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
##############################################################
# This Dockerfile contains the NVidia HPC SDK (nvc, cuda, OpenMPI) for Devito
##############################################################
ARG ver
ARG pyversion=python:3.9
ARG arch="nvc"

Expand All @@ -15,7 +14,6 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y && \
apt-get install -y -q gpg apt-utils curl wget vim libnuma-dev tmux numactl


# nodesource: nvdashboard requires nodejs>=10
RUN curl https://developer.download.nvidia.com/hpc-sdk/ubuntu/DEB-GPG-KEY-NVIDIA-HPC-SDK | gpg --yes --dearmor -o /usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg
RUN echo 'deb [trusted=yes, signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | tee /etc/apt/sources.list.d/nvhpc.list
Expand Down

0 comments on commit 6969191

Please sign in to comment.