CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Problem Compiling OF 15 On linux 64

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2008, 11:07
Default Hello users, I have been
  #1
New Member
 
Tom Wood
Join Date: Mar 2009
Location: Boise, Idaho, United States
Posts: 1
Rep Power: 0
skidootom is on a distinguished road
Hello users,


I have been trying to get OpenFOAM installed, not much luck. I would really appreciate some help. I have tried to compile OF 1.5 using the binary Thirdparty and source Thirdparty. I still manage to recieve these errors, I think the first error compounds and causes the second.

I searched for this bug or mistake and cant seem to find much about it.

Thanks in advance!

Also sorry this is my first post, so it might be out of format, if so please let me know.

+ wmake libso decompositionMethods
SOURCE=metisDecomp/metisDecomp.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/isrg/twood/OpenFOAM/ThirdParty/metis-5.0pre2/include -IlnInclude -I. -I/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/metisDecomp.o
metisDecomp/metisDecomp.C:37:22: error: metis.h: No such file or directory
metisDecomp/metisDecomp.C: In member function 'Foam::label Foam::metisDecomp::decompose(const Foam::List<int>&, const Foam::List<int>&, Foam::List<int>&)':
metisDecomp/metisDecomp.C:268: error: 'METIS_WPartGraphRecursive' was not declared in this scope
metisDecomp/metisDecomp.C:285: error: 'METIS_PartGraphRecursive' was not declared in this scope
metisDecomp/metisDecomp.C:306: error: 'METIS_WPartGraphKway' was not declared in this scope
metisDecomp/metisDecomp.C:323: error: 'METIS_PartGraphKway' was not declared in this scope
make: *** [Make/linux64GccDPOpt/metisDecomp.o] Error 1
+ '[' -d /home/isrg/twood/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/openmpi-1.2.6 ']'
+ wmake libso parMetisDecomp


make[2]: *** [/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/redistr ibuteMeshPar] Error 1
make[2]: Leaving directory `/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessin g/redistributeMeshPar'
make[1]: *** [redistributeMeshPar] Error 2
make[2]: Entering directory `/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessin g/reconstructPar'
make[2]: `/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/reconst ructPar' is up to date.
make[2]: Leaving directory `/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessin g/reconstructPar'
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/isrg/twood/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessin g'
make: *** [parallelProcessing] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'
-bash-3.2$
skidootom is offline   Reply With Quote

Old   October 9, 2008, 17:10
Default It looks like you don't have t
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
It looks like you don't have the thirdparty pack installed. When compiling metisDecomp.C it tries to include $WM_THIRD_PARTY_DIR/metis-5.0pre2/include which for me evaluates to ~mattijs/OpenFOAM/ThirdParty/metis-5.0pre2/include and in there is the metis.h

You are posting in the bugs ('OpenFOAM-bugs') section. Could you please post only bugs here and all other items in the normal section ('OpenFOAM') ?
mattijs is offline   Reply With Quote

Reply


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
Compiling OF on Linux mips64 mou_mi OpenFOAM Installation 0 June 25, 2008 18:20
udf compiling problem akr FLUENT 3 August 22, 2007 08:14
Compiling UDF's Under Linux OS Yasser Nabavi FLUENT 2 April 24, 2006 20:59
PROBLEM COMPILING!!! PLEASE HELP! Toni Cominceanu FLUENT 3 May 17, 2005 03:12
PROBLEM COMPILING!!! PLEASE HELP! Toni Cominceanu Main CFD Forum 0 May 7, 2005 08:28


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