I just took a look at the piggy back proposal. I do not see a fundamental problem but there are a couple points worth a mention
1) Mandating extra fields in a status object breaks binary compatibility. An MPI library that assume it is filling in new form status when the application was compiled with old form status will trash some other part of memory. When a status was determined to be a user allocated structure in MPI 1.0, the ability to change it was forfeited.
2) Expecting libmpi to recognize that the piggyback sent was bigger than the piggyback expected and truncate the piggyback while delivering an intact user message is not going to be practical. The MPI standard should treat this exactly the way it treats any send/recv in which type signatures do not match. I.E. if total bytes sent is <= total expected, the outcome is undefined and if total bytes sent is > total expected it is an error and the resulting buffer content is undefined. The standard only obliges libmpi to refrain from trashing memory outside the footprint of the typemap.
IBM uses an approach that distributes inbound packets (which may arrive out of order) directly into the receive type map. If the bytes coming in > expected we discard all packets and if <=, we put the bytes wherever the recv side typemap says and have no way of knowing the send type signature and recv type signature are inconsistent. Adding metadata to validate send type signature against recv type signature would be too expensive
.
Dick Treumann - MPI Team
IBM Systems & Technology Group
Dept X2ZA / MS P963 -- 2455 South Road -- Poughkeepsie, NY 12601
Tele (845) 433-7846 Fax (845) 433-8363
George Bosilca ---03/24/2010 09:35:04 AM---Josh, I will not be able to attend either, we have a hard deadline this afternoon.
From: | George Bosilca <bosilca@eecs.utk.edu> |
To: | "MPI 3.0 Fault Tolerance and Dynamic Process Control working Group" <mpi3-ft@lists.mpi-forum.org> |
Date: | 03/24/2010 09:35 AM |
Subject: | Re: [Mpi3-ft] FT Working Group Teleconf (today) |
Sent by: | mpi3-ft-bounces@lists.mpi-forum.org |