If combiner is MPI_COMBINER_FUNDAMENTAL then ni = 0, na = 0, and nd = 0 so none of
the arrays are used.
In this case, the value returned in type must be one of the predefined handles.
Two things here, one type is not one of the arguement to the function call.
If the intent is datatype, it is an IN parameter, and so cannot hold any return
value. If something is returned, it is returned in the array_of_datatypes,
and nd = 1. But it explicitly said nd = 0 and the array is not used.
Are we trying to say that "MPI_COMBINER_FUNDAMENTAL is returned by
MPI_Type_get_envelope if and only if datatype is one of the predefined handle"?
MPI_Type_get_contents when called with the datatype argument containing a
predefined handle will return nothing.
Or do we really want a datatype be returned in the array_of_datatypes?
-- parkson
-- Parkson Wong Address: Numerical Aerodynamic Simulation MRJ, Inc. NASA Ames Research Center M/S 258-6 Supercomputer Applications Segment Moffett Field, CA 94035-1000 e-mail: parkson@nas.nasa.gov Phone: (415)604-3988 Fax: (415)966-8669