Should PetscObjectName be collective?

Jed Brown jed at 59A2.org
Mon Nov 16 11:17:01 CST 2009


Barry Smith wrote:

>    I do not know a way to generate unique MPI-comm-id's. Any thoughts?
> Some feature of MPI I don't know?

This seems very hard.  One could (the first time PETSc sees a
communicator) hash the hostname+pid of every process on the
communicator, start a counter on this hash, and set the communicator
name to be the hash concatenated with this counter.  I think this is
sufficient, but it's kinda nasty.

Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091116/cc686389/attachment.sig>


More information about the petsc-dev mailing list