[MPIWG Fortran] Type of MPI_Status

Jeff Squyres (jsquyres) jsquyres at cisco.com
Mon Mar 17 16:52:22 CDT 2014


On Mar 17, 2014, at 5:13 PM, Bill Long <longb at cray.com> wrote:

> Try adding IMPLICIT NONE in the scope and see how well that works out for you.  The argument to KIND is a variable or constant of intrinsic type.  The result is the kind parameter value for that variable or constant.  In your example, the result is the kind parameter value for the variable or named constant INTEGER.  KIND does not take the name of a type as its argument.  (And Fortran does not have reserved words, so INTEGER is a fine variable name.)

Craig owes Jeff a beer...

>> For gfortran upcoming4.9, at least, having this kind seemed to make a difference... I'll have to test again to make sure that is correct.
> 
> May need a discussion with Tobias about that.


Ok.  I'll re-test soon.

-- 
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