Boost logo

Boost Users :

Subject: [Boost-users] mpi non-blocking communication
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2010-11-28 06:54:30


Hello,

I have some problems with the MPI non-blocking communication, but I
can be a thinking error.
The CPU 0 (rank 0) creates a loop with this:
while (true) {
      std::string l_str;
      p_com.irecv( mpi::any_source, LOGGER_MPI_TAG, l_str );
}

p_com is the commuicator object. All other CPUs (!= 0) can send a
message to CPU 0, which should be received. The CPUs (!=0) can send a
message, but they need not, so I would create this with non-blocking
communication. At this time my l_str is alway empty, so it seems that
the message, that are send, not transmittet, received or not inserted
into l_str. I hope the problems is described in a clear way. I would
like that the CPU 0 can receive message of there are some and all
other CPUs can send messages.

Thanks

Phil



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