[petsc-users] Question about error

Matthew Knepley knepley at gmail.com
Tue Jan 31 06:58:02 CST 2023


On Tue, Jan 31, 2023 at 5:49 AM 김성익 <ksi2443 at gmail.com> wrote:

> Hello,
>
>
> There are different results from different commands.
> However, it should be computed same result between different commands.
>
> The first command is just as below
> './app' (app is my petsc application)
> and the results are as below.
> [image: image.png]
>
> And the second command is just as below
> 'mpiexec -n 1 ./app'
> and I got the result what I want.
>
> Actually first of all, I suspected my a1.c:195. However there is no error.
> How can I fix this problem??
> I don't know where to start.
> We continue to investigate from the input data to the structure, but we
> are unable to find any suspicious parts.
>

What MPI are you using? It is possible that it requires you to run with
mpiexec. To track down the error, you
can run with -start_in_debugger, and when you get the signal, print out the
stack.

  Thanks,

     Matt


> Thanks,
> Hyung Kim
>
>

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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230131/7354fcf3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 284401 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230131/7354fcf3/attachment-0001.png>


More information about the petsc-users mailing list