LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-02-03 08:32:52


On Feb 3, 2005, at 8:14 AM, Angel Tsankov wrote:

> Can anyone tell me why the library does not incorporate the function
> of MPI_Type_commit into MPI_Type_contiguous and the other type
> conntructors?

Mainly because the MPI standard says that that is the way it has to be.

Check out MPI-1:3.12.4:

"A datatype object has to be committed before it can be used in a
communication..."

I confess that I don't remember the rationale for why this is so,
however.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/