Packages | |
package | cca |
Common Component Architecture. |
GENERAL NOTES on MPI handles and SIDL:.
As MPI Forum explicitly DOES NOT define an interlanguage form for object (comm, group, etc) handles, we use the FORTRAN form which, being an integer of some size <= long in sidl, we will express in SIDL as a long.
Implementations in C/C++/Python will have to use appropriate conversion operators, MPI_Comm_c2f/MPI_Comm_f2c, when passing/receiving object handles in long form.
The MPI standard does not include an automatic reference counting model for its handles.
There is a general move afoot (unclear whether it will be mpi-3 or 2.x) to make the C definition more generically OO wrapping friendly, and in particular Java, swig, and similar.