-
Notifications
You must be signed in to change notification settings - Fork 46
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
OpenMP Detection for Fortran when using GCC 7.2.0 Fails #244
Comments
Seem to be able to work around with (below) for now.
|
What version of CMake is this? The TriBITS support for OpenMP is to just call I can see that at some point FindOpenMP.cmake added those libs at: but not sure when. Looking at the current TriBITS implementation integrating OpenMP at: you can see that TriBITS never uses the lib variables. But I guess for the use case you describe it seems that In any case, the good news is that the OpenMP problem for Trilinos should go away once merge the branch being worked on in trilinos/Trilinos#1400 and people start setting |
Now that Trilinos can use We need to move away from FindOpenMP.cmake I think. |
Now that Trilinos is using |
@nmhamster, I just hit this while working on an Intel OpenMP build of Trilinos for SPARC as part of https://software-sandbox.sandia.gov/jira/browse/TRIL-212. It seems this is a known problem for CMake: Unfortunately, the workaround you give above does not result in a successful configure. I gives the configure failure:
I posted the SNK Kitware issue: In the meantime, we need to find a workaround. |
I found a workaround that worked for the ATDM Trilinos Intel build in
No rush to fix this, at least for the ATDM Trilinos builds. |
Had this on initial GCC 7.2.0 bring up for Sky Lake (using Sandia/ASC Blake Test Bed)
In
CMakeCache.txt
I get the following text:The text was updated successfully, but these errors were encountered: