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

Building 1.6-dev on Ubuntu 10.10 (64bit)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 21, 2011, 15:24
Unhappy Building 1.6-ext on Ubuntu 10.10 (64bit)
  #1
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 8
andrewryan is on a distinguished road
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.
The file however is where it should:

Code:
OpenFOAM-1.6-ext > find . -name decompositionMethod.H
./src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H
./src/decompositionMethods/decompositionMethods/lnInclude/decompositionMethod.H
Thx for help!

The full log is here: http://codepad.org/eSoJts5M

Last edited by andrewryan; February 22, 2011 at 03:21.
andrewryan is offline   Reply With Quote

Old   February 24, 2011, 08:15
Default
  #2
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 8
andrewryan is on a distinguished road
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..
andrewryan is offline   Reply With Quote

Old   March 1, 2011, 10:05
Unhappy :(
  #3
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 8
andrewryan is on a distinguished road
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.
andrewryan is offline   Reply With Quote

Old   March 9, 2011, 10:53
Default
  #4
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
marupio is on a distinguished road
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
Messing around with the Make/options didn't work. Does anyone have any idea?

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.
marupio is offline   Reply With Quote

Old   May 21, 2011, 06:37
Default
  #5
Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 67
Rep Power: 6
HectorRedal is on a distinguished road
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.
HectorRedal is offline   Reply With Quote

Old   July 2, 2013, 15:27
Default Set variable SCOTCH_INCLUDE_DIR
  #6
New Member
 
Jean-Luc Pelerin
Join Date: Mar 2009
Posts: 21
Rep Power: 8
jlpelerin is on a distinguished road
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
jlpelerin is offline   Reply With Quote

Reply

Tags
1.6-ext

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ansys 12.0 on Ubuntu 10.10 64bit Krischan ANSYS 1 April 26, 2011 04:44
install OpenFoam 1.6 by building source: how? niudie OpenFOAM Installation 13 April 26, 2011 00:48
OpenFOAM vs Ubuntu 10.10 64 bit vkrastev OpenFOAM Installation 12 April 23, 2011 10: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 04:55


All times are GMT -4. The time now is 23:49.