-
Notifications
You must be signed in to change notification settings - Fork 58
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
configuration with Intel compilers is broken #202
Comments
I think there are compilers out there, for which we can't know it automatically. I remember having issues with an older intel compiler series. Maybe we should introduce a special case for intel compilers, as you suggested. Or, we undo #159 and find a different solution to that. In the comments of #159 I remarked that this may lead to issues for some compilers. |
It's pretty weird that there are additional apostrophes in that path. I guess it should just be |
@tjhei There is definitely something funny with the toolchain. Testing your configuration line
works like a charm on TACC resources (the only intel compiler I have access to). The
|
@zjiaqi2018 this did not work for you on frontera but hangs in DEAL_II_HAVE_USABLE_FLAGS_DEBUG right? |
Yes, but I can not find it in |
Yes, after more than half an hour, still here... |
Same error with the broken include path. I guess it would work if that path wasn't there.
but I still blame cmake for that. |
Updating cmake from 3.16 to 3.20 fixes it... :-( |
Setting the compiler wrapper in CMake instead of in CC and CXX is recommended, but only works for recent CMake versions (one configuration I tested requires CMake 3.20 for the intel compiler). With 9.3.1 deal.II supports setting CXX=mpicxx again, so only do the above when a setting in candi.cfg is specified. Works around dealii#202 and fixes feature introduced in dealii#159
Setting the compiler wrapper in CMake instead of in CC and CXX is recommended, but only works for recent CMake versions (one configuration I tested requires CMake 3.20 for the intel compiler). With 9.3.1 deal.II supports setting CXX=mpicxx again, so only do the above when a setting in candi.cfg is specified. Works around #202 and fixes feature introduced in #159
Setting the compiler wrapper in CMake instead of in CC and CXX is recommended, but only works for recent CMake versions (one configuration I tested requires CMake 3.20 for the intel compiler). With 9.3.1 deal.II supports setting CXX=mpicxx again, so only do the above when a setting in candi.cfg is specified. Works around dealii#202 and fixes feature introduced in dealii#159
Intel compilers do not configure correctly due to #159
We used to do
which works correctly. But, according to dealii/dealii#11478 (comment) I should do:
but this fails with:
Not setting CXX also fails (it picks up the system g++ and bails).
How do I know when to set CXX to the mpi wrapper and automatically?
cmake 3.16.3, intel 19.1.3
The text was updated successfully, but these errors were encountered: