← Back to team overview

dolfin team mailing list archive

Re: Verbose output from LU solver

 

On 19/09/12 12:44, Marie E. Rognes wrote:

The current solve function seems rather verbose: the output from the
Poisson demo (with PETSc 3.2) is the below. Where does this output come
from and is it intentional?


There's a hardcoded call to KSPView inside PETScLUSolver.cpp. I've
had the following patch applied to my trunk for a while now:

=== modified file 'dolfin/la/PETScLUSolver.cpp'
--- dolfin/la/PETScLUSolver.cpp	2012-09-14 12:17:18 +0000
+++ dolfin/la/PETScLUSolver.cpp	2012-09-19 10:33:06 +0000
@@ -235,7 +235,7 @@

   // Solve linear system
   KSPSolve(*_ksp, *_b.vec(), *_x.vec());
-  KSPView(*_ksp, PETSC_VIEWER_STDOUT_WORLD);
+  //KSPView(*_ksp, PETSC_VIEWER_STDOUT_WORLD);

   return 1;
 }

I think the call shouldn't be there.

Patrick



Follow ups

References