Building 1.6-ext on Ubuntu 10.10 (64bit)
Hi all
I'm trying to build 1.6-ext. I first ran into the problem that the build system could not find 'mpi.h', which I fixed by setting.. export WM_MPLIB=SYSTEMOPENMPI However I also ran in another error, which I don't understand: Code:
SOURCE=scotchDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/nils/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/nils/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scotchDecomp.o Code:
OpenFOAM-1.6-ext > find . -name decompositionMethod.H The full log is here: http://codepad.org/eSoJts5M |
Got it working :) You basically have to build ThirdParty first. I built it first including qt, then it more or less worked fine.. IIRC I had to set an include path manually (to the include file in third party), because otherwise I ran into could not find mpi.h..
|
:(
I just noticed that some of the packages, built in the ThirdParty directory actually replace Ubuntu packages :( For example the cmake package. Found this quite annoying the package name of the ThirdParty packages for OF ext should differ from the Ubuntu packages so you can have both installed at the same time.
|
My ThirdParty built fine, but I still encountered this problem:
Code:
SOURCE=scotchDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/dave/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/dave/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scotchDecomp.o EDIT: I had to re-source the bashrc file. Now the installation gets past this error, and moves on to the next one... |
Hi,
I have found the same problem stated in this thread. Have someone manage to solve it? How can I proceed further? Best regards, Hector. |
Set variable SCOTCH_INCLUDE_DIR
Hi All,
It also seems to work to set the variable SCOTCH_INCLUDE_DIR to point toward the scotch include directory (installed from the Ubuntu package). Regards, Jean-Luc |
All times are GMT -4. The time now is 05:47. |