|
[Sponsors] |
February 21, 2011, 15:24 |
Building 1.6-ext on Ubuntu 10.10 (64bit)
|
#1 |
Member
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17 |
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 In file included from scotchDecomp.C:108: scotchDecomp.H:39: fatal error: decompositionMethod.H: No such file or directory compilation terminated. Code:
OpenFOAM-1.6-ext > find . -name decompositionMethod.H ./src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H ./src/decompositionMethods/decompositionMethods/lnInclude/decompositionMethod.H The full log is here: http://codepad.org/eSoJts5M Last edited by andrewryan; February 22, 2011 at 03:21. |
|
February 24, 2011, 08:15 |
|
#2 |
Member
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17 |
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..
|
|
March 1, 2011, 10:05 |
:(
|
#3 |
Member
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17 |
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.
|
|
March 9, 2011, 10:53 |
|
#4 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
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 In file included from scotchDecomp.C:108: scotchDecomp.H:39:33: error: decompositionMethod.H: No such file or directory scotchDecomp.C:117:20: error: scotch.h: No such file or directory EDIT: I had to re-source the bashrc file. Now the installation gets past this error, and moves on to the next one... Last edited by marupio; March 9, 2011 at 12:27. |
|
May 21, 2011, 07:37 |
|
#5 |
Senior Member
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 17 |
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. |
|
July 2, 2013, 16:27 |
Set variable SCOTCH_INCLUDE_DIR
|
#6 |
New Member
Jean-Luc Pelerin
Join Date: Mar 2009
Posts: 21
Rep Power: 17 |
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 |
|
Tags |
1.6-ext |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys 12.0 on Ubuntu 10.10 64bit | Krischan | ANSYS | 1 | April 26, 2011 05:44 |
install OpenFoam 1.6 by building source: how? | niudie | OpenFOAM Installation | 13 | April 26, 2011 01:48 |
OpenFOAM vs Ubuntu 10.10 64 bit | vkrastev | OpenFOAM Installation | 12 | April 23, 2011 11:14 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |