From 3cc9d501add3570b0b6cdcc648d843d69140558c Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 1 Feb 2013 16:45:07 +0000 Subject: [PATCH] remove Asserts() in PETSc solvers for now git-svn-id: https://svn.dealii.org/trunk@28210 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/petsc_solver.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deal.II/source/lac/petsc_solver.cc b/deal.II/source/lac/petsc_solver.cc index 8a8dc50073..8843670dd1 100644 --- a/deal.II/source/lac/petsc_solver.cc +++ b/deal.II/source/lac/petsc_solver.cc @@ -64,9 +64,12 @@ namespace PETScWrappers { int ierr; + /* + TODO: PETSc dublicates communicators, so this does not work (you put MPI_COMM_SELF in, but get something other out when you ask PETSc for the communicator. This mainly fails due to the MatrixFree classes, that can not ask PETSc for a communicator. //Timo Heister Assert(A.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Matrix need to use the same MPI_Comm.")); Assert(x.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Vector need to use the same MPI_Comm.")); Assert(b.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Vector need to use the same MPI_Comm.")); + */ // first create a solver object if this // is necessary -- 2.39.5