Can I use MPI_Probe to probe messsages sent by any collective operation?

Posted by takwing on Stack Overflow See other posts from Stack Overflow or by takwing
Published on 2012-03-22T11:27:13Z Indexed on 2012/03/22 11:29 UTC
Read the original article Hit count: 173

Filed under:
|

In my code I have a server process repeatedly probing for incoming messages, which come in two types. One type of the two will be sent once by each process to give hint to the server process about its termination.

I was wondering if it is valid to use MPI_Broadcast to broadcast these termination messages and use MPI_Probe to probe their arrivals.

I tried using this combination but it failed. This failure might have been caused by some other things. So I would like anyone who knows about this to confirm.

Cheers.

© Stack Overflow or respective owner

Related posts about parallel

Related posts about mpi