(j3.2006) (SC22WG5.4378) [ukfortran] WG5 informal ballot re Interop. TR
Aleksandar Donev
donev
Mon Dec 6 12:26:09 EST 2010
On 12/06/10 11:20, Bill Long wrote:
> However, one of the original desires of the MPI users was to have
>
> type(*),dimension(*)
>
> map to a void * dummy parameter and have only the address passed. I
> think this would be an often used form.
It may be important to also emphasize that I am not proposing changing
that. One can still write a Fortran wrapper that has
"type(*),dimension(*)"
and call C routines that have "void*". If you only want to pass an
address around it will work great. You have an "ignore type and kind"
directive.
The only issue here is what happens when descriptors are brought in the
mix. That is, the real issue is the "ignore rank" thing, which is now
intermingled with the type because the descriptor contains TKR
information, not just TK or just R.
Aleks
--
Aleksandar Donev, Assistant Professor of Mathematics
Courant Institute of Mathematical Sciences
Office: 909 Warren Weaver Hall, New York University
E-mail: donev at courant.nyu.edu
Phone: (212) 992-7315; Fax: (212) 995-4121
Mailing address: 251 Mercer St, New York, NY 10012
Web: http://cims.nyu.edu/~donev
More information about the J3
mailing list