LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Manoj Vaghela (manoj.vaghela_at_[hidden])
Date: 2008-03-14 03:32:40


Hi,

   When a derived datatype is created (let say, using Vector), at what point
does it buffer memory? I mean, after committing a variable, how does it
store the buffer the memory reserved by that variable?

   As in Pack/Unpack, a buffer of required size should be allocated, and
after unpacking data, buffer is deallocated. How does the same thing work in
Vector? When is the memory freed? How does MPI_Type_free work?
(MPI_Type_free marks the variable for deallocation).

   Thanks.

--
Manoj