How many MPI ranks do you use? The following line is suspicious. I guess you
do not want a vector of global length 1.
66 VecSetSizes(b,PETSC_DECIDE,1);
--Junchao Zhang
On Wed, Apr 24, 2019 at 4:14 PM Karl Lin via petsc-users
mailto:petsc-users@mcs.anl.gov>> wrote:
Hi, there
I have been try
I ran your problem fine on one process. no errors.
Suggest you run under valgrind on your system:
https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind or if that is
not useful
Run in the debugger with the option -start_in_debugger noxterm
Good luck,
Barry
> On Apr 24,
Thanks for letting us know. The latest PETSc release automatically detects
this issue at ./configure time. You might consider upgrading just to get the
most stable software as we keep improving PETSc.
Barry
> On Apr 25, 2019, at 9:35 AM, Karl Lin wrote:
>
> Thanks for tip, I figured
Sure thank you.
On Thu, Apr 25, 2019 at 10:32 AM Smith, Barry F. wrote:
>
>Thanks for letting us know. The latest PETSc release automatically
> detects this issue at ./configure time. You might consider upgrading just
> to get the most stable software as we keep improving PETSc.
>
>Barry