[petsc-users] KSPSetComputeEigenvalues memory corruption

Matthew Knepley knepley at gmail.com
Thu Jun 4 12:34:53 CDT 2015


On Thu, Jun 4, 2015 at 12:32 PM, <Carol.Brickley at awe.co.uk> wrote:

>   All,
>
>
>
> I am using KSPSetComputeEigenvalues (in petsc 3.4.3) and getting a memory
> corruption problem. In the manual it says:
>
>
>
> “Currently this option is not valid for all iterative methods”
>
>
>
> Which methods and could this be why there is a memory corruption error
> message?
>

Its only valid for Krylov methods that make a projected operator in the
Krylov space that we can solve the eigenproblem for.

The memory corruption likely has to do with your code, not the flag. Please
run with valgrind to locate the problem.

  Thanks,

    Matt


> Carol
>
> *Dr Carol Brickley *
>
> *BSc,PhD,ARCS,DIC,MBCS*
>
>
>
> *Senior Software Engineer*
>
> *Applied Computer Science*
>
> *DS+T,*
>
> *AWE*
>
> *Aldermaston*
>
> *Reading*
>
> *Berkshire*
>
> *RG7 4PR*
>
>
>
> *Direct: 0118 9855035*
>
>
>
> ___________________________________________________
> ____________________________ The information in this email and in any
> attachment(s) is commercial in confidence. If you are not the named
> addressee(s) or if you receive this email in error then any distribution,
> copying or use of this communication or the information in it is strictly
> prohibited. Please notify us immediately by email at admin.internet(at)
> awe.co.uk, and then delete this message from your computer. While
> attachments are virus checked, AWE plc does not accept any liability in
> respect of any virus which is not detected. AWE Plc Registered in England
> and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150604/4187d90e/attachment.html>


More information about the petsc-users mailing list