Skip to content

Commit ef9d049

Browse files
authored
Introduce debian bookworm (#661)
* Upgrade debian version to bookworm Signed-off-by: Yuki Iwai <[email protected]> * Add obviously verifications if all Ranks reached final phase in the pi example Signed-off-by: Yuki Iwai <[email protected]> --------- Signed-off-by: Yuki Iwai <[email protected]>
1 parent 5391040 commit ef9d049

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

build/base/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye
1+
FROM debian:bookworm
22

33
ARG port=2222
44

build/base/intel-builder.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM bash AS downloader
22

33
RUN wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB -O key.PUB
44

5-
FROM debian:bullseye
5+
FROM debian:bookworm
66

77
COPY --from=downloader key.PUB /tmp/key.PUB
88

@@ -16,7 +16,7 @@ RUN apt update \
1616
&& apt autoremove -y \
1717
&& apt update \
1818
&& apt install -y --no-install-recommends \
19-
libstdc++-10-dev binutils procps clang \
19+
libstdc++-12-dev binutils procps clang \
2020
intel-oneapi-compiler-dpcpp-cpp \
2121
intel-oneapi-mpi-devel \
2222
&& rm -rf /var/lib/apt/lists/*

build/base/mpich-builder.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye as builder
1+
FROM debian:bookworm as builder
22

33
RUN apt update \
44
&& apt install -y --no-install-recommends \

build/base/openmpi-builder.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye as builder
1+
FROM debian:bookworm as builder
22

33
RUN apt update \
44
&& apt install -y --no-install-recommends \

examples/v2beta1/pi/pi.cc

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ int main(int argc, char *argv[]) {
4646
double pi = 4 * (double)total_count / (double)(worker_tests) / (double)(workers);
4747
printf("pi is approximately %.16lf\n", pi);
4848
}
49+
MPI_Barrier(MPI_COMM_WORLD);
4950
MPI_Finalize();
5051
return 0;
5152
}

0 commit comments

Comments
 (0)