[MPI3 Fortran] New information up on the wiki

Lionel, Steve steve.lionel at intel.com
Thu Dec 11 15:13:58 CST 2008


I was at the Fortran standards meeting in Tokyo last month and it was explicitly stated then that there was NO proposal on the table to have Fortran be interoperable with C varargs.  I recommend removing any varargs reference from the Fortran bindings.

Steve

-----Original Message-----
From: mpi3-fortran-bounces at lists.mpi-forum.org [mailto:mpi3-fortran-bounces at lists.mpi-forum.org] On Behalf Of Craig Rasmussen
Sent: Thursday, December 11, 2008 11:01 AM
To: MPI-3 Fortran working group
Subject: Re: [MPI3 Fortran] New information up on the wiki
Importance: Low

As we are meeting next week I thought I put some information out for
comment over the next couple of days.  There is a open ticket on
MPI-2-2 regarding the use of C varargs from Fortran.  From the ticket:

The following Fortran errorhandler callback subroutines are prototyped
with varags in the MPI 2.1 spec:

     * COMM_ERRHANDLER_FN
     * WIN_ERRHANDLER_FN
     * FILE_ERRHANDLER_FN

Fortran does not have variable length argument lists. This is quite
obviously a typo that dates back to MPI 2.0 but was missed in 2.1.

The suggestion is to remove the ",..." syntax from the Fortran 2.2
bindings as it is not part of Fortran.  This seems entirely reasonable
to me.

There is a move afoot to get interoperability with varags in the
Fortran C interoperability standard.  This is still up in the air at
the moment and we don't know which way it will go.

Comments?

Craig

_______________________________________________
mpi3-fortran mailing list
mpi3-fortran at lists.mpi-forum.org
http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-fortran




More information about the mpiwg-fortran mailing list