CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Compilation of decompositionMethods with debug flags

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2007, 07:35
Default I am trying to recompile OF-1.
Fabian Peng Karrholm
Join Date: Mar 2009
Posts: 61
Rep Power: 13
fabianpk is on a distinguished road
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=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?

fabianpk is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

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

All times are GMT -4. The time now is 17:27.