From c991d389cec279a0bfbc593e3f3b36bcef77afe9 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Mon, 30 May 2011 12:40:40 +0000
Subject: [PATCH] Removed PETSc stage information in FETI-DP code.

---
 AMDiS/src/parallel/PetscSolverFeti.cc | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/AMDiS/src/parallel/PetscSolverFeti.cc b/AMDiS/src/parallel/PetscSolverFeti.cc
index 18f5ed31..d0274160 100644
--- a/AMDiS/src/parallel/PetscSolverFeti.cc
+++ b/AMDiS/src/parallel/PetscSolverFeti.cc
@@ -856,10 +856,6 @@ namespace AMDiS {
   {
     FUNCNAME("PetscSolverFeti::fillPetscMatrix()");   
 
-    PetscLogStage stageFetiCreate;
-    PetscLogStageRegister("Stage 0 CREATE FETI-DP", &stageFetiCreate);
-    PetscLogStagePush(stageFetiCreate);
-
     nComponents = vec->getSize();
 
     // === Create all sets and indices. ===
@@ -1214,8 +1210,6 @@ namespace AMDiS {
     // === Create PETSc solver for the FETI-DP operator. ===
 
     createFetiKsp();
-
-    PetscLogStagePop();
   }
 
 
@@ -1361,10 +1355,6 @@ namespace AMDiS {
 
     // === Create solver for the non primal (thus local) variables. ===
 
-    PetscLogStage stagePreFeti;
-    PetscLogStageRegister("Stage 0 PRE FETI-DP", &stagePreFeti);
-    PetscLogStagePush(stagePreFeti);
-
     KSPCreate(PETSC_COMM_WORLD, &ksp_b);
     KSPSetOperators(ksp_b, mat_b_b, mat_b_b, SAME_NONZERO_PATTERN);
     KSPSetOptionsPrefix(ksp_b, "solver_b_");
@@ -1411,17 +1401,7 @@ namespace AMDiS {
 
     // === Solve with FETI-DP operator. ===
 
-    PetscLogStagePop();
-    PetscLogStage stageFeti0, stageFeti1, stageFeti2;
-    PetscLogStageRegister("Stage 0 FETI-DP", &stageFeti0);
-    PetscLogStageRegister("Stage 1 FETI-DP", &stageFeti1);
-    PetscLogStageRegister("Stage 2 FETI-DP", &stageFeti2);
-    PetscLogStagePush(stageFeti0);
-    
     KSPSolve(ksp_feti, vec_rhs, vec_rhs);
-
-    PetscLogStagePop();
-    PetscLogStagePush(stageFeti1);
    
     // === Solve for u_primals. ===
 
@@ -1451,10 +1431,6 @@ namespace AMDiS {
 
     KSPSolve(ksp_b, tmp_b0, tmp_b0);
 
-    PetscLogStagePop();
-    PetscLogStagePush(stageFeti2);
-
-
     // === And recover AMDiS solution vectors. ===
     
     recoverSolution(tmp_b0, tmp_primal0, vec);
@@ -1496,8 +1472,6 @@ namespace AMDiS {
       MatDestroy(&mat_interior_duals);
       MatDestroy(&mat_duals_interior);
     }
-
-    PetscLogStagePop();
   }
 
 
-- 
GitLab