[petsc-dev] Preconditioner 'gamg' fails in the setup phase

Matthew Knepley knepley at gmail.com
Thu Sep 15 08:09:09 CDT 2016

On Thu, Sep 15, 2016 at 4:23 AM, <li.luo at siat.ac.cn> wrote:

> Dear developer,
> I am using a machine whose architecture is not Intel.
> The preconditioner 'gamg' fails in the setup phase, but there is no error
> information output.
> I guess maybe some variables  in gamg are not initialized when they are
> claimed,  specially those related to memory allocation.
> The complier on this machine may not automatically initialize these
> variables to be zero? by default.
> However, on other machines based on Intel, it works.
> Can you please check the 'gamg' on this issue?

We do run it through valgrind, which will tell us about uninitialized

What architecture are you running on? What happens if there is no error

Can you run in the debugger and get a stack trace?



> Thank you.
> Regards,
> Luo Li
> --
> Li Luo
> https://sites.google.com/site/rolyliluo/
> Shenzhen Institutes of Advanced Technology
> Address: 1068 Xueyuan Avenue, Shenzhen University Town, Shenzhen, P.R.China
> Tel: +86-15899753087
> li.luo at siat.ac.cn

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-dev/attachments/20160915/a8b9515b/attachment.html>

More information about the petsc-dev mailing list