[MPIWG Fortran] Type of MPI_Status

Jeff Squyres (jsquyres) jsquyres at cisco.com
Mon Mar 17 13:43:51 CDT 2014

On Mar 17, 2014, at 2:39 PM, Junchao Zhang <jczhang at mcs.anl.gov> wrote:

> Supporting different INTEGER and c_int 1) is useless;  2) adds code complexity; 3) adds extra runtime overhead (in MPICH implementation) even when INTEGER and c_int are the same.  I prefer stopping the support and doing configuration time check.

That's up to you.

FWIW: I don't think it's useless to support when sizeof(INTEGER) != sizeof(int); we've had specific user requests asking for exactly that.  We've had a few bugs in this support over the years -- you're right, it does add some complexity -- but have generally supported it.

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 mpiwg-fortran mailing list