From 4dd03a49af37009db2b1037b9506a829cc5354b3 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 22 Feb 2011 23:48:32 +0000 Subject: [PATCH] cleanup test and make it pass. git-svn-id: https://svn.dealii.org/trunk@23423 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/mpi/petsc_01.cc | 9 +++------ tests/mpi/petsc_01/ncpu_1/cmp/generic | 7 +++---- tests/mpi/petsc_01/ncpu_10/cmp/generic | 14 +++----------- tests/mpi/petsc_01/ncpu_4/cmp/generic | 8 +++----- 4 files changed, 12 insertions(+), 26 deletions(-) diff --git a/tests/mpi/petsc_01.cc b/tests/mpi/petsc_01.cc index 6623b24334..4985e31169 100644 --- a/tests/mpi/petsc_01.cc +++ b/tests/mpi/petsc_01.cc @@ -31,15 +31,12 @@ void test() { - - unsigned int myid = Utilities::System::get_this_mpi_process (MPI_COMM_WORLD); - const unsigned int numprocs = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); + unsigned int numprocs = Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD); if (myid==0) deallog << "Running on " << numprocs << " CPU(s)." << std::endl; - CompressedSimpleSparsityPattern csp(2*numprocs); for (unsigned int i=0;i