|
[Sponsors] |
Compilation of decompositionMethods with debug flags |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 4, 2007, 07:35 |
I am trying to recompile OF-1.
|
#1 |
Member
Fabian Peng Karrholm
Join Date: Mar 2009
Posts: 61
Rep Power: 17 |
I am trying to recompile OF-1.4 with the debug flags, but ran into problems when trying to compile the metisDecomp part. I know there are other threads, but they have a different error message, and don't use lam (which I do). I use the gcc 4.1.2 which comes with OF-1.4.
In OpenFOAM-1.4/applications/utilities/parallelProcessing/decompositionMethods I run wmake libso, and get the following: SOURCE_DIR=metisDecomp SOURCE=metisDecomp/metisDecomp.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O0 -fdefault-inline -ggdb3 -DFULLDEBUG -DNoRepository -ftemplate-depth-40 -I/chalmers/users/f98faka/OpenFOAM/OpenFOAM-1.4/src/lam-7.1.2/platforms/linux64G cc4DPDebug/include -IparMetisDecomp/ParMetis-3.1/ParMETISLib -IparMetisDecomp/ParMetis-3.1 -IlnInclude -I. -I/chalmers/users/f98faka/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc4DPDebug/metisDecomp.o metisDecomp/metisDecomp.C: In member function 'virtual Foam::labelList Foam::metisDecomp::decompose(const Foam::pointField&)': metisDecomp/metisDecomp.C:363: error: 'METIS_WPartGraphRecursive' was not declared in this scope metisDecomp/metisDecomp.C:380: error: 'METIS_PartGraphRecursive' was not declared in this scope metisDecomp/metisDecomp.C:401: error: 'METIS_WPartGraphKway' was not declared in this scope make: *** [Make/linux64Gcc4DPDebug/metisDecomp.o] Error 1 Temporarily I've removed metis from the decompisitionmethods, which works, but it would be nice to be able to use metis decomposition. Is it possible to compile it with the metis decomposition? /Fabian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Debug mode with UDF ?? | Thierry | FLUENT | 1 | October 9, 2018 21:57 |
Compiling 14 decompositionMethods with OpenMPI | gschaider | OpenFOAM Bugs | 2 | July 5, 2008 10:35 |
About "debug=T" | sammi | Phoenics | 0 | June 14, 2008 07:18 |
What flags to set in cshrc | kupiainen | OpenFOAM Installation | 2 | June 8, 2005 07:56 |
Compilation flags for SGI | Goldman | Main CFD Forum | 1 | September 15, 2003 09:56 |