George --

When I build the SVN trunk (r29201) on 64 bit linux, your attached test case 
hangs:

-----
❯❯❯ mpicc intercomm_create.c -o intercomm_create
❯❯❯ mpirun -np 4 intercomm_create
b: MPI_Intercomm_create( intra, 0, intra, MPI_COMM_NULL, 201, &inter) [rank 4]
b: MPI_Intercomm_create( intra, 0, intra, MPI_COMM_NULL, 201, &inter) [rank 5]
b: MPI_Intercomm_create( intra, 0, intra, MPI_COMM_NULL, 201, &inter) [rank 6]
b: MPI_Intercomm_create( intra, 0, intra, MPI_COMM_NULL, 201, &inter) [rank 7]
a: MPI_Intercomm_create( ab_intra, 0, ac_intra, 0, 201, &inter) (0)
a: MPI_Intercomm_create( ab_intra, 0, ac_intra, 0, 201, &inter) (0)
a: MPI_Intercomm_create( ab_intra, 0, ac_intra, 0, 201, &inter) (0)
a: MPI_Intercomm_create( ab_intra, 0, ac_intra, 0, 201, &inter) (0)
c: MPI_Intercomm_create( MPI_COMM_WORLD, 0, intra, 0, 201, &inter) [rank 4]
c: MPI_Intercomm_create( MPI_COMM_WORLD, 0, intra, 0, 201, &inter) [rank 5]
c: MPI_Intercomm_create( MPI_COMM_WORLD, 0, intra, 0, 201, &inter) [rank 6]
c: MPI_Intercomm_create( MPI_COMM_WORLD, 0, intra, 0, 201, &inter) [rank 7]
[hang]
-----

On my Mac, it hangs without printing anything:

-----
❯❯❯ mpicc intercomm_create.c -o intercomm_create
❯❯❯ mpirun -np 4 intercomm_create   
[hang]
-----


On Sep 18, 2013, at 1:48 AM, George Bosilca <bosi...@icl.utk.edu> wrote:

> Here is a quick (and definitively not the cleanest) patch that addresses the 
> MPI_Intercomm issue at the MPI level. It should be applied after removal of 
> 29166.
> 
> I also added the corrected test case stressing the corner cases by doing 
> barriers at every inter-comm creation and doing a clean disconnect.


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to