[Mpi3-tools] MPIT 3.1: look up by name

Kathryn Mohror kathryn at llnl.gov
Tue Apr 30 13:39:54 CDT 2013


Hi all,

I've started to work on 3.1 items. The first one is to allow the  look up of variables by name instead of having to iterate through all variables until you find the one you want (assuming you know the name in advance). What do people think of this for supporting that functionality:

MPI_T_CVAR_GET_INFO_NAMED
	IN 	     name
	OUT     cvar_index
	OUT	     verbosity
    	OUT     datatype
       OUT      enumtype
   	OUT	     desc
       INOUT  desc_len
       OUT     bind
       OUT     scope

MPI_T_CVAR_GET_INFO_NAMED behaves similarly to MPI_T_CVAR_GET_INFO except that the lookup is done by control variable name instead of its index. All restrictions and requirements for MPI_T_CVAR_GET_INFO are the same for MPI_GET_CVAR_INFO_NAMED except that the cvar_index is now returned from the function, and name is an input.


Then define MPI_T_PVAR_GET_INFO_NAMED in a similar fashion.

Thoughts? Objections?

Kathryn


______________________________________________________________
Kathryn Mohror, kathryn at llnl.gov, http://people.llnl.gov/mohror1
CASC @ Lawrence Livermore National Laboratory, Livermore, CA, USA




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-tools/attachments/20130430/4b949e58/attachment.html>


More information about the mpiwg-tools mailing list