[MPIWG Fortran] ticket 351

Jeff Hammond jeff.science at gmail.com
Tue Oct 22 09:58:27 CDT 2013


> 1) The BIND(C) should be removed from the Fortran interfaces.  This was done
> for the other Fortran interface routines.

Of course.

> 2) I don't really see the point of this at all.  The user can just call the
> native Fortran intrinsics directly.  Why should there be a duplicate version
> that starts with MPI_ ?  I would suggest, instead, that you just add a note
> in the spec (advice to users) point out that Fortran programmers can access
> the command line arguments using the language intrinsics.   Maybe someone
> can convince me this is not adequate, but I've been using those intrinsics
> with parallel programs for some time and they work just fine.

Did you read the first paragraph of the ticket?  I motivate this by
analogy to C, where we process argc+argv despite the fact that C/C++
programs provide these already.

Just because it works for you, does not mean it is guaranteed to work.
 An environment where argc/argv are taken w.r.t.
mpirun/mpiexec/aprun/runjob/etc. and not the application binary will
give the user a result that depends on the launch context: ./bin and
mpirun -n 2 ./bin will produce different results.

Jeff

> On 10/22/13 9:09 AM, Jeff Hammond wrote:
>>
>> I will be at the Forum in December and am hoping to make progress on
>> various tickets in which I am interested.
>>
>> Do we have enough to proceed with
>> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/351?  It seems
>> straightforward to pass if the WG agrees on the change.
>>
>> Best,
>>
>> Jeff
>>
>
> --
> Bill Long                                           longb at cray.com
> Fortran Technical Support    &                 voice: 651-605-9024
> Bioinformatics Software Development            fax:   651-605-9142
> Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
>
>
> _______________________________________________
> mpiwg-fortran mailing list
> mpiwg-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran



-- 
Jeff Hammond
jeff.science at gmail.com



More information about the mpiwg-fortran mailing list