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

Denis Davydov davydden at gmail.com
Thu Oct 15 03:58:58 EDT 2015


Hi Andrey,

Please find attached requested data.

Regards,
Denis.




On Wed, Sep 30, 2015 at 6:00 PM, Andrey Prokopenko <aprokop at sandia.gov>
wrote:

> Denis,
>
> Sorry for the late reply. Could you please send us your configure script,
> your configure output and maybe the KokkosCore_config.h in your build
> directory under packages/kokkos/core/src?
>
> -Andrey
>
>
> On 09/30/2015 09:45 AM, Andrey Prokopenko wrote:
>
> Forwarding to Kokkos developers as this does not look like a MueLu bug.
>
> -Andrey
>
> On 09/24/2015 01:06 AM, Denis Davydov wrote:
>
> Dear all,
>
> There seems to be an issue when one try to use trilinos (in my case -
> compile deal.II against it)
> compiled with -DTrilinos_ENABLE_OpenMP:BOOL=ON .
> MueLu expects to know Kokkos::OpenMP class defined in Kokkos_OpenMP.hpp.
> As it’s clear from the error below that’s not the case.
>
>
> In file included from /home/davydden/.linuxbrew/include/KokkosCompat_View.hpp:58:0,
>                  from /home/davydden/.linuxbrew/include/KokkosCompat_ClassicNodeAPI_Wrapper.hpp:6,
>                  from /home/davydden/.linuxbrew/include/Kokkos_DefaultNode.hpp:63,
>                  from /home/davydden/.linuxbrew/include/MueLu_ConfigDefs.hpp:52,
>                  from /home/davydden/.linuxbrew/include/MueLu.hpp:51,
>                  from /home/davydden/Library/Temp/dealii20150918-21751-c9v0iv/source/lac/trilinos_precondition_muelu.cc:32:
> /home/davydden/.linuxbrew/include/Kokkos_Core.hpp:179:65: error: 'memory_space' in 'Kokkos::DefaultExecutionSpace {aka class Kokkos::OpenMP}' does not name a type
>  template< class Space = typename Kokkos::DefaultExecutionSpace::memory_space >
>                                                                  ^
> /home/davydden/.linuxbrew/include/Kokkos_Core.hpp:194:65: error: 'memory_space' in 'Kokkos::DefaultExecutionSpace {aka class Kokkos::OpenMP}' does not name a type
>  template< class Space = typename Kokkos::DefaultExecutionSpace::memory_space >
>                                                                  ^
> /home/davydden/.linuxbrew/include/Kokkos_Core.hpp:207:65: error: 'memory_space' in 'Kokkos::DefaultExecutionSpace {aka class Kokkos::OpenMP}' does not name a type
>  template< class Space = typename Kokkos::DefaultExecutionSpace::memory_space >
>                                                                  ^
>
>
> I am quite certain it is related to CMake configuration and #define’s as
> the issue can be fixed by some hacking:
> 1) add #include <Kokkos_OpenMP.hpp> to Kokkos_OpenMP.hpp
> 2) comment out #if defined (KoKKOS_HAVE_OPENMP ) && defiened (_OPENMP ) in
> Kokkos_OpenMP.hpp and the closing #endif
>
> Regards,
> Denis.
>
>
> _______________________________________________
> Trilinos-Users mailing listTrilinos-Users at trilinos.orghttps://trilinos.org/mailman/listinfo/trilinos-users
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151015/567d03a6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01.cmake
Type: text/x-cmake
Size: 86419 bytes
Desc: not available
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151015/567d03a6/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KokkosCore_config.h
Type: text/x-chdr
Size: 1724 bytes
Desc: not available
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151015/567d03a6/attachment-0003.bin>


More information about the Trilinos-Users mailing list