MantisBT - VTK
View Issue Details
0005253VTK(No Category)public2007-06-29 09:302013-04-05 20:18
Ken Moreland 
Ken Moreland 
normalmajoralways
closedfixed 
 
 
0005253: Receiving vtkDataObject/vtkDataArray with ANY_SOURCE
In the implementation of vtkCommunicator::Receive for data objects and data arrays, it requires several transmissions to actually complete the transaction.

There is an issue when the source is ANY_SOURCE. In this case, MPI does not guarantee that the messages will be received in the same order that they are sent. If the messages are received in the wrong order, the data object/data array will not be reconstructed correctly.
No tags attached.
Issue History
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 20:18Berk GeveciStatuscustomer review => closed

Notes
(0008015)
Ken Moreland   
2007-07-09 10:10   
Fixed the problem by first receiving a special message with a mangled tag and the actual sender. Then use this information for the rest of the messages, which should guarantee receiving in the correct order.

/cvsroot/ParaView3/ParaView3/VTK/Parallel/vtkCommunicator.cxx,v <-- vtkCommunicator.cxx
new revision: 1.41; previous revision: 1.40
/cvsroot/ParaView3/ParaView3/VTK/Parallel/Testing/Cxx/ExerciseMultiProcessController.cxx,v <-- ExerciseMultiProcessController.cxx
new revision: 1.4; previous revision: 1.3