Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Add/remove "Event Listeners" in MPI?
From: Lim Jiew Meng (jiewmeng_at_[hidden])
Date: 2012-11-13 02:16:14


What I want to achieve is something like:

   - root process listens to children process
   - children will listen to root for stop notification
   - children starts doing work
   - when 1st child completes, notify root
   - root then notifies all processes to stop

How can I implement something like this in (Open)MPI/C++?

Listen will be something similar to IRecv? But how do I cancel those IRecv
later?