[petsc-users] Different behavior of code on different machines

Yuyun Yang yyang85 at stanford.edu
Sat Jul 20 11:03:21 CDT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190720/24d02216/attachment-0001.html>


More information about the petsc-users mailing list