Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
2f1d0030
Commit
2f1d0030
authored
Jun 24, 2011
by
Thomas Witkowski
Browse files
Removed debug information lines.
parent
00406da3
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscProblemStat.cc
View file @
2f1d0030
...
@@ -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
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment