Distribution of cells
Posted: Mon Apr 02, 2012 4:01 am
Hi,
If I am creating 10 cells with round robin algorithm used with parallel context, how do the cells distribute? To be precise, will the cells distribute like Cell[0], Cell[1], Cell[2], Cell[3], Cell[4] on one process and again Cell[0], Cell[1], Cell[2], Cell[3], Cell[4] on another process. Iteration of i works like 0, 2, 4, 6, 8 and 1, 3, 5, 7, 9 but not the cell distribution.
But my question is with reference to cell instantiation. If I give Cell=new refcell(), duplicate entries are created on each process as explained earlier. Kindly please explain how to avoid duplicate entries? Thank you.
If I am creating 10 cells with round robin algorithm used with parallel context, how do the cells distribute? To be precise, will the cells distribute like Cell[0], Cell[1], Cell[2], Cell[3], Cell[4] on one process and again Cell[0], Cell[1], Cell[2], Cell[3], Cell[4] on another process. Iteration of i works like 0, 2, 4, 6, 8 and 1, 3, 5, 7, 9 but not the cell distribution.
But my question is with reference to cell instantiation. If I give Cell=new refcell(), duplicate entries are created on each process as explained earlier. Kindly please explain how to avoid duplicate entries? Thank you.