← Back to team overview

dolfin team mailing list archive

Re: Verbose output from LU solver

 

On 09/19/2012 01:48 PM, Patrick Farrell wrote:
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.

Ah, there is was, thanks. I've removed it in trunk now.

--
Marie


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


_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp


--
Marie Elisabeth Rognes
Senior Research Scientist
Simula Research Laboratory
P.O. Box 134, 1325 Lysaker
http://home.simula.no/~meg/



References