TY - GEN
T1 - Runtime checking of datatype signatures in MPI
AU - Gropp, William D.
N1 - Publisher Copyright:
© Springer-Verlag Berlin Heidelberg 2000.
PY - 2000
Y1 - 2000
N2 - The MPI standard provides a way to send and receive complex combinations of datatypes (e.g., integers and doubles) with a single communication operation. The MPI standard specifies that the type signature, that is, the basic datatypes (language-defined types such as int or DOUBLE PRECISION), must match in communication operations suchas send/receive or broadcast. Because datatypes may be defined by the user in MPI, there is a limitless collection of possible type signatures. Detecting the programmer error of mismatched datatypes is difficult in this case; detecting all errors essentially requires sending a complete description of the type signature with a message. This paper discusses analternative: send the value of a function of the type signature so that (a)identical type signatures always give the same function value, (b) different type signatures often give different values, and (c) common cases(e.g., predefined datatypes) are handled exactly. Thus, erroneous programs are often (but not always) detected; correct programs never are flagged as erroneous. The method described is relatively inexpensive to compute and uses a small (and fixed, independent of the complexity ofthe datatype) amount of space in the message envelope.
AB - The MPI standard provides a way to send and receive complex combinations of datatypes (e.g., integers and doubles) with a single communication operation. The MPI standard specifies that the type signature, that is, the basic datatypes (language-defined types such as int or DOUBLE PRECISION), must match in communication operations suchas send/receive or broadcast. Because datatypes may be defined by the user in MPI, there is a limitless collection of possible type signatures. Detecting the programmer error of mismatched datatypes is difficult in this case; detecting all errors essentially requires sending a complete description of the type signature with a message. This paper discusses analternative: send the value of a function of the type signature so that (a)identical type signatures always give the same function value, (b) different type signatures often give different values, and (c) common cases(e.g., predefined datatypes) are handled exactly. Thus, erroneous programs are often (but not always) detected; correct programs never are flagged as erroneous. The method described is relatively inexpensive to compute and uses a small (and fixed, independent of the complexity ofthe datatype) amount of space in the message envelope.
UR - http://www.scopus.com/inward/record.url?scp=84957035346&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84957035346&partnerID=8YFLogxK
U2 - 10.1007/3-540-45255-9_24
DO - 10.1007/3-540-45255-9_24
M3 - Conference contribution
AN - SCOPUS:84957035346
SN - 3540410104
SN - 9783540410102
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 160
EP - 167
BT - Recent Advances in Parallel Virtual Machine and Message Passing Interface - 7th European PVM/MPI Users’ Group Meeting, Proceedings
A2 - Dongarra, Jack
A2 - Kacsuk, Peter
A2 - Podhorszki, Norbert
PB - Springer
T2 - 7th European Parallel Virtual Machine and Message Passing Interface Users’ Group Meeting, PVM/MPI 2000
Y2 - 10 September 2000 through 13 September 2000
ER -