I ran into the wrong direction then... There are some trilinos warning on my vm machine but deal.ii install was success so I skip over them. Locating the error is very helpful. Thank you Wolfgang!
Best, Wayne 在2023年2月21日星期二 UTC+8 11:38:27<Wolfgang Bangerth> 写道: > > > Thank you Wolfgang. I shift from mumps to superlu_dist. The trilinos is > > compiled with superlu_dist completely, but another error shows up. It > says: > > > > * Compiler setup check for DEAL_II_HAVE_USABLE_FLAGS_DEBUG failed with: > > * Change Dir: > > > /home/wyy/libs/candi/install/tmp/build/deal.II-master/check_compiler_setup/CheckCompilerSetupDEAL_II_HAVE_USABLE_FLAGS_DEBUG > > * Unable to compile a simple test program. Trying to drop "-fuse-ld=gold" > > from the linker flags. > > The real error is actually above that: > > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosbelos.so: > > > error: undefined reference to 'Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::get1dCopy(Teuchos::ArrayView<float> const&, unsigned long) const' > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosbelos.so: > > > error: undefined reference to 'Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::getLocalLength() const' > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosbelos.so: > > > error: undefined reference to 'Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::getGlobalLength() const' > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosbelos.so: > > > error: undefined reference to 'Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::getNumVectors() const' > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosbelos.so: > > > error: undefined reference to 'Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > >::getVector(unsigned long) const' > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosamesos2.so: > > > error: undefined reference to 'Amesos2::KLU2<Tpetra::CrsMatrix<float, int, > long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, > Kokkos::HostSpace> >, Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > >::KLU2(Teuchos::RCP<Tpetra::CrsMatrix<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > const>, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > >, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > const>)' > /home/wyy/libs/candi/install/trilinos-release-13-2-0/lib/libstratimikosamesos2.so: > > > error: undefined reference to > 'Amesos2::TachoSolver<Tpetra::CrsMatrix<float, > int, long long, Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, > Kokkos::HostSpace> >, Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > >::TachoSolver(Teuchos::RCP<Tpetra::CrsMatrix<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > const>, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > >, Teuchos::RCP<Tpetra::MultiVector<float, int, long long, > Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::Serial, Kokkos::HostSpace> > > > const>)' > collect2: error: ld returned 1 exit status > > I must admit that I don't know enough about Trilinos and candi to say > where > the problem is -- maybe others have seen this problem before. > > Best > WB > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: [email protected] > www: http://www.math.colostate.edu/~bangerth/ > > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/dade49e6-6c8b-44a2-a1b2-6a4280631c9dn%40googlegroups.com.
