[mpiwg-tools] Slides to discuss today
Junchao Zhang
jczhang at mcs.anl.gov
Fri Nov 1 12:57:28 CDT 2013
Hello,
I propose an alternative for Jeff's multi-device problem for you to think.
What we need is simply providing names for elements in an array-type var.
Jeff's workaround works but is not intuitive. Having a state pvar which
simply gives 0. 1, 2, ... is an over-design. How about this one:
// Return true or false in has_subnames.
MPI_T_pvar_has_subnames(session, handle, int has_subnames);
// If has_subnames, use this function to get their names
MPI_T_pvar_get_subnames(session, handle, char * subnames[], int lens[]);
// Very like the newly proposed MPI_T_PVAR_READ_STR(session, handle, char *
const strs[], int lens[])
Do the same for cvars, MPI_T_cvar_has_subnames();
MPI_T_cvar_get_subnames();
--Junchao Zhang
On Thu, Oct 31, 2013 at 8:52 AM, Jeff Squyres (jsquyres) <jsquyres at cisco.com
> wrote:
> These are a few slides I'd like to talk through today on the call.
>
> --
> Jeff Squyres
> jsquyres at cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> mpiwg-tools mailing list
> mpiwg-tools at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-tools
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-tools/attachments/20131101/768cd877/attachment.html>
More information about the mpiwg-tools
mailing list