Skip to Content.
Sympa Menu

charm - [charm] MPI Rank and Vertex index

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] MPI Rank and Vertex index


Chronological Thread 
  • From: Roberto de Quadros Gomes <rqg.gomes AT gmail.com>
  • To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: [charm] MPI Rank and Vertex index
  • Date: Fri, 15 Nov 2013 20:47:37 -0200
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi,

I was writing a load balancer strategy and I'd like hold some information about previous balance step, like a list. This list could be use for compute the variance of load of each vertex. But, I found no correlation between vertices index and mpi ranks.

Let me explain better...

I use a simple MPI code which only one rank (rank0) send data to another(rank 3) and I have others doing other things. Inside strategy , when I read the vector vertices in first time we suppose that vertex[1] represents rank0 and vertices[2] represents rank3. But in next call of LB, I don't know where is each rank. Its vertices indexes were changed. I noticed this because the vertices that received the data are changing but mpi code execution is ok.

Is there any way to do a correct rank association with vertice id?
Thanks

 

  
      




  • [charm] MPI Rank and Vertex index, Roberto de Quadros Gomes, 11/15/2013

Archive powered by MHonArc 2.6.16.

Top of Page