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.navarr...@uam.es
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

Reply via email to