[MPICH] exception hangs app

Tom Hilinski tom.hilinski at comcast.net
Wed Aug 30 16:00:06 CDT 2006


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