Re: [OMPI devel] add_procs

2009-02-05 Thread George Bosilca
This functionality has as many chances to be called as any MPI 2 dynamics MPI functions. Every time the MPI universe is expanded, once the modex of the new processes is known, add procs is called in order to allow the PML and BTL to update their local view of the MPI universe. The code is

Re: [OMPI devel] add_procs

2009-02-05 Thread Ralph Castain
I would only add that we should be certain that the code is -not- called more than once as this could cause problems. We don't currently have a way for dynamically spawned procs to share memory with their parents - if that code does get called, I would worry that it hadn't been tested and

Re: [OMPI devel] add_procs

2009-02-05 Thread Richard Graham
I would leave the code alone. The intent was for (A), but it is not used for that. It is not in the performance critical region, works correctly as we use it today, and putting it back later on would be a hassle not needed. Rich On 2/5/09 2:41 PM, "Eugene Loh" wrote: >

[OMPI devel] add_procs

2009-02-05 Thread Eugene Loh
BTLs have "add_procs" functions. E.g., my own parochial interests are with the sm BTL and there is a mca_btl_sm_add_procs() function. I'm trying to get a feel for how likely it is that this function would be called more than once. There is code in there to support the case where it's called