diff --git a/libsrc/meshing/parallelmesh.cpp b/libsrc/meshing/parallelmesh.cpp index 43644f8b..a32399a6 100644 --- a/libsrc/meshing/parallelmesh.cpp +++ b/libsrc/meshing/parallelmesh.cpp @@ -10,14 +10,14 @@ namespace metis { extern "C" { -#include +#include #if METIS_VER_MAJOR >= 5 #define METIS5 typedef idx_t idxtype; #else #define METIS4 - typedef idxtype idx_t; + typedef idxtype idx_t; #endif } } @@ -797,16 +797,16 @@ namespace netgen int nparts = ntasks-1; int edgecut; - /* + int ncommon = 3; METIS_PartMeshDual (&ne, &nn, &eptr[0], &eind[0], NULL, NULL, &ncommon, &nparts, NULL, NULL, &edgecut, &epart[0], &npart[0]); - */ + /* METIS_PartMeshNodal (&ne, &nn, &eptr[0], &eind[0], NULL, NULL, &nparts, NULL, NULL, &edgecut, &epart[0], &npart[0]); - + */ PrintMessage (3, "metis complete"); // cout << "done" << endl; diff --git a/libsrc/meshing/paralleltop.cpp b/libsrc/meshing/paralleltop.cpp index 3f5ac9f2..138b339a 100644 --- a/libsrc/meshing/paralleltop.cpp +++ b/libsrc/meshing/paralleltop.cpp @@ -218,7 +218,7 @@ namespace netgen - MPI_Barrier (MPI_COMM_WORLD); + // MPI_Barrier (MPI_COMM_WORLD); MPI_Group MPI_GROUP_WORLD; MPI_Group MPI_LocalGroup; @@ -299,7 +299,7 @@ namespace netgen NgProfiler::StopTimer (timere); - MPI_Barrier (MPI_LocalComm); + // MPI_Barrier (MPI_LocalComm); if (mesh.GetDimension() == 3)