Skip to content

Commit

Permalink
Docker: Update versions
Browse files Browse the repository at this point in the history
- CUDA: 12.2.0
- rocm: 5.6
- ssht: 1.5.2
  • Loading branch information
eschnett committed Jul 3, 2023
1 parent 6acb777 commit c10eb8c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
12 changes: 6 additions & 6 deletions docker/carpetx-cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ RUN mkdir src && \
# ssht provides spin-weighted spherical harmonics
RUN mkdir src && \
(cd src && \
wget https://github.com/astro-informatics/ssht/archive/v1.5.1.tar.gz && \
tar xzf v1.5.1.tar.gz && \
cd ssht-1.5.1 && \
wget https://github.com/astro-informatics/ssht/archive/v1.5.2.tar.gz && \
tar xzf v1.5.2.tar.gz && \
cd ssht-1.5.2 && \
mkdir build && \
cd build && \
cmake .. && \
Expand Down Expand Up @@ -176,9 +176,9 @@ ARG real_precision=real64
# Should we keep AMReX source tree around for debugging?
RUN mkdir src && \
(cd src && \
wget https://github.com/AMReX-Codes/amrex/archive/23.06.tar.gz && \
tar xzf 23.06.tar.gz && \
cd amrex-23.06 && \
wget https://github.com/AMReX-Codes/amrex/archive/23.07.tar.gz && \
tar xzf 23.07.tar.gz && \
cd amrex-23.07 && \
mkdir build && \
cd build && \
case $real_precision in \
Expand Down
14 changes: 7 additions & 7 deletions docker/carpetx-cuda.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# docker build --build-arg real_precision=real32 --file carpetx-cuda.dockerfile --tag einsteintoolkit/carpetx:cuda-real32 .
# docker push einsteintoolkit/carpetx:cuda-real32

FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
FROM nvidia/cuda:12.2.0-devel-ubuntu22.04

RUN mkdir /cactus
WORKDIR /cactus
Expand Down Expand Up @@ -141,9 +141,9 @@ RUN mkdir src && \
# ssht provides spin-weighted spherical harmonics
RUN mkdir src && \
(cd src && \
wget https://github.com/astro-informatics/ssht/archive/v1.5.1.tar.gz && \
tar xzf v1.5.1.tar.gz && \
cd ssht-1.5.1 && \
wget https://github.com/astro-informatics/ssht/archive/v1.5.2.tar.gz && \
tar xzf v1.5.2.tar.gz && \
cd ssht-1.5.2 && \
mkdir build && \
cd build && \
cmake .. && \
Expand Down Expand Up @@ -176,9 +176,9 @@ ARG real_precision=real64
# Should we keep AMReX source tree around for debugging?
RUN mkdir src && \
(cd src && \
wget https://github.com/AMReX-Codes/amrex/archive/23.06.tar.gz && \
tar xzf 23.06.tar.gz && \
cd amrex-23.06 && \
wget https://github.com/AMReX-Codes/amrex/archive/23.07.tar.gz && \
tar xzf 23.07.tar.gz && \
cd amrex-23.07 && \
mkdir build && \
cd build && \
case $real_precision in \
Expand Down
16 changes: 9 additions & 7 deletions docker/carpetx-rocm.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
# docker build --build-arg real_precision=real32 --file carpetx-rocm.dockerfile --tag einsteintoolkit/carpetx:rocm-real32 .
# docker push einsteintoolkit/carpetx:rocm-real32

FROM rocm/dev-ubuntu-22.04:5.4.2
# FROM rocm/dev-ubuntu-22.04:5.4.2
# The following need amrex-23.07 for proper C++17 support:
# FROM rocm/dev-ubuntu-22.04:5.5.1
FROM rocm/dev-ubuntu-22.04:5.6

RUN mkdir /cactus
WORKDIR /cactus
Expand Down Expand Up @@ -144,9 +146,9 @@ RUN mkdir src && \
# ssht provides spin-weighted spherical harmonics
RUN mkdir src && \
(cd src && \
wget https://github.com/astro-informatics/ssht/archive/v1.5.1.tar.gz && \
tar xzf v1.5.1.tar.gz && \
cd ssht-1.5.1 && \
wget https://github.com/astro-informatics/ssht/archive/v1.5.2.tar.gz && \
tar xzf v1.5.2.tar.gz && \
cd ssht-1.5.2 && \
mkdir build && \
cd build && \
cmake .. && \
Expand Down Expand Up @@ -179,9 +181,9 @@ ARG real_precision=real64
# Should we keep AMReX source tree around for debugging?
RUN mkdir src && \
(cd src && \
wget https://github.com/AMReX-Codes/amrex/archive/23.06.tar.gz && \
tar xzf 23.06.tar.gz && \
cd amrex-23.06 && \
wget https://github.com/AMReX-Codes/amrex/archive/23.07.tar.gz && \
tar xzf 23.07.tar.gz && \
cd amrex-23.07 && \
mkdir build && \
cd build && \
case $real_precision in \
Expand Down

0 comments on commit c10eb8c

Please sign in to comment.