Skip to content

Commit c50b4fa

Browse files
committed
fix: upgrade Intel MPI to 2021.14 and fix CI race condition
Upgrades Intel MPI version from 2021.13 to 2021.14. Adds a 5-second initialization delay in entrypoint.sh to prevent SSH handshake failures (kex_exchange_identification) observed in CI environments. Fixes Issue #678. Signed-off-by: Syed-Suhaan <[email protected]>
1 parent 671d90a commit c50b4fa

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

build/base/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ if [ "$K_MPI_JOB_ROLE" == "launcher" ]; then
3131
do
3232
resolve_host "$host"
3333
done
34+
# Add a delay to allow worker's sshd to be fully ready in slow CI environments
35+
sleep 5
3436
fi
3537

3638
exec "$@"

build/base/intel-builder.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ RUN apt update \
1616
&& echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg trusted=yes] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
1717
&& apt update \
1818
&& apt install -y --no-install-recommends \
19-
libstdc++-12-dev binutils procps clang \
20-
intel-oneapi-compiler-dpcpp-cpp \
21-
intel-oneapi-mpi-devel-2021.13 \
19+
libstdc++-12-dev binutils procps clang \
20+
intel-oneapi-compiler-dpcpp-cpp \
21+
intel-oneapi-mpi-devel-2021.14 \
2222
&& apt remove -y gnupg2 ca-certificates apt-transport-https \
2323
&& apt autoremove -y \
2424
&& rm -rf /var/lib/apt/lists/*

build/base/intel.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ RUN apt update \
1818
&& echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg trusted=yes] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list \
1919
&& apt update \
2020
&& apt install -y --no-install-recommends \
21-
dnsutils \
22-
intel-oneapi-mpi-2021.13 \
21+
dnsutils \
22+
intel-oneapi-mpi-2021.14 \
2323
&& apt remove -y gnupg2 ca-certificates \
2424
&& apt autoremove -y \
2525
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)