[MPI3 Fortran] New information up on the wiki

Bill Long longb at cray.com
Fri Dec 19 19:13:14 CST 2008


I agree with Steve that any suggestion that Fortran might support 
varargs should be purged from the MPI spec.  Support for a varargs 
mechanism has not been proposed for the Fortran / C interoperability TR, 
and I believe that adding such a feature is very unlikely.

Cheers,
Bill



Craig Rasmussen wrote:
> 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

-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            




More information about the mpiwg-fortran mailing list