CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Problem Compiling OF 15 On linux 64 (http://www.cfd-online.com/Forums/openfoam-bugs/62405-problem-compiling-15-linux-64-a.html)

skidootom October 9, 2008 10:07

Hello users, I have been
 
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$

mattijs October 9, 2008 16:10

It looks like you don't have t
 
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') ?


All times are GMT -4. The time now is 07:54.