From 2f1d0030efd458a75475d3e378e69e53bce5da3f Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Fri, 24 Jun 2011 10:56:47 +0000
Subject: [PATCH] Removed debug information lines.

---
 AMDiS/src/parallel/PetscProblemStat.cc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/AMDiS/src/parallel/PetscProblemStat.cc b/AMDiS/src/parallel/PetscProblemStat.cc
index 747a10b7..58ff6403 100644
--- a/AMDiS/src/parallel/PetscProblemStat.cc
+++ b/AMDiS/src/parallel/PetscProblemStat.cc
@@ -69,6 +69,7 @@ namespace AMDiS {
 
     double wtime = MPI::Wtime();
 
+#if 0
     double vm, rss;
     processMemUsage(vm, rss);       
     MSG("STAGE 1\n");
@@ -76,27 +77,30 @@ namespace AMDiS {
     mpi::globalAdd(vm);
     mpi::globalAdd(rss);
     MSG("Overall memory usage is VM = %.1f MB    RSS = %.1f MB\n", vm, rss);
+#endif
 
     petscSolver->setMeshDistributor(meshDistributor);
     petscSolver->fillPetscMatrix(systemMatrix, rhs);
 
-
+#if 0
     processMemUsage(vm, rss);   
     MSG("STAGE 2\n");
     MSG("My memory usage is VM = %.1f MB    RSS = %.1f MB\n", vm, rss);    
     mpi::globalAdd(vm);
     mpi::globalAdd(rss);
     MSG("Overall memory usage is VM = %.1f MB    RSS = %.1f MB\n", vm, rss);
-
+#endif
 
     petscSolver->solvePetscMatrix(*solution, adaptInfo);   
 
+#if 0
     processMemUsage(vm, rss);   
     MSG("STAGE 3\n");
     MSG("My memory usage is VM = %.1f MB    RSS = %.1f MB\n", vm, rss);    
     mpi::globalAdd(vm);
     mpi::globalAdd(rss);
     MSG("Overall memory usage is VM = %.1f MB    RSS = %.1f MB\n", vm, rss);
+#endif
 
 
     INFO(info, 8)("solution of discrete system needed %.5f seconds\n", 
-- 
GitLab