MPI_Type_dup - Duplicates an MPI datatype
SYNOPSIS
#include <mpi.h>
int MPI_Type_dup( type, newtype )
MPI_Datatype type;
MPI_Datatype *newtype;
STANDARDS
This function is defined in the MPI-2 standard.
This release implements the MPI 1.2 standard, as
documented by the MPI Forum in the spring 1997 release of
MPI: A Message Passing Interface Standard.
DESCRIPTION
The MPI_Type_dup routine duplicates an existing MPI data
type. The new datatype newtype is returned with the same
properties as type. newtype has the same committed state
as type.
MPI_Type_dup accepts the following arguments:
type The datatype being copied.
newtype The duplicate datatype created.
NOTES
All MPI routines in Fortran (except for MPI_Wtime(3) and
MPI_Wtick(3)) have an additional ierr argument 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. Additionally, in Fortran, all MPI
objects (for example, MPI_Datatype and MPI_Comm) are of
type integer.
Man(1) output converted with
man2html