diff --git a/libsrc/interface/nginterface.cpp b/libsrc/interface/nginterface.cpp index 697208d4..8d76a82c 100644 --- a/libsrc/interface/nginterface.cpp +++ b/libsrc/interface/nginterface.cpp @@ -72,7 +72,7 @@ { bool parthread = netgen::mparam.parthread; - // if (netgen::id > 0) parthread = false; + // if (netgen::id > 0) parthread = true; if (netgen::ntasks > 1) parthread = false; if (parthread) diff --git a/libsrc/meshing/parallelmesh.cpp b/libsrc/meshing/parallelmesh.cpp index 8e656938..8214856f 100644 --- a/libsrc/meshing/parallelmesh.cpp +++ b/libsrc/meshing/parallelmesh.cpp @@ -641,7 +641,6 @@ namespace netgen SetNextMajorTimeStamp(); // paralleltop->Print(); - cout << "receive mesh complete, id = " << id << endl; } diff --git a/libsrc/meshing/paralleltop.cpp b/libsrc/meshing/paralleltop.cpp index 4a03a377..7467b03b 100644 --- a/libsrc/meshing/paralleltop.cpp +++ b/libsrc/meshing/paralleltop.cpp @@ -442,7 +442,6 @@ namespace netgen *testout << "ParallelMeshTopology :: UpdateCoarseGridGlobal" << endl; - cout << "update global, id = " << id << endl; const MeshTopology & topology = mesh.GetTopology(); @@ -539,7 +538,6 @@ namespace netgen else MyMPI_Bcast ( recvarray ); - cout << "have done bcast, id = " << id << endl; if (id != 0) { @@ -630,9 +628,6 @@ namespace netgen *testout << "l2d - sel = " << loc2distsurfel << endl; } - MPI_Barrier (MPI_COMM_WORLD); - cout << "update global complete, id = " << id << endl; - MPI_Barrier (MPI_COMM_WORLD); coarseupdate = 1; } @@ -643,7 +638,6 @@ namespace netgen void ParallelMeshTopology :: UpdateCoarseGrid () { - cout << "updatecoarsegrid, id = " << id << endl; static int timer = NgProfiler::CreateTimer ("UpdateCoarseGrid"); NgProfiler::RegionTimer reg(timer); @@ -687,12 +681,6 @@ namespace netgen Array glob2loc; Array cnt_send(ntasks-1); - - MPI_Barrier (MPI_HIGHORDER_COMM); - cout << "before ex edges" << endl; - *testout << "before ex edges" << endl; - MPI_Barrier (MPI_HIGHORDER_COMM); - NgProfiler::StartTimer (timere); // exchange edges @@ -765,9 +753,7 @@ namespace netgen NgProfiler::StopTimer (timere); - MPI_Barrier (MPI_HIGHORDER_COMM); - cout << "before ex faces" << endl; - *testout << "before ex faces" << endl; + MPI_Barrier (MPI_HIGHORDER_COMM); if (mesh.GetDimension() == 3) @@ -837,11 +823,6 @@ namespace netgen NgProfiler::StopTimer (timerf); } - MPI_Barrier (MPI_HIGHORDER_COMM); - cout << "after ex faces" << endl; - *testout << "after ex faces" << endl; - MPI_Barrier (MPI_HIGHORDER_COMM); - // set which elements are where for the master processor diff --git a/libsrc/meshing/topology.cpp b/libsrc/meshing/topology.cpp index 7e638bcd..e7aa23fa 100644 --- a/libsrc/meshing/topology.cpp +++ b/libsrc/meshing/topology.cpp @@ -1159,7 +1159,6 @@ namespace netgen #ifdef PARALLEL - cout << "is par = " << int(isparallel) << ", id = " << id << endl; if (mesh.GetDimension() == 3) if (isparallel != (id != 0)) {