(j3.2006) TYPE(*) and scalars
Rasmussen, Craig E
Thu Mar 22 11:05:12 EDT 2012
On Mar 21, 2012, at 5:21 PM, Bill Long wrote:
> On 3/21/12 5:40 PM, Rasmussen, Craig E wrote:
>> The problem is that the "well know name" is that it must be implementable in Fortran with a standard subroutine. So generics don't really work unless MPI publishes both interfaces. In your example, the published routine names would have to be both bar1 and bar2.
> In a real implementation I would assume that foo would be spelled cbar. (as in both being MPI_send, or some such.) That's the actual name of the C function in the MPI library, which is the only actual routine.
>> In case anyone really cares, this is because of the PMPI interfaces which allows tool writers to intercept the MPI calls.
> The tools can't intercept the C functions by their actual names? C programmers can't use the tools? Timing the C function (where all the work happens) would seem like what you want.
Yes, tools users can use the actual names. But these names would have to be published in the standard. This is ultimately the problem as no one wants to pollute the standard with lots of temporary names.
More information about the J3