-
Notifications
You must be signed in to change notification settings - Fork 44
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
Build Failure with intel-oneapi-compilers using spack #1045
Comments
Dear @vijaymocherla |
this compiles for me #1046 |
@toxa81 I'm using the newer clang based intel oneapi compilers If am not wrong intel has mostly stopped supporting the older classic compilers |
@vijaymocherla can you test the fixed version? For that, you need to create a directory with spack.yaml environment file
checkout SIRIUS cod, switch to |
A build of the CP2K toolchain with SIRIUS included using Intel oneAPI 2025 instead of 2024 fails because of the issue described above. After applying the fix
|
my guess is that It is a compiler bug. |
Well, yes, that's possible. That is why we still stick to Intel oneAPI 2024 with CP2K for the time being. If it is a compiler bug, it would make sense if that bug would be filed from the SIRIUS developer team. |
@toxa81 The build still fails for me. But, now its due to the Here's the error output:
|
@toxa81 Please ignore the previous comment, that was an error due to issue with ld path on my machine. I get the same error as @mkrack. Here's an additional snippet of output logfile:
|
I could reproduce the same error @vijaymocherla reported initially with the LLVM clang 19 compiler too (OneAPI 2025 is based on clang 19). Clang 19 has introduced new syntax checking as summarized in https://releases.llvm.org/19.1.0/tools/clang/docs/ReleaseNotes.html. Related to the present build error is: "Clang now looks up members of the current instantiation in the template definition context if the current instantiation has no dependent base classes". This change appears to affect many applications. Some SIRIUS header files need updates. |
rocky linux 9 with intel oneapi 2025, i ran into the same situation while compiling cp2k 2025 with the cp2k installation toolchain. |
Hi,
I encountered a build error while attempting to build SIRIUS using Spack on Ubuntu 22.04 with the oneapi. The error seems related to the splindex_iterator_t class, where the member idx is not recognized, and it suggests idx_ instead. Notably, this issue does not occur when using GCC or other compilers. It appears to be specific to the Intel compilers.
To reproduce the error use:
Error output:
error.txt
The text was updated successfully, but these errors were encountered: