Newsgroups: comp.parallel.mpi
From: James Cownie <jcownie@dolphinics.com>
Subject: Re: Debugging slaves
Organization: Dolphin Toolworks
Date: Thu, 02 Oct 1997 09:31:48 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <34335BF3.2F03@dolphinics.com>

Paul Bristow wrote:

> Hi, I'm using MPICH (the latest version) on an ultra SPARC running
> solaris.  When I start my program for debugging e.g.
> mpirun -np 3 -gdb map 8
> one version of gdb is started in the console.  Does anybody know if I can
> specify which process(es) should be debugged.  Also is it possible to
> switch between the various processes being debugged in one gdb session or
> must I have multiple gdb sessions running to debug multiple processes?
> Thanks,
>         Paul C Bristow.

You should check out the TotalView debugger (version 3.7 is just now 
being released) which has support for MPICH including automatic process
acquisition and message queue display, as well as its normal support
for debugging multiple distributed processes (shared breakpoints,
barrier points, etc.). I think it's great, but then I wrote the MPI
support !

See http://www.dolphinics.com/toolworks

-- Jim 

James Cownie			<jcownie@dolphinics.com>
Dolphin Interconnect Solutions  +44 117 9071438
http://www.dolphinics.com/toolworks

