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

2016-09-15 Thread Matthew Knepley
On Thu, Sep 15, 2016 at 4:23 AM,  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
variables.

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

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

  Thanks,

 Matt


> 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@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


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

2016-09-15 Thread li . luo


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?
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@siat.ac.cn