Subject: [Boost-users] [MPI] lifetime of data sent through communicator::isend()
From: Riccardo Murri (riccardo.murri_at_[hidden])
Date: 2010-11-20 13:50:02


Hello,

I'm using mpi::communicator::isend where the payload data comes from a
pointer (e.g., "req = comm_.isend(dest, tag. *data)").
When am I free to "delete" the pointer? Immediately after isend()
returns? Or should I wait until the request is completed?

Does setting BOOST_MPI_HOMOGENEOUS have any influence on this?

Best regards,
Riccardo