Re: [petsc-users] issue with NullSpaceRemove in parallel

2016-10-06 Thread Mohammad Mirzadeh
Thanks Barry. That seems to have fixed it; I had a NAN somewhere in the RHS. On Wed, Oct 5, 2016 at 11:18 PM, Barry Smith wrote: > > The message "Scalar value must be same on all processes, argument # 2" > comes up often when a Nan or Inf as gotten into the computation. The IEEE > standard for

Re: [petsc-users] issue with NullSpaceRemove in parallel

2016-10-05 Thread Barry Smith
The message "Scalar value must be same on all processes, argument # 2" comes up often when a Nan or Inf as gotten into the computation. The IEEE standard for floating point operations defines that Nan != Nan; I recommend running again with -fp_trap this should cause the code to stop with

[petsc-users] issue with NullSpaceRemove in parallel

2016-10-05 Thread Mohammad Mirzadeh
Hi folks, I am trying to track down a bug that is sometimes triggered when solving a singular system (poisson+neumann). It only seems to happen in parallel and halfway through the run. I can provide detailed information about the actual problem, but the error message I get boils down to this: [0]