On Sun, 5 Mar 2017, Rossi, Simone wrote:
I would like to partition and read a mesh in parallel.
After reading the discussion on the mailing list on “pre-partitioning a big
mesh"
I used the splitter to partition the mesh. The partitioner just worked (that
was great! Thanks!).
I set up a simple test to check if I could read the mesh.
Partitioning with one processor and then reading it works fine.
On the other hand when I try with 2 processors I get the following error.
Assertion `mesh.comm().semiverify(p_my_neighbor)' failed.
/not_backed_up/srossi/TPL/libmesh/libmesh-git/src/mesh/mesh_tools.C, line 1726
My simple test looks like this:
#include "libmesh/parallel_mesh.h"
int main(int argc, char** argv)
{
using namespace libMesh;
LibMeshInit init (argc, argv, MPI_COMM_WORLD);
ParallelMesh mesh(init.comm());
mesh.read("LA_T4_new_m1.cpr");
mesh.print_info(std::cout);
return 0;
}
Do you have any suggestions?
Can you send me the original mesh? The Checkpoint I/O is currently in
a fragile state, and I'm working to fix that, but I've been chasing
down other red herrings (well, other significant issues that turn out
to be MOOSE- or libMesh-but-not-Checkpoint- related), and having such
a simple test case to work with would be a big help.
---
Roy
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users