[mpich-discuss] MPICh2/Hydra support for debugging

Pavan Balaji balaji at mcs.anl.gov
Tue Sep 18 13:55:50 CDT 2012


Nenad,

Yes, Hydra supports the debugger MPIR "spec".  The Hydra wiki has 
information on how to use it.

http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager

You don't need to attach to an already running program.  You can start 
the program through the debugger.

  -- Pavan

On 09/18/2012 11:32 AM, Nenad Vukicevic wrote:
> Does anyone know if MPICH2/Hydra supports debugger attach to an already
> running program? I see from the source code that MPIR interface is used,
> but it is all related to the strtup phase of the program.
>
> My understanding is that to support this kind of debugger attach,
> mpiexec needs to periodically check if it is being debugged
> (MPIR_being_debugged), and call MPIR_Breakpoint if yes. MPIR spec is not
> that clear on this and I would appreciate if anyone points me to the
> source code if there is a support for this.
>
> Thanks,
> Nenad
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list