You need to test on your personal computer with multiple MPI processes (e.g., 
mpirun -n 2 ...) before moving to big machines. You may also need to configure 
petsc with --with-dedugging=1 --COPTFLAGS="-O0 -g" etc to ease debugging.
--Junchao Zhang


On Sat, Jul 20, 2019 at 11:03 AM Yuyun Yang via petsc-users 
<petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>> wrote:
Hello team,

I’m encountering a problem with my code’s behavior on multiple processors. When 
I run it on my personal computer it works just fine, but when I use it on our 
computing cluster it produces an error (in one of the root-finding functions, 
an assert statement is not satisfied) and aborts.

If I just run on one processor then both machines can run the code just fine, 
but they give different results (maybe due to roundoff errors).

I’m not sure how to proceed with debugging (since I usually do it on my own 
computer which didn’t seem to encounter a bug) and would appreciate your 
advice. Thank you!

Best regards,
Yuyun

Reply via email to