<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Mar 9, 2008, at 4:33 PM, Jeff Squyres wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">In MPI-2 Page 13 Line 33 it says:</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">All MPI names have an MPI_ prefix, and all characters are</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">capitals.</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">However this statement "and all characters are capitals"</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">hasn't any meaning in the Fortran context, right?</font></p> </blockquote><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">My understanding (and I'll repeat again: I'm nowhere near a fortran <span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">expert) is that fortran compilers will change subroutine/function/<span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">variable symbols to either all upper case or all lower case (possibly <span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">with some additional underscores).<span class="Apple-converted-space">  </span>I don't know if this is a Fortran <span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">standard thing (e.g., if the Fortran standard says that symbols are <span class="Apple-converted-space"> </span></font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">case-insensitive), or whether it's an implementation thing.</font></p> </blockquote></div><br><div>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.</div><div><br class="webkit-block-placeholder"></div><div>For example,</div><div><br class="webkit-block-placeholder"></div><div>       BIND(C, name="MPI_Comm_rank")</div><div><br class="webkit-block-placeholder"></div><div>generated the symbol,  _MPI_Comm_rank</div><div><br class="webkit-block-placeholder"></div><div>Cheers,</div><div>Craig</div></body></html>