Thank you very much! I actually attached the stack to the previous email but I am not sure whether I can actually send attachments to this mailing list.
So this is the output: Assertion `oldvar == static_cast<Told>(static_cast<Tnew>(oldvar))' failed. oldvar = [4] /apps/daint/UES/6.0.UP02/sandbox-ws/moose/scripts/../libmesh/installed/include/libmesh/libmesh_common.h, line 551, compiled Feb 28 2017 at 16:36:02 18446744073709551615 static_cast<Told>(static_cast<Tnew>(oldvar)) = 4294967295 And the stack would be in the attached screenshot. If you cannot obtain the attachment, what would be the best way to include pictures in here? Thank you for your patience. –Barna > On 28 Feb 2017, at 17:57, Roy Stogner <royst...@ices.utexas.edu> wrote: > > > 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 Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users