> 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