Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fix IntelLLVM builds #5419

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

EZoni
Copy link
Member

@EZoni EZoni commented Oct 28, 2024

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:

/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.

@EZoni EZoni added bug Something isn't working component: tests Tests and CI labels Oct 28, 2024
@EZoni EZoni requested a review from WeiqunZhang October 28, 2024 17:37
@EZoni EZoni force-pushed the ci_fix_intelllvm branch 5 times, most recently from 9edc408 to f2ef340 Compare October 28, 2024 18:18
@EZoni EZoni requested a review from RemiLehe October 28, 2024 18:25
Comment on lines 112 to 117
set +e
source /opt/intel/oneapi/setvars.sh
set -e
export PATH=$PATH:/opt/intel/oneapi/compiler/2024.2/bin # FIXME
export CXX=$(which icpx)
export CC=$(which icx)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exporting PATH should be unnecessary here, given that we execute source /opt/intel/oneapi/setvars.sh before. However, for some reason the Intel setvars script still adds the path to the 2025 version of the Intel compiler.

@EZoni EZoni changed the title [WIP] CI: fix IntelLLVM builds CI: fix IntelLLVM builds Oct 28, 2024
@RemiLehe RemiLehe merged commit fcd5a09 into ECP-WarpX:development Oct 28, 2024
32 checks passed
@EZoni
Copy link
Member Author

EZoni commented Oct 28, 2024

openPMD reference: openPMD/openPMD-api#1690

@EZoni EZoni deleted the ci_fix_intelllvm branch October 28, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: tests Tests and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants