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

Fixed for debugging compilation.

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