[MOAB-dev] Memory continuity

Grindeanu, Iulian R. iulian at mcs.anl.gov
Thu Dec 18 10:07:58 CST 2014


I think the problem is the parallel tags. 
Parallel tags help establish the communication patterns between processors, and they will have to be reset with the new values for entities on different tasks (remote handles)
So at least one new round of communication will be necessary, to inform every processor about the corresponding new remote handles.
 I do not think this is implemented now, or I do not know if it is possible without some new development. It is important for us, and we need to do this for other projects, petsc/moab, and future development for moab threading.

If you have ideas/plans that would be helpful. 

Iulian

________________________________________
From: moab-dev-bounces at mcs.anl.gov [moab-dev-bounces at mcs.anl.gov] on behalf of Kanaev A.A. [kanaev at ibrae.ac.ru]
Sent: Wednesday, December 17, 2014 8:20 PM
To: moab-dev at mcs.anl.gov
Subject: Re: [MOAB-dev] Memory continuity

Sorry if the scheme is broken, the point was:
 - to get contiguous memory for 2d and 3d entities
 - to arrange memory for different subsets in a certain order

________________________________________
From: Kanaev A.A.
Sent: Thursday, December 18, 2014 5:16 AM
To: moab-dev at mcs.anl.gov
Subject: Memory continuity

Hello MOAB-dev,

I read .h5m file in parallel with resolving shared entities and exchanging 1 layer of ghost cells+ faces

cells and faces are Ranges of all 3d and 2d entities corresp.

i get different subgroups of cells (owned cells, gost cells) and faces(skin faces, inner faces, interface faces, ghost faces) into different Ranges

I have loops over that Ranges inside main iterations loop

Can i get the following contiguous memory map for 2d and 3d entities' tags by using ReorderTool?


                                                                            ghost cells start
     |____________________________________________||_______________|
cells start, owned cells start           owned cells end                      ghost_cells_end,
                                                                                                      cells end

                                                  inner faces start                                          interface faces start    ghost faces start
     |___________________________||__________________________________________||_____________________||___________________________|
skin faces start,      skin faces end                                           inner faces end,     interface faces end                                       ghost faces end
non ghost faces start,                                                              non ghost faces end                                                                    faces end
faces start




Thanks
Anton


More information about the moab-dev mailing list