Skip to content

Commit fcd5a09

Browse files
authored
CI: fix IntelLLVM builds (#5419)
The CI checks `Intel / oneAPI ICX SP` and `Intel / oneAPI DPC++ SP` are failing since a few days. This is likely due to the fact that the GitHub Actions runner is now installing IntelLLVM 2025.0.0 instead of IntelLLVM 2024.2.1, as until a few days ago. This causes the following issue when building openPMD: ```console /home/runner/work/WarpX/WarpX/build_sp/_deps/fetchedopenpmd-src/include/openPMD/backend/Container.hpp:263:32: error: no member named 'm_container' in 'Container<T, T_key, T_container>' 263 | container().swap(other.m_container); | ~~~~~ ^ 1 error generated. ``` We can try to install the previous version of IntelLLVM manually and see if that fixes the issue.
1 parent dda2dc4 commit fcd5a09

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/dependencies/dpcpp.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@ df -h
2929
# https://github.com/ECP-WarpX/WarpX/pull/1566#issuecomment-790934878
3030

3131
# try apt install up to five times, to avoid connection splits
32+
# FIXME install latest version of IntelLLVM, Intel MKL
33+
# after conflicts with openPMD are resolved
3234
status=1
3335
for itry in {1..5}
3436
do
3537
sudo apt-get install -y --no-install-recommends \
3638
build-essential \
3739
cmake \
38-
intel-oneapi-compiler-dpcpp-cpp intel-oneapi-mkl-devel \
40+
intel-oneapi-compiler-dpcpp-cpp=2024.2.1-1079 \
41+
intel-oneapi-mkl-devel=2024.2.1-103 \
3942
g++ gfortran \
4043
libopenmpi-dev \
4144
openmpi-bin \

.github/workflows/intel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
set +e
113113
source /opt/intel/oneapi/setvars.sh
114114
set -e
115+
export PATH=$PATH:/opt/intel/oneapi/compiler/2024.2/bin # FIXME
115116
export CXX=$(which icpx)
116117
export CC=$(which icx)
117118
@@ -176,6 +177,7 @@ jobs:
176177
set +e
177178
source /opt/intel/oneapi/setvars.sh
178179
set -e
180+
export PATH=$PATH:/opt/intel/oneapi/compiler/2024.2/bin # FIXME
179181
export CXX=$(which icpx)
180182
export CC=$(which icx)
181183
export CXXFLAGS="-fsycl ${CXXFLAGS}"

0 commit comments

Comments
 (0)