Re: [OMPI users] Debugging OpenMPI calls

2009-09-28 Thread Aniruddha Marathe
OK, it turned out to be a really stupid mistake. Sorry for spamming and thanks for the help! Regards, Aniruddha On Mon, Sep 28, 2009 at 11:28 AM, Aniruddha Marathe < marathe.anirud...@gmail.com> wrote: > Hi Jeff, > > Thanks for the pointers. I tried with both CFLAGS=-g3 and --enable-debug > (se

Re: [OMPI users] Debugging OpenMPI calls

2009-09-28 Thread Aniruddha Marathe
Hi Jeff, Thanks for the pointers. I tried with both CFLAGS=-g3 and --enable-debug (separately), however, I am still unable to jump into the MPI source. It seems I am missing a small step(s) somewhere. I compiled my MPI application with the new library built with above flags, ran it and attached g

Re: [OMPI users] Debugging OpenMPI calls

2009-09-28 Thread Jeff Squyres
You might want to just configure Open MPI with: ./configure CFLAGS=-g3 ... That will pass "-g3" to every Makefile in Open MPI. FWIW: I do variants on this technique and gdb is always able to jump to the right source location if I "break MPI_Barrier" (for example). We actually have a "--e