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

Building 1.6-dev on Ubuntu 10.10 (64bit)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By andrewryan

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 17
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..
peterhess likes this.
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: 17
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: 437
Rep Power: 22
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, 07:37
Default
  #5
Senior Member
 
Hector Redal
Join Date: Aug 2010
Location: Madrid, Spain
Posts: 243
Rep Power: 17
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, 16:27
Default Set variable SCOTCH_INCLUDE_DIR
  #6
New Member
 
Jean-Luc Pelerin
Join Date: Mar 2009
Posts: 21
Rep Power: 17
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


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
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


All times are GMT -4. The time now is 10:37.