Re: Getting information out of a request object
Eric Salo (salo@mrjones.engr.sgi.com)
Thu, 11 Jan 1996 16:13:41 -0800
> I would like to be able to extract the following information from the
> request object:
>
> 1) what MPI command generated the request
> 2) what communicator is associated with the request
> 3) what datatype is associated with the request
>
> At the moment I am maintaining my own data structure to save this
> information, but this increases overhead and requires that I copy the request
> handle and use it as my key. (Will this always work? Is it always a pointer?)
Well, our MPI library does not implement request objects as pointers but I
believe that your solution should be portable; it seems to me that you should
be able to use the MPI profiling interface to do what you need, albeit
inefficiently.
--
Eric Salo Silicon Graphics Inc. "Do you know what the
(415)390-2998 2011 N. Shoreline Blvd, 7L-802 last Xon said, just
salo@sgi.com Mountain View, CA 94043-1389 before he died?"