|
Boost Users : |
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
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