[Trilinos-Users] Fwd: Spurious warnings in Trilinos debug builds

Evans, Thomas M. evanstm at ornl.gov
Tue Aug 25 10:29:12 EDT 2015


This isn’t formally a bug, but in commit 9bc4d894 the following messages got added to DEBUG builds:

*** Calling Trilinos::Details::LinearSolverFactoryRepository::registerLinearSolverFactory for package "Amesos2", MV = Tpetra::MultiVector<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
*** Registered LinearSolverFactory for package "Amesos2", MV = Tpetra::MultiVector<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
*** Calling Trilinos::Details::LinearSolverFactoryRepository::registerLinearSolverFactory for package "Amesos2", MV = Tpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
*** Registered LinearSolverFactory for package "Amesos2", MV = Tpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
*** Calling Trilinos::Details::LinearSolverFactoryRepository::registerLinearSolverFactory for package "Amesos2", MV = Epetra_MultiVector, OP = Epetra_Operator, NormType = double
*** Registered LinearSolverFactory for package "Amesos2", MV = Epetra_MultiVector, OP = Epetra_Operator, NormType = double
Registering Ifpack2 LinearSolverFactory for SC = double, LO = int, GO = int, NT = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, and mag_type = double
*** Calling Trilinos::Details::LinearSolverFactoryRepository::registerLinearSolverFactory for package "Ifpack2", MV = Tpetra::MultiVector<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
*** Registered LinearSolverFactory for package "Ifpack2", MV = Tpetra::MultiVector<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, int, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
Registering Ifpack2 LinearSolverFactory for SC = double, LO = int, GO = long long, NT = Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, and mag_type = double
*** Calling Trilinos::Details::LinearSolverFactoryRepository::registerLinearSolverFactory for package "Ifpack2", MV = Tpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
*** Registered LinearSolverFactory for package "Ifpack2", MV = Tpetra::MultiVector<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace>, false>, OP = Tpetra::Operator<double, int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> >, NormType = double
Using 1 processors

These get output at runtime, regardless if the current application actually instantiates any Trilinos objects or not.  All that is required is for one of the loaded libraries (or its dependencies) to have these symbols.  Can these be turned off (without doing non-debug)? It seems somewhat invasive for a downstream library to output to stderr when the application isn’t even using any of these services.

Tom

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


More information about the Trilinos-Users mailing list