On 07/09/2017 01:48 PM, Maxi Miller wrote:
> Installed it via
> |
> make install
> |
It's possible that, assuming you still have the build directory, you can
uninstall things by saying
make uninstall
But I don't know whether Trilinos supports that.
> |
> [61%]BuildingCXX objectsource/numerics/CMakeFiles/
> obj_numerics_debug.dir/matrix_creator_inst3.cc.o
> Infile included from/usr/local/include/Teuchos_Assert.hpp:46:0,
> from/usr/local/include/Teuchos_any.hpp:51,
> from/usr/local/include/Teuchos_ParameterEntry.hpp:51,
> from/usr/local/include/Teuchos_ParameterList.hpp:51,
> from~/Downloads/dealii/include/deal.II/lac/trilinos_precondition.h:39,
> from~/Downloads/dealii/source/lac/trilinos_precondition_muelu.cc:17:
> /usr/local/include/Teuchos_DefaultMpiComm.hpp:Ininstantiation of
> ‘Teuchos::MpiComm<Ordinal>::MpiComm(MPI_Comm)[withOrdinal=int;MPI_Comm
> =ompi_communicator_t*]’:
> /usr/local/include/Ifpack2_LocalFilter_def.hpp:110:20: required
> from‘Ifpack2::LocalFilter<MatrixType>::LocalFilter(constTeuchos::RCP<constTpetra::RowMatrix<typenameMatrixType::scalar_type,typenameMatrixType::local_ordinal_type,typenameMatrixType::global_ordinal_type,typenameMatrixType::node_type>>&)[withMatrixType=Tpetra::RowMatrix<double,int,int,Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP>>;typenameMatrixType::node_type
> =Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP>;typenameMatrixType::global_ordinal_type
> =int;typenameMatrixType::local_ordinal_type
> =int;typenameMatrixType::scalar_type =double]’
> /usr/local/include/Ifpack2_Details_DenseSolver_def.hpp:245:23: required
> from‘voidIfpack2::Details::DenseSolver<MatrixType,false>::initialize()[withMatrixType=Tpetra::RowMatrix<double,int,int,Kokkos::Compat::KokkosDeviceWrapperNode<Kokkos::OpenMP>>]’
> ~/Downloads/dealii/source/lac/trilinos_precondition_muelu.cc:302:1: required
> fromhere
> /usr/local/include/Teuchos_DefaultMpiComm.hpp:835:3:error:ISO C++forbids
> comparison between pointer andinteger [-fpermissive]
> TEUCHOS_TEST_FOR_EXCEPTION(rawMpiComm ==MPI_COMM_NULL,
> |
That looks like another bug in Trilinos, though I don't know how to fix it
other than uncommenting line 835-837. It's also possible that you could change
this to
TEUCHOS_TEST_FOR_EXCEPTION(rawMpiComm == (MPI_Comm)MPI_COMM_NULL,
but I'm only partially sure this will work.
Please do report this bug to the Trilinos folks the same way as I reported the
previous issue.