From: Tim K. <tim...@ce...> - 2010-11-04 14:40:52
|
On Thu, 4 Nov 2010, Kirk, Benjamin (JSC-EG311) wrote: > I'm all for (1). > > Note thought that MPI_Request_free does not cancel communication - > MPI_Cancel does. MPI_Request_free says you have no need for this particular > request - possibly because you will be able to infer when it has completed > due to some knowledge of program structure. > > MPI_Cancel is definitely not used in our code and according to the docs 'can > be an expensive operation that should be used only exceptionally.' > > So what about Request::free() and a clean destructor? Okay, I'm convinced. I guess the attached patch does everything we need, doesn't it? Best Regards, Tim -- Dr. Tim Kroeger CeVis -- Center of Complex Systems and Visualization University of Bremen tim...@ce... Universitaetsallee 29 tim...@me... D-28359 Bremen Phone +49-421-218-7710 Germany Fax +49-421-218-4236 |