Commit 2f1d0030 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Removed debug information lines.

parent 00406da3
...@@ -69,6 +69,7 @@ namespace AMDiS { ...@@ -69,6 +69,7 @@ namespace AMDiS {
double wtime = MPI::Wtime(); double wtime = MPI::Wtime();
#if 0
double vm, rss; double vm, rss;
processMemUsage(vm, rss); processMemUsage(vm, rss);
MSG("STAGE 1\n"); MSG("STAGE 1\n");
...@@ -76,27 +77,30 @@ namespace AMDiS { ...@@ -76,27 +77,30 @@ namespace AMDiS {
mpi::globalAdd(vm); mpi::globalAdd(vm);
mpi::globalAdd(rss); mpi::globalAdd(rss);
MSG("Overall memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss); MSG("Overall memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss);
#endif
petscSolver->setMeshDistributor(meshDistributor); petscSolver->setMeshDistributor(meshDistributor);
petscSolver->fillPetscMatrix(systemMatrix, rhs); petscSolver->fillPetscMatrix(systemMatrix, rhs);
#if 0
processMemUsage(vm, rss); processMemUsage(vm, rss);
MSG("STAGE 2\n"); MSG("STAGE 2\n");
MSG("My memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss); MSG("My memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss);
mpi::globalAdd(vm); mpi::globalAdd(vm);
mpi::globalAdd(rss); mpi::globalAdd(rss);
MSG("Overall memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss); MSG("Overall memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss);
#endif
petscSolver->solvePetscMatrix(*solution, adaptInfo); petscSolver->solvePetscMatrix(*solution, adaptInfo);
#if 0
processMemUsage(vm, rss); processMemUsage(vm, rss);
MSG("STAGE 3\n"); MSG("STAGE 3\n");
MSG("My memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss); MSG("My memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss);
mpi::globalAdd(vm); mpi::globalAdd(vm);
mpi::globalAdd(rss); mpi::globalAdd(rss);
MSG("Overall memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss); MSG("Overall memory usage is VM = %.1f MB RSS = %.1f MB\n", vm, rss);
#endif
INFO(info, 8)("solution of discrete system needed %.5f seconds\n", INFO(info, 8)("solution of discrete system needed %.5f seconds\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment