<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><div><div>1) While installing moab on <span class="Apple-style-span" style="font-family: sans-serif; ">SUSE Linux Enterprise Server 10 I've got following error:</span></div><div><font class="Apple-style-span" face="sans-serif"><br></font></div><div><div><font class="Apple-style-span" face="sans-serif">SparseTag.cpp(377): error: no default constructor exists for class "Internal::hashtable_const_iterator<std::pair<const moab::EntityHandle={size_t={unsigned long}}, void *>, false, false>"</font></div><div><font class="Apple-style-span" face="sans-serif"> SparseTag::MapType::const_iterator iter;</font></div><div><font class="Apple-style-span" face="sans-serif"> ^</font></div><div><font class="Apple-style-span" face="sans-serif"> detected during instantiation of "void moab::get_tagged(const moab::SparseTag::MapType &, Container &, moab::EntityType, const moab::Range *) [with Container=moab::Range]" at line 433</font></div></div><div><br></div><div>it was intel compiler 11.1 20101201, i've got same error with g++ 4.1.0</div><div>the problem seems to come from unordered_map class on this platform</div><div>i've successfully installed moab by removing check for this class inside configure script</div><div>probably there should be an option to omit this check or more tests for usability of this class inside configure</div><div id="DWT2487"><br></div></div></blockquote>I will enter a ticket for this<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div><div></div><div>2) I attach a simple example when moab hangs inside exchange_ghost_cells</div><div>attachments are:</div><div>a. an initial mesh nmesh-0.vtk</div><div>b. mesh out.mhdf prepared by mbpart with command ./mbpart -p partgeomkway 6 nmesh-0.vtk out.mhdf</div><div>c. simple code bug.cpp that can be compiled by </div><div>mpicxx bug.cpp -lMOAB -lnetcdf</div><div>and run by</div><div>mpiexec -np 6 ./a.out out.mhdf</div><div><br></div><div>it fails to pass exchange_ghost_cells</div><div id="DWT2488"><br></div></div></blockquote><br> <br> ...<br> result = pcomm.exchange_ghost_cells(3,2,1,0,1);
<br> CHKERR("cannot exchange ghost\n");
<br> ...<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div><div></div></div></blockquote>for this one, it seems that you are passing the bridge dimension as "2". If you pass 0 for bridge dimension, it works.<br>I think the problem is that there are no faces created by default (internally). It should work if you generate all the internal faces, then partition the mesh.<br><br>As a reminder, faces between tets are not generated automatically, to keep the database small. You can request that, with a method like<br><br>mb->get_adjacencies(Range tets, <br> const int to_dimension /*2 for faces*/,<br> const bool create_if_missing /* true*/,<br> Range & out,<br> const int operation_type /* Interface::UNION*/);<br><br>you may need to pass in all tets, and set "create_if_missing=true"<br><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div><div></div><div>I'll try to replace code for message passing inside this function</div><div>If I'll have a success I'll share it with you</div><div><br></div><br><blockquote><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"><div><div style="font-family: 'Times New Roman'; font-size: 12pt; color: rgb(0, 0, 0);"><br>I will look at your code more, but I don't think I can be of much help, sorry about that.<span class="Apple-converted-space"> </span><br><br>Iulian<br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div></div></blockquote></div></div></span></blockquote></div><br><br><br></blockquote><br></div></body></html>