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

compilation error with new intel compilers #53

Open
ksebaz opened this issue Aug 2, 2023 · 0 comments
Open

compilation error with new intel compilers #53

ksebaz opened this issue Aug 2, 2023 · 0 comments

Comments

@ksebaz
Copy link

ksebaz commented Aug 2, 2023

with the new intel compilers (icx, icpx) one runs into the following type of errors:

[  141s] /home/abuild/rpmbuild/BUILD/complexespp-main/complexes++/src/mc/npt.cpp:164:13: error: explicit comparison with NaN in fast floating point mode [-Werror,-Wtautological-constant-compare]
[  141s]         if (std::isnan(enDelta) || std::isinf(enDelta)) {

One could change the fp-model or include some flags to make the compiler honor these checks even with the default 'fast' but I think this would require a new section in the CMakeLists.txt since the compiler id is now 'IntelLLVM' and the flags might be different from the classic compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant