[petsc-users] Fatal error in MPI_Allreduce: Error message texts are not available[cli_9]: aborting job:

Matthew Knepley knepley at gmail.com
Sat Aug 6 09:28:34 CDT 2011


On Sat, Aug 6, 2011 at 2:22 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> On Sat, 6 Aug 2011, Dominik Szczerba wrote:
>
> > >> Also, run with -start_in_debugger and get a stack trace when it fails.
> > >>    Matt
> > >
> > > I get:
> > >
> > > [0]PETSC ERROR: PETSC: Attaching gdb to
> > > /home/dsz/build/framework-debug/trunk/bin/sm3t4mpi of pid 12238 on
> > > display localhost:11.0 on machine nexo
> >
> > OK after long waiting all 12 gdb windows showed up. Starting the app
> > with its args leads to:
> >
> > Reading symbols from
> /home/dsz/build/framework-debug/trunk/bin/sm3t4mpi...done.
> > Attaching to program:
> > /home/dsz/build/framework-debug/trunk/bin/sm3t4mpi, process 12241
> > ptrace: No such process.
> > /home/dsz/data/test-solve/SM/box/run3/12241: No such file or directory.
> > (gdb)  r run.xml
> > Starting program: /home/dsz/build/framework-debug/trunk/bin/sm3t4mpi
> run.xml
> > [Thread debugging using libthread_db enabled]
> > [cli_3]: PMIU_parse_keyvals: unexpected key delimiter at character 54 in
> cmd
> > [cli_3]: parse_kevals failed -1
>
>
> The application is already started with -start_in_debugger. So you don't do
> 'r run.xml'
>
> You place a break point at relavent locations - and then do 'c' for
> continue
>

Satish is right. Also, at this point you can set the arguments using

  set args run.xml

     Matt


> (gdb) b PetscError
> (gdb) c
>
> Satish




-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110806/458d958a/attachment.htm>


More information about the petsc-users mailing list