On Tue, Feb 16, 2016 at 10:19 PM, Harshad Sahasrabudhe <hsaha...@purdue.edu>
wrote:

> Hi John,
>
> I was running an older version of LibMesh when I got the previous segfault
> in libMesh::DofMap::clear_sparsity(), which happened after changing the
> assemble for CondensedEigenSystem to only set diagonal dofs in B. Then I
> upgraded to libMesh 0.9.4 and that segfault went away. Now the code runs
> fine with 1 and 2 processes, however it segfaults with 4 or more processes
> after printing the following message:
>
> PARMETIS ERROR: The sum of tpwgts for constraint #0 is not 1.0
>
> I also get this error message: Assertion `((min_procid ==
> this->processor_id()) && obj) || (min_procid != this->processor_id())'
> failed.
>
> Here's the stacktrace:
>
> #22 0x0000003f212bcd22 in __cxa_throw () from /usr/lib64/libstdc++.so.6
> #23 0x00002b5818f65382 in void
> libMesh::ParallelMesh::libmesh_assert_valid_parallel_object_ids<libMesh::Elem>(libMesh::mapvector<libMesh::Elem*,
> unsigned int> const&) const () from
> /home/hsahasra/NEMO5/libs/libmesh/libmesh/.libs/libmesh_dbg.so.0
> #24 0x00002b5818f572b0 in
> libMesh::ParallelMesh::libmesh_assert_valid_parallel_ids() const () from
> /home/hsahasra/NEMO5/libs/libmesh/libmesh/.libs/libmesh_dbg.so.0
> #25 0x00002b5818f57431 in
> libMesh::ParallelMesh::renumber_nodes_and_elements() () from
> /home/hsahasra/NEMO5/libs/libmesh/libmesh/.libs/libmesh_dbg.so.0
> #26 0x00002b5818e4224d in libMesh::MeshBase::prepare_for_use(bool, bool)
> () from /home/hsahasra/NEMO5/libs/libmesh/libmesh/.libs/libmesh_dbg.so.0
>
>
> I searched for this error on Google and found a few earlier posts related
> to LibMesh using a different PARMETIS than PETSc. Were you able to get a
> fix for this issue?
>

Yes, libmesh now detects if PETSc has its own Metis/ParMetis and uses those
instead of building it's own.  This feature should be in 0.9.5 which was
released a few weeks ago, and which I'd strongly recommend upgrading to.
It should be fairly painless if your code is already working with 0.9.4.

-- 
John
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to