Boost logo

Boost Users :

Subject: [Boost-users] mpi: sending/receiving different types
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-12-03 02:49:35


Hi,

I will be sending messages of different kinds.

The destination will not know what kind of message it is trying to receive.

Imagine I send many messages of the same kind. I understand the tag in
send/receive will be different in each case? Or can I send 2 messages of the
same king with the same tag? That way the receiver can use the tag to
identify what it is it is receiving. If so, is the receiver supposed to use
the recv() function with different template argument T until the call
succeeds ?

Or should I always use packed_<oi>archive?

 

rds,



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net