I am trying to recompile OF-1.
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.
I run wmake libso, and get the following:
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?
|All times are GMT -4. The time now is 18:07.|