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.pgp>
