On Mon, Nov 16, 2009 at 2:03 PM, Barry Smith <bsmith at mcs.anl.gov> wrote: > > ? I do not know a way to generate unique MPI-comm-id's. Any thoughts? Some > feature of MPI I don't know? >
I think the only way is to use a (truly) global counter, but you know, implementing NXTVAL is a bit hard and will require MPI-2 features. (http://code.google.com/p/mpi4py/source/browse/trunk/demo/nxtval/). And now that I think better, a truly global counter is perhaps not so easy... How do you handle Spawn&Merge? MPI-2 made COMM_WORLD far less special that it was in MPI-1. -- Lisandro Dalc?n --------------- Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC) Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica (INTEC) Consejo Nacional de Investigaciones Cient?ficas y T?cnicas (CONICET) PTLC - G?emes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594