[Mpi-forum] Interest of changing lower bound in MPI_Type_create_resized

Thakur, Rajeev thakur at anl.gov
Thu Dec 8 08:14:30 CST 2016


When MPI sends a message, the second datatype is taken from the location (lower bound + extent), the third datatype from (lower bound + 2*extent), and so on. So the lower bound does affect what is sent.

Rajeev


> On Dec 8, 2016, at 7:54 AM, lecas at idris.fr <dimitri.lecas at idris.fr> wrote:
> 
> Hi,
> 
> In MPI_Type_create_resized we can change the extent  and the lower bound.
> 
> I don't understand what is the interest of changing the lower bound,
> since for sending message, only the extent is used.
> 
> Is  there an example where the value for lower bound in
> MPI_Type_create_resized have a real impact ?
> 
> Thanks
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dimitri Lecas
> 
> 
> _______________________________________________
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
> https://lists.mpi-forum.org/mailman/listinfo/mpi-forum

_______________________________________________
mpi-forum mailing list
mpi-forum at lists.mpi-forum.org
https://lists.mpi-forum.org/mailman/listinfo/mpi-forum



More information about the mpi-forum mailing list