[MPI3 Fortran] MPI function symbol naming convention for tools

Hubert Ritzdorf Hubert.Ritzdorf at EMEA.NEC.COM
Mon Jun 27 07:38:01 CDT 2011



>-----Original Message-----
>From: mpi3-fortran-bounces at lists.mpi-forum.org [mailto:mpi3-fortran-
>bounces at lists.mpi-forum.org] On Behalf Of Bill Long
>Sent: Saturday, June 25, 2011 11:33 AM
>To: Martin Schulz
>Cc: MPI3 Tools; MPI-3 Fortran working group
>Subject: Re: [MPI3 Fortran] MPI function symbol naming convention for tools
>
>
>
>On 6/24/11 11:54 AM, Martin Schulz wrote:
>
>>
>> This is probably my lack of knowledge in Fortran compilers, but
>> is this all even possible with regular compilers: I would assume
>> that you can use an MPI 3.0 implementation with Craig's proposal
>> (case A) with an older F77 or F90 compiler, right? If so, one would
>> use "use mpi" or "mpif.h", i.e., case A.1. Can you do the name
>> mapping from mpi_send to mpi_send_f - I thought this was a new
>> feature from F08?
>>
>
>If you still have an old f77 compiler on you system (from decades ago),
>it will not be adequate.  If you have a current version of a Fortran
>compiler available, you are in much better shape.  The meaning of
>"Fortran" changes over time, and the compilers progress accordingly,
>with some time delay.
>
>The name mapping of a call to  MPI_send into a call to mpi_send_f  is
>accomplished with generic interfaces. These were part of Fortran 90 (20
>year old technology now) - F08 is not required for this.  Other details
>of the interfaces do require more recent standards, however.
>
>

Craig's proposal would require at least Fortran 2003. Otherwise, the compiler may still generate MPI_SEND_F, mpi_send_f, mpi_send_f_ or
mpi_send_f__.

Hubert




More information about the mpiwg-fortran mailing list