Commit 842726b8 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed for debugging compilation.

parent 00fc1298
...@@ -96,7 +96,9 @@ namespace AMDiS { ...@@ -96,7 +96,9 @@ namespace AMDiS {
Parameters::init(initFileName); Parameters::init(initFileName);
} }
#ifdef HAVE_PARALLEL_DOMAIN_AMDIS
Parameters::get("parallel->log main rank", Msg::outputMainRank); Parameters::get("parallel->log main rank", Msg::outputMainRank);
#endif
// reset parameters from command line // reset parameters from command line
bool ignoreCommandline = false; bool ignoreCommandline = false;
......
...@@ -190,8 +190,14 @@ namespace AMDiS { ...@@ -190,8 +190,14 @@ namespace AMDiS {
dofWriter.writeFile(fn + ".dof", solutionVecs); dofWriter.writeFile(fn + ".dof", solutionVecs);
} }
#if HAVE_PARALLEL_DOMAIN_AMDIS
if (writeArhFormat) if (writeArhFormat)
ArhWriter::write(paraFilename + ".arh", feSpace->getMesh(), solutionVecs); ArhWriter::write(paraFilename + ".arh", feSpace->getMesh(), solutionVecs);
#else
if (writeArhFormat)
ArhWriter::write(filename + ".arh", feSpace->getMesh(), solutionVecs);
#endif
#ifdef HAVE_PNG #ifdef HAVE_PNG
if (writePngFormat) { if (writePngFormat) {
......
...@@ -1595,9 +1595,9 @@ namespace AMDiS { ...@@ -1595,9 +1595,9 @@ namespace AMDiS {
elObjDb.create(partitionMap, levelData); elObjDb.create(partitionMap, levelData);
elObjDb.updateRankData(); elObjDb.updateRankData();
unsigned long memsize = elObjDb.calculateMemoryUsage(); // unsigned long memsize = elObjDb.calculateMemoryUsage();
MSG("Memory usage of element object database = %5.f KByte\n", // MSG("Memory usage of element object database = %5.f KByte\n",
static_cast<double>(memsize / 1024.0)); // static_cast<double>(memsize / 1024.0));
intBoundary.create(levelData, 0, elObjDb); intBoundary.create(levelData, 0, elObjDb);
ParallelDebug::printBoundaryInfo(intBoundary); ParallelDebug::printBoundaryInfo(intBoundary);
......
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