You need to call MPI_Abort, not Finalize. Finalize will block until all procs call it. Abort causes the system to terminate everyone immediately.
On Jul 14, 2010, at 5:06 AM, Saygin Arkan wrote: > Hi, > I'm executing an mpi program, using C++ bindings. > > if( rank == 0) > { > ... > ... > if( !isFileFound){ > LOG4CXX_ERROR(log, "There are not any files related with the > given probe ID"); > Finalize(); > exit(0); > } > } > > Here rank zero stops working, I print the error log. But the program > continues to run. > How can I make it stop somehow? > program just halts for minutes and then I kill it manually. > > > -- > Saygin > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users