[Trilinos-Users] [Kokkos-Developers] [EXTERNAL] [12.2.1] MueLu/Kokkos OpenMP configuration/macros issue

Denis Davydov davydden at gmail.com
Sun Oct 18 02:30:21 EDT 2015

It’s not that much about the usage of OpenMP but rather about inconsistencies inside packages and their configuration when OpenMP=ON,
which in turn leads to compiler errors when using trilinos.
Roughly, It seems that Kokkos was clever to disable OpenMP when user did not provide those compiler flags("-fope nmp"), whereas MueLu still thinks that OpenMP is enabled
and thus the compiler error.


> On 18 Oct 2015, at 08:18, Christian Trott <crtrott at sandia.gov> wrote:
> If what you suggests fixes it then you tried to compile with the OpenMP backend, without enabling OpenMP in the compiler (i.e. what Si indirectly suggested).
> We do not allow you to use the OpenMP backend if OpenMP is not enabled in the compiler. By removing our guards you circumvent that. While this means
> that you might actually get your code to compiler, it is unlikely that it will run correctly.
> Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151018/c58e4062/attachment.html>

More information about the Trilinos-Users mailing list