diff --git a/libsrc/general/profiler.hpp b/libsrc/general/profiler.hpp index d424ce62..a3ad811c 100644 --- a/libsrc/general/profiler.hpp +++ b/libsrc/general/profiler.hpp @@ -39,7 +39,8 @@ public: static void StartTimer (int nr) { starttimes[nr] = clock(); counts[nr]++; - VT_USER_START (const_cast (names[nr].c_str())); + // VT_USER_START (const_cast (names[nr].c_str())); + VT_USER_START ( (char * const) (names[nr].c_str())); } static void StopTimer (int nr) { diff --git a/libsrc/interface/nginterface.cpp b/libsrc/interface/nginterface.cpp index 3640c66c..2a4cb9e8 100644 --- a/libsrc/interface/nginterface.cpp +++ b/libsrc/interface/nginterface.cpp @@ -75,7 +75,7 @@ MPI_Query_thread(&provided); if (provided < 3) if (netgen::ntasks > 1) parthread = false; - cout << "runparallel = " << parthread << endl; + // cout << "runparallel = " << parthread << endl; #endif if (parthread) diff --git a/libsrc/meshing/curvedelems.cpp b/libsrc/meshing/curvedelems.cpp index 279c23f3..0fe3bd96 100644 --- a/libsrc/meshing/curvedelems.cpp +++ b/libsrc/meshing/curvedelems.cpp @@ -447,7 +447,6 @@ namespace netgen #ifdef PARALLEL if (id > 0) { - cout << "id = " << id << ", get edge coeffs" << endl; Array master_edgeorder; Array master_edgecoeffsindex; Array > master_edgecoeffs;