Re: caching on MPI handles

Rajeev Thakur (thakur@mcs.anl.gov)
Fri, 18 Oct 1996 17:39:24 -0500

> From: "Eric Salo" <salo@mrjones.engr.sgi.com>
>
> I don't understand. Once the datatype is freed by the application,
> why do you need to keep it around, especially if you have a
> delete_fn defined for it?

The "etype" and "filetype" are used to specify the logical view of the
file and are provided in the MPI_Set_view call (pg. 240).
The user need not provide them again anytime in the program.
If the user wants to be naughty, he could free etype and
filetype while the file is still open. But for every I/O operation on
the file, I need to know what is the current etype and filetype. In
addition, there is a function MPI_Get_view (pg 242) which is supposed
to return the current etype and filetype.

Rajeev