Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

A Generalized Approach for Transferring Data-Types with Arbitrary Communication Libraries



Martial Michel, J E. Devaney


We present a generalized algorithm for implementing a communications library for dynamic data structures created with heterogeneous composed data types such as multiple C structs, and where the data-types may be nested and may contain pointers. This algorithm is divided into an absolute part that is the same for all instantiations, and a relative part that is specific to the communications mechanism used, such as PVM or MPI. We describe the algorithm in terms of our AutoMap/AutoLink implementation in C/MPI.First, we will talk of the MPI case and of the AutoMap and AutoLink solutions (with ideas from version 3.0). Then we discuss what is to be followed in order to generalize the data-types transfer concepts presented in this article.With this addition to AutoMap/AutoLink we can extend the functions provided from the current send and receive functions (blocking and non blocking) available for any data-types, to any kind of transfer function; from broadcast to reduce (as long as the reduce called process is ``message aware''). This will also simplify the extension of this work to data-types load balancing.
Proceedings Title
(ICPADS 2000) - Multimedia Network Systems Workshop (MNNS'2000)
Conference Dates
July 4-7, 2000
Conference Location
Iwate, JA
Conference Title
IEEE International Parallel and Distributed Processing Symposium


AutoLink, AutoMap, data-types, MPI


Michel, M. and Devaney, J. (2000), A Generalized Approach for Transferring Data-Types with Arbitrary Communication Libraries, (ICPADS 2000) - Multimedia Network Systems Workshop (MNNS'2000), Iwate, JA, [online], (Accessed July 21, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created January 1, 2000, Updated February 17, 2017