Skip to content

Commit

Permalink
Merge pull request #262 from eschnett/eschnett/CI-amrex-24.02
Browse files Browse the repository at this point in the history
docker: Update to AMReX 24.02
  • Loading branch information
eschnett authored Feb 2, 2024
2 parents d30ccca + dfc2212 commit dea21b5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
9 changes: 5 additions & 4 deletions docker/carpetx-cpu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
# docker push einsteintoolkit/carpetx:cpu-real32

# jammy is ubuntu:22.04
FROM ubuntu:jammy-20240111
# FROM ubuntu:jammy-20240111
FROM ubuntu:jammy-20240125

ENV DEBIAN_FRONTEND=noninteractive \
LANGUAGE=en_US.en \
Expand Down Expand Up @@ -260,9 +261,9 @@ ARG real_precision=real64
# Should we keep the AMReX source tree around for debugging?
RUN mkdir src && \
(cd src && \
wget https://github.com/AMReX-Codes/amrex/archive/24.01.tar.gz && \
tar xzf 24.01.tar.gz && \
cd amrex-24.01 && \
wget https://github.com/AMReX-Codes/amrex/archive/24.02.tar.gz && \
tar xzf 24.02.tar.gz && \
cd amrex-24.02 && \
case $real_precision in \
real32) precision=SINGLE;; \
real64) precision=DOUBLE;; \
Expand Down
6 changes: 3 additions & 3 deletions docker/carpetx-cuda.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ ARG real_precision=real64
# Should we keep the AMReX source tree around for debugging?
RUN mkdir src && \
(cd src && \
wget https://github.com/AMReX-Codes/amrex/archive/24.01.tar.gz && \
tar xzf 24.01.tar.gz && \
cd amrex-24.01 && \
wget https://github.com/AMReX-Codes/amrex/archive/24.02.tar.gz && \
tar xzf 24.02.tar.gz && \
cd amrex-24.02 && \
case $real_precision in \
real32) precision=SINGLE;; \
real64) precision=DOUBLE;; \
Expand Down
10 changes: 6 additions & 4 deletions docker/carpetx-rocm.dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# How to build this Docker image:

# docker build --file carpetx-rocm.dockerfile --tag einsteintoolkit/carpetx:rocm-real64 .
Expand All @@ -6,7 +7,8 @@
# 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:6.0
# FROM rocm/dev-ubuntu-22.04:6.0
FROM rocm/dev-ubuntu-22.04:6.0.2

ENV DEBIAN_FRONTEND=noninteractive \
LANGUAGE=en_US.UTF-8 \
Expand Down Expand Up @@ -262,9 +264,9 @@ ARG real_precision=real64
# Should we keep the AMReX source tree around for debugging?
RUN mkdir src && \
(cd src && \
wget https://github.com/AMReX-Codes/amrex/archive/24.01.tar.gz && \
tar xzf 24.01.tar.gz && \
cd amrex-24.01 && \
wget https://github.com/AMReX-Codes/amrex/archive/24.02.tar.gz && \
tar xzf 24.02.tar.gz && \
cd amrex-24.02 && \
case $real_precision in \
real32) precision=SINGLE;; \
real64) precision=DOUBLE;; \
Expand Down

0 comments on commit dea21b5

Please sign in to comment.