<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div>Hello again and thanks for the quick reply!<br><br></div><div id="DWT413">I have been able to find a bug with my code (the one that loaded data to h5m) and seems to be fine for mixed meshes. I have used the mbsize -ll trick and understood the fault, thanks Iulian!<br>
The h5mvalidade tool still complains but I can see past that.<br></div></div></blockquote>OK, thanks for reporting it. Something is not right :(<br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div><br></div><div id="DWT414">The attached file is the one that seems to work for me now (naca0012 airfoil with 6910 tris + 17 quads, no parallel partitions, 2d_naca0012_mixed.h5m).<br>
<br>I also use METIS to partition my mesh and then push the PARALLEL_PARTITION tag/set data to h5m. It works ok for homogeneous mesh but I have problems with mixed meshes. I am looking into it right now. If I can figure out what I am doing wrong with mixed elements (actually multiple ranges) I'll let you know. I used the mbZoltan.cpp code to base my implementation on the parallel data creation.<br></div></div></blockquote>can you try something like:<br>mbpart 4 -p PartKway  2d_naca0012_mixed.h5m naca4.h5m<br>it does get a partition, which you can see in visit :)<br><br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div id="DWT447">
<br>If all goes well, I will test it against mbzoltan. By the way, is there a way to use mbzoltan in parallel with graph partitioners (parmetis, ptscotch)? mbzoltan tests if mpiComm.nprocs > 1 and then quits if otherwise...<br></div></div></blockquote>yes, we use it in serial only <br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div>
</div><div><br></div><div>I would be glad to share the CGNS reader code back to you. I need to fix the current issues and improve the code (add global_id data, etc). I read each CGNS section into a different tag/set in h5m, so I can easily retrieve those in application code. Not sure if this is the right way to do so (should follow the convention to place data into MATERIAL_SET / DIRICHILET NEUMANN ?)  but seemed straightforward to me.<br>
<br>I have a CGNS writer class also in the works that I'll push back to the repo once it is working along with some sample meshes for unit tests.<br></div><div id="DWT448"><br>I have patched the 4.6.2 sources to also include configuration flags (going the autotools way here) to point to cgns libraries and include paths. Is the CMake toolchain the official one?<br></div></div></blockquote>autotools is the official build tool.  <br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div>
</div><div><br></div><div>Thank you,<br><br>regards,<br><br>Carlos<br></div><div><br></div></div><div id="DWT489" class="gmail_extra"><br></div></blockquote>Thanks,<br>Iulian<br><br></div></body></html>