Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] MPI_Graph_create hangs
From: Carmen Navarrete Navarrete (carmen.navarrete_at_[hidden])
Date: 2008-07-05 12:56:00


Hello everybody,
first of all, I want to introduce myself. I'm a spanish student and I'm
working on my thesis project. I started using MPI more or less 5 years
ago, to recreate some physical simulations.
This days I have started one project and I'm using the topology
functions of MPI. I have tested some examples of code and everything
works fine for me. Now I'm trying with my own processes architecture and
the function MPI_Graph_create hangs and never returns.
My piece of code is this one:

iError = MPI_Graph_create (MPI_COMM_WORLD, pGraph->iNVertex, index,
edges, FALSE, &communicator);

Supose that:
        - pGraph->iNVertex: returns, in my case, 5 vertices.
        - FALSE: is defined as 0.
        - index has these values: [1, 4, 7, 10, 12]
        - edges has the values: [1, 0, 2, 3, 1, 3, 4, 1, 2, 4, 2, 3]
        - communicator: is defined as MPI_Comm communicator

Can anybody supose what is happening?

Thanks in advance and best regards.

-- 
Carmen Navarrete Navarrete 
carmen.navarrete_at_[hidden]
http://rincon.uam.es/dir?cw=714135742187500 
Centro de Referencia Linux (CRL, UAM-IBM)
Verdades como bolsas, 
que les das la vuelta 
y vuelven a ser bolsas