Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpi_type_dup_fn(3) [debian man page]

MPI_TYPE_DUP_FN(3)						      LAM/MPI							MPI_TYPE_DUP_FN(3)

NAME
MPI_TYPE_DUP_FN - Built-in MPI function to simple-mindedly copy datatype attributes. SYNOPSIS
#include <mpi.h> int MPI_TYPE_DUP_FN(MPI_Datatype dtype, int key, void *extra, void *attrin, void *attrout, int *flag) INPUT PARAMETERS
dtype - communicator (handle) key - key value (integer) extra - extra state attrin - in value for attribute OUTPUT PARAMETERS
attrout - out value for attribute flag - 1 if attribute copied successfully, 0 otherwise (logical) NOTES
This function blindly byte-copies attributes on datatypes. It is the default atrribute-copying function for datatypes. This function will always return MPI_SUCCESS , and flag will always be set to 1. The actual copy is performed by the code *((void **) attrout) = attrin; If this simple assignment is not sufficient for your attributes, you will need to reassign the attribute-copying function on relevant key- vals on datatypes with the MPI_Type_keyval_create function. NOTES FOR FORTRAN
All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK ) have an additional argument ierr at the end of the argument list. ierr is an integer and has the same meaning as the return value of the routine in C. In Fortran, MPI routines are subroutines, and are invoked with the call statement. All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in Fortran. SEE ALSO
MPI_Type_keyval_create MORE INFORMATION
For more information, please see the official MPI Forum web site, which contains the text of both the MPI-1 and MPI-2 standards. These documents contain detailed information about each MPI function (most of which is not duplicated in these man pages). http://www.mpi-forum.org/ ACKNOWLEDGEMENTS
The LAM Team would like the thank the MPICH Team for the handy program to generate man pages ("doctext" from ftp://ftp.mcs.anl.gov/pub/sow- ing/sowing.tar.gz ), the initial formatting, and some initial text for most of the MPI-1 man pages. LOCATION
dupfn.c LAM
/MPI 7.1.4 6/24/2006 MPI_TYPE_DUP_FN(3)

Check Out this Related Man Page

MPI_WIN_DUP_FN(3)						      LAM/MPI							 MPI_WIN_DUP_FN(3)

NAME
MPI_WIN_DUP_FN - Built-in MPI function to simple-mindedly copy window attributes. SYNOPSIS
#include <mpi.h> int MPI_WIN_DUP_FN(MPI_Win win, int key, void *extra, void *attrin, void *attrout, int *flag) INPUT PARAMETERS
win - window (handle) key - key value (integer) extra - extra state attrin - in value for attribute OUTPUT PARAMETERS
attrout - out value for attribute flag - 1 if attribute copied successfully, 0 otherwise (logical) NOTES
This function blindly byte-copies attributes on windows. It is the default atrribute-copying function for windows. This function will always return MPI_SUCCESS , and flag will always be set to 1. The actual copy is performed by the code *((void **) attrout) = attrin; If this simple assignment is not sufficient for your attributes, you will need to reassign the attribute-copying function on relevant key- vals on windows with the MPI_Win_keyval_create function. NOTES FOR FORTRAN
All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK ) have an additional argument ierr at the end of the argument list. ierr is an integer and has the same meaning as the return value of the routine in C. In Fortran, MPI routines are subroutines, and are invoked with the call statement. All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in Fortran. SEE ALSO
MPI_Win_keyval_create MORE INFORMATION
For more information, please see the official MPI Forum web site, which contains the text of both the MPI-1 and MPI-2 standards. These documents contain detailed information about each MPI function (most of which is not duplicated in these man pages). http://www.mpi-forum.org/ ACKNOWLEDGEMENTS
The LAM Team would like the thank the MPICH Team for the handy program to generate man pages ("doctext" from ftp://ftp.mcs.anl.gov/pub/sow- ing/sowing.tar.gz ), the initial formatting, and some initial text for most of the MPI-1 man pages. LOCATION
dupfn.c LAM
/MPI 6.5.8 11/10/2002 MPI_WIN_DUP_FN(3)
Man Page