[Trilinos-Users] confusion on configuring trilinos

Hysom, David A. hysom1 at llnl.gov
Tue Feb 7 12:46:51 EST 2017


I'm in the process of switching from an older version to the current version of trilinos: 12.10

Your release notes state:


 Tpetra pays attention to Kokkos' build configuration when determining
      the default Node type.  For example, it will not use a disabled
      execution space.  If you do not like the default Node type, but you
      only ever use one Node type in your application, you should change the
      default Node type at Trilinos configure time.  You may do this by
      setting the 'KokkosClassic_DefaultNode' CMake option.  Here is a list
      of reasonable values:

first question: where is the documentation for what should go in my cmake file to configure kokkos?


second, I included in my script: -D KokkosClassic_DefaultNode:STRING=\"Kokkos::Compat::KokkosOpenMPWrapperNode\"

And got the following confusing message:


  You set Tpetra's default Node type to
  "Kokkos::Compat::KokkosOpenMPWrapperNode", but you used
  KokkosClassic_DefaultNode, which has been deprecated.  Please use
  Tpetra_DefaultNode instead. Are your release notes out of date?


CMake Error at packages/tpetra/classic/NodeAPI/CMakeLists.txt:150 (MESSAGE):
  Unrecognized or disabled Node type
  ""Kokkos::Compat::KokkosOpenMPWrapperNode"".  None of the possibilities
  Kokkos::Compat::KokkosSerialWrapperNode,
  Kokkos::Compat::KokkosOpenMPWrapperNode,
  Kokkos::Compat::KokkosThreadsWrapperNode, or
  Kokkos::Compat::KokkosCudaWrapperNode are enabled, so we do not know what
  default Node type to pick.

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


More information about the Trilinos-Users mailing list