[petsc-dev] Error during KSPDestroy

Satish Balay balay at mcs.anl.gov
Mon May 7 10:53:29 CDT 2012


On Mon, 7 May 2012, Barry Smith wrote:

> 
>    I am also running complex. 
> 
>     Look in the file dlasq2.f (it will be in the externalpackages subdirectory of the PETSc directory. Look at line 215, this is where valgrind has a problem. In my copy 
> 
>       END IF
> *
> *     Check for negative data and compute sums of q's and e's.
> *                                                                                                                           <------ this is line 215
>       Z( 2*N ) = ZERO
> 
> it is a comment, which is not good. Is lione 215 also a comment in your copy of dlasq2.f?
> 
> There are two possible causes I can think of for your problem
> 
> 1) PETSc does not allocate enough work space for zgesvd() or 
> 2) the BLAS/LAPACK routines have a bug where they sometimes access out of their work space.
> 
> 
>    Satish,
> 
>      Can you try the same build options on a Linux machine as close to Alexander as we have and see if you can reproduce this?

I can reproduce on my linux laptop. [also on petsc.mcs]

Satish



More information about the petsc-dev mailing list