Re: [OMPI users] debugging with mpirun

2006-07-08 Thread Jeff Squyres (jsquyres)
XMPI will not work with Open MPI, sorry.

However, I believe that MPE, a tracefile generator for MPI, may work
with Open MPI, and therefore you can use the upshot/jumpshot packages
that are similar in concept to XMPI (both MPE and upshot/jumpshot used
to be distributed with MPICH -- I think they still are, but am not 100%
sure).

There are also a variety of other MPI tracefile / debugging tools
available; some are free, some are not.

Open MPI has plans to include its own tracefile generator in the future,
but a specific timeline has not yet been established.


> -Original Message-
> From: users-boun...@open-mpi.org 
> [mailto:users-boun...@open-mpi.org] On Behalf Of Manal Helal
> Sent: Friday, July 07, 2006 1:18 AM
> To: us...@open-mpi.org
> Subject: Re: [OMPI users] debugging with mpirun
> 
> or, if there is openMPI under Windows, where I can do some visual
> debugging, 
> 
> I appreciate any hints, because my application is getting too 
> big, that
> printf are not doing any good, 
> 
> thanks, 
> 
> Manal
> On Fri, 2006-07-07 at 14:10 +1000, Manal Helal wrote:
> > Hi
> > 
> > I see that XMPI will do all that I need, but it says, it works with
> > LAM/MPI up to versions 6.3.2 & 6.5.9, I am not sure if 
> trying that with
> > open/mpi will work or not, 
> > 
> > Thanks again, 
> > 
> > Manal
> > On Fri, 2006-07-07 at 12:27 +1000, Manal Helal wrote:
> > > thing that can show me varia
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
> 



Re: [OMPI users] debugging with mpirun

2006-07-07 Thread Manal Helal
or, if there is openMPI under Windows, where I can do some visual
debugging, 

I appreciate any hints, because my application is getting too big, that
printf are not doing any good, 

thanks, 

Manal
On Fri, 2006-07-07 at 14:10 +1000, Manal Helal wrote:
> Hi
> 
> I see that XMPI will do all that I need, but it says, it works with
> LAM/MPI up to versions 6.3.2 & 6.5.9, I am not sure if trying that with
> open/mpi will work or not, 
> 
> Thanks again, 
> 
> Manal
> On Fri, 2006-07-07 at 12:27 +1000, Manal Helal wrote:
> > thing that can show me varia



Re: [OMPI users] debugging with mpirun

2006-07-07 Thread Manal Helal
Hi

I see that XMPI will do all that I need, but it says, it works with
LAM/MPI up to versions 6.3.2 & 6.5.9, I am not sure if trying that with
open/mpi will work or not, 

Thanks again, 

Manal
On Fri, 2006-07-07 at 12:27 +1000, Manal Helal wrote:
> thing that can show me varia



Re: [OMPI users] debugging with mpirun

2006-07-06 Thread Brian Barrett

On Jul 6, 2006, at 8:27 PM, Manal Helal wrote:


I am trying to debug my mpi program, but printf debugging is not doing
much, and I need something that can show me variable values, and which
line of execution (and where it is called from), something like gdb  
with

mpi,

is there anything like that?


There are a couple of options.  The first (works best with ssh, but  
can be made to work with most starting mechanisms) is to start a  
bunch of gdb sessions in xterms.  Something like:


  mpirun -np XX -d xterm -e gdb 

The '-d' option is necessary so that mpirun doesn't close the ssh  
sessions, severing its X11 forwarding channel.  This has the  
advantage of being free, but has the disadvantage of being a major  
pain.  A better option is to try a real parallel debugger, such as  
TotalView or Portland Group's PGDBG.  This has the advantage of  
working very well (I use TotalView whenever possible), but has the  
disadvantage of generally not being free.



Hope this helps,

Brian

--
  Brian Barrett
  Open MPI developer
  http://www.open-mpi.org/




[OMPI users] debugging with mpirun

2006-07-06 Thread Manal Helal
hi

I am trying to debug my mpi program, but printf debugging is not doing
much, and I need something that can show me variable values, and which
line of execution (and where it is called from), something like gdb with
mpi, 

is there anything like that?

thank you very much for your help, 

Manal