On Tue, 28 Feb 2017, Barna Becsek wrote:

> To remedy this I called prepare_for_use once additionally before
> gather_neigboring_elements (to make sure that the mesh is set up as
> a distributed one) and then once after.
>
> This actually made me overcome the original problem, i.e. the above
> loop ran just fine.

Thanks!  I've just put up https://github.com/libMesh/libmesh/pull/1257
which will hopefully fix that for good.

> Now I am facing the following:
>
> From the output it looks like it is casting a -1 integer in the
> templated function. The problem is, I cannot find the call to that
> function in the stack (it is the same for every process).
> Do you know what could cause this error?

We have a bunch of "invalid_id", "invalid_processor_id", etc.
constants which are basically "-1 cast to the appropriate type" and
which get used as placeholders all over the code; no telling which you
might have run into.

Show me the stack trace?

Thanks,
---
Roy

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to