Re: [OMPI users] Killing openmpi job via programming language

2010-07-14 Thread Ralph Castain
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( !

[OMPI users] Killing openmpi job via programming language

2010-07-14 Thread Saygin Arkan
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 th