MPI_Register_datarep

Langue: en

Version: 119827 (mandriva - 01/05/08)

Autres sections - même nom

Section: 3 (Bibliothèques de fonctions)

NAME

MPI_Register_datarep - Register functions for user-defined data representations

SYNOPSIS

 int MPI_Register_datarep(char *name,
                        MPI_Datarep_conversion_function *read_conv_fn,
                        MPI_Datarep_conversion_function *write_conv_fn,
                        MPI_Datarep_extent_function *extent_fn,
                        void *state)
 

INPUT PARAMETERS

name
- data representation name (string)
read_conv_fn
- function invoked to convert from file representation to native representation (function)
write_conv_fn
- function invoked to convert from native representation to file representation (function)
extent_fn
- function invoked to get the exted of a datatype as represented in the file (function)
extra_state
- pointer to extra state that is passed to each of the three functions

NOTES

This function allows the user to provide routines to convert data from an external representation, used within a file, and the native representation, used within the CPU. There is one predefined data representation, external32 . Please consult the MPI-2 standard for details on this function.

LOCATION

register_datarep.c