Re: [mpiwg-sessions] Can I query a set even if I'm not in it?
Hi Jeff, Inline comments. Cheers, Dan.
On 28 Apr 2016, at 18:17, Jeff Squyres (jsquyres) <[email protected]> wrote:
In principle, I don't think I have a problem with a process asking for a group for a set of which it is not a member. However:
1. You're correct about the scalability issues.
--> This exposes an ambiguity in MPI_Session_get_names(): does that return *all* set names, or just sets to which the querying process belongs? I'm in favor of the latter.
What about supplying ocean_set and atoms_set on the command-line - should ocean processes only see ocean_set and not atoms_set? Can I do multi-physics couple simulations where communication happens occasionally between the groups but very often within the groups? I’d need ocean_set -> comm_ocean and mpi://WORLD -> filtered to include some ocean and some not ocean -> comm_exchange. With a 2-way partition then WORLD disjoint ocean gives atmos.
2. There's also an issue about the uniqueness of set names. E.g., we defined that every process is part of mpi://SELF, but each of those sets are distinct from each other. E.g., when process X refers to mpi://SELF, is it referring to its *own* mpi://SELF, or the mpi://SELF relative to some other process?
Isn't mph://SELF just not a special case like HEAD in git? mph://WORLD is sort of like master in git (pretty much always defined but not always where the main action is). I think there’s some mileage in exploring the {set names, set members} -> {git branches, git commits} analogy.
Point #2 alone may dictate that set names are only meaningful in the process in which they were queried / returned by the runtime.
Set names don’t necessarily mean the same thing in all processes but that doesn’t stop them being meaningful.
-- Jeff Squyres [email protected] For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________ mpiwg-sessions mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-sessions
-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
participants (1)
-
Dan Holmes