[MPICH] exception hangs app

William Gropp gropp at mcs.anl.gov
Wed Aug 30 16:34:45 CDT 2006


Can you send a short program that illustrates the problem?  What you  
describe should work.

Bill

On Aug 30, 2006, at 4:00 PM, Tom Hilinski wrote:

> For mpi/c++ gurus: I have an app that has classes can throw an  
> exception, specifically std::runtime_error. main() has a try-catch  
> for these as well as MPI::Exception. When a process (rank == 0)  
> throws an exception, the process seems to go off into space - I  
> can't trace it in a debugger, and the exception is not caught by  
> the catch (which immediately writes e.what() to cout).  I can kill  
> it with mpdkilljob.
>
> I've reproduced this behavior on both suse linux 10.0/x86_64 and  
> Win2K/cygwin. MPICH version is mpich2-1.0.4p1, which I've built  
> with debugging enabled (--enable-debuginfo --enable-g=dbg,handle)  
> and no threads.
>
> Any suggestions you have would be great.
>




More information about the mpich-discuss mailing list