[mpich-discuss] MPI_Address()

Jeff Squyres (jsquyres) jsquyres at cisco.com
Wed Mar 12 05:31:21 CDT 2014


On Mar 11, 2014, at 11:32 PM, Orion Poplawski <orion at cora.nwra.com> wrote:

>> There are a whole bunch of such functions that were deprecated in MPI 2.0 (in 1997) and removed in MPI 3.0 (in 2012). We discussed whether to keep or remove them in MPICH, and decided to keep them so as not to gratuitously break user codes that still use the old functions.
> 
> Ah, okay.  It's a little curious that their interfaces definitions were
> updated with the const additions of MPI-3, but I suppose that leads to a
> compiler warning at most.

(This thread originated on the OMPI list)

The point is that the old/deprecated functions (e.g., MPI_ADDRESS, MPI_TYPE_STRUCT, MPI_TYPE_HINDEXED, etc.) should not be updated to have const parameters -- those interfaces were not updated in MPI-3.  Seems like a minor bug that should be easy to fix.

-- 
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/




More information about the discuss mailing list