On Mar 9, 2008, at 4:33 PM, Jeff Squyres wrote:

In MPI-2 Page 13 Line 33 it says:

All MPI names have an MPI_ prefix, and all characters are

capitals.

However this statement "and all characters are capitals"

hasn't any meaning in the Fortran context, right?



My understanding (and I'll repeat again: I'm nowhere near a fortran  

expert) is that fortran compilers will change subroutine/function/ 

variable symbols to either all upper case or all lower case (possibly  

with some additional underscores).  I don't know if this is a Fortran  

standard thing (e.g., if the Fortran standard says that symbols are  

case-insensitive), or whether it's an implementation thing.


Fortran identifiers are not case sensitive.  However you can give a name to a BIND(C) declaration so that the symbol generated is case sensitive and follows the companion C compilers convention on symbol generation.

For example,

       BIND(C, name="MPI_Comm_rank")

generated the symbol,  _MPI_Comm_rank

Cheers,
Craig