<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br><hr id="zwchr">it will be tough to do it this way. The tags you want to save are all starting with double underscore, (__), and they are not saved in a hdf5 file. My understanding is that you want to save them in your format (vtu?), each part in a different file.<br></div></div></blockquote><div><br></div><div>Yes, exactly what I’d like to do.</div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">You will need to restore "MBEntityHandle" type flags, somehow. For example, a node that is shared between 2 processors, each processor knows the handle on the other processor, in form of a tag.<span class="Apple-converted-space"> </span><br><br></div></div></blockquote><div><br></div><div>So I need to save for each local shared entity the entity handles of all the non local shared entities. This makes sense.   </div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">It will be hard to restore the handle on the other processor, from the information you save;  You can search for global id, of course, but then why do it this way, if you can already do it by calling resolve shared ents? Do you want to rewrite all that logic? And replicate that for higher dimensions, edges, faces shared?<br></div></div></blockquote><div><br></div><div>I see, the problem is that I cannot know the entity handle before reading so I need to store the global id to then obtain the entity handle. </div><div>And I also need to store the information regarding the shared processors in order to know where I have to search to match the global ids.  </div><div>Is there a way to ask other processes for all the entities with a specified tag and value? something like get_entities_by_type_and_tag() that works in parallel?</div><div>I guess that this is the logic you were referring to.</div><div><br></div><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br>Or maybe you can use a local index in each file; The tags you need to save are the 5 parallel tags. </div></div></blockquote><div><br></div>Do you mean the bits indicating the ParallelStauts? </div><div><br></div><div><div><blockquote type="cite"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Is the mesh structured? Do you know about ScdInterface? Maybe your mesh is not structured.</div></blockquote><br></div><div>Yes, my meshes are unstructured.</div><div><br></div><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br>Exchange tags and reduce tags will need to know the handles of entities on the other processors, otherwise you cannot communicate.<br><br></div></div></blockquote><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">But maybe I don't understand the question :(<br></div></div></blockquote><div><br></div><div>I think you got the point and you already helped me clarifying what I actually need.</div><div>Thanks.</div><div>Lorenzo</div><div><br></div><br><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br><br><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;"><div></div><div><br></div><div id="DWT654">The reason for doing so is that in serial some situations are easier to manage, e.g. tag entities as shared on periodic boundaries and decide who they are going to communicate with. </div></blockquote><br><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;"><div></div><div id="DWT655">The possibility to resolve in parallel is great in case that the mesh is repartitioned in parallel but if the mesh does not change during the computations doing part of the work in serial in a preliminary phase gives me more control (at least this is my perception).</div></blockquote>So in general, we partition in serial (although we will do some repartitioning in parallel, soon; we are using now zoltan for repartition when we read some climate files)<br><blockquote style="border-left-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;"><div></div><div><br></div><div>Thanks again.</div><div>Bests.</div><div>Lorenzo</div></blockquote></div></div></blockquote></div><br></body></html>