[mpiwg-languages] static datatypes lifetimes

Alfredo Correa alfredo.correa at gmail.com
Fri Apr 25 16:24:55 CDT 2025


Hi Sayan,

On Fri, Apr 25, 2025 at 2:03 PM Ghosh, Sayan <sayan.ghosh at pnnl.gov> wrote:

>
>    - Consider finalize-delete-callback (this is what Alfredo is alluding
>    to perhaps w.r.t datatype-attached-to-environment) – that seems to rely on
>    MPI_COMM_SELF callback (freeing comm-self triggers callback)
>
>
>
That is a good point. At first glance, attaching things to MPI_COMM_WORLD
or MPI_COMM_SELF would have a similar effect to attaching stuff to the
environment.
I didn't think about this because I was reluctant to modify (in any way)
either of these special communicators, in particular MPI_COMM_WORLD.
But MPI_COMM_SELF might still be a good candidate; others can point out if
there is a catch.

Thanks,
Alfredo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-languages/attachments/20250425/d0ef0ca1/attachment.html>


More information about the mpiwg-languages mailing list