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

Installing OF1.6 from git

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2009, 19:49
Question Installing OF1.6 from git
  #1
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
With assistance i have successfully compiled OpenFOAM1.6 from source on ubuntu 9.10 with the system compiler(not OF supplied). Now I am now trying to compile the most recent git version.

.................................................. ....................
Here is the process(i think):

1. Download the git version to the OF directory
http://www.opencfd.co.uk/openfoam/download.html
(does the git version need the downloaded source packs in addition or is this git folder all that is needed??)

2. Let the system know where it is at:
export FOAM_INST_DIR=/home/eric/OpenFOAM.gcc
source etc/bashrc

3. Change compiler to system compiler(optional)
gedit etc/settings.sh

4. Compile
./Allwmake
.................................................. ....................

Initially I got an error where the compiler couldnt find ThirdParty-1.6.x
I fixed this (maybe) by creating a link to my source pack folder
ln -s ~/OpenFOAM/ThirdParty-1.6 ~/OpenFOAM/ThirdParty-1.6.x


The new error says:

CMake Error: your CXX compiler: "/bin/c++" was not found.
Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!


I looked and sure enough "/bin/c++", but "/usr/bin/c++" did.
so i used the code:

export CMAKE_CXX_COMPILER=/usr/bin/c++
source etc/bashrc

But it didnt have any effect on the error outputs of ./Allwmake


Thoughts? Any help is greatly appreciated!



I have reviewed the following related forums:
http://www.cfd-online.com/Forums/ope...ion-1-6-a.html
http://www.cfd-online.com/Forums/ope...-cookbook.html
ericnutsch is offline   Reply With Quote

Old   December 13, 2009, 19:00
Default
  #2
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 113
Rep Power: 16
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
I figured out that through about 4 links "/usr/bin/c++" eventualy points to " /usr/bin/g++-4.4"

Maybe i should point the compiler somewhere else...
ericnutsch is offline   Reply With Quote

Reply


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
git problem with http repository az_monger OpenFOAM Bugs 2 September 4, 2009 05:45
git svn clone of openfoam-extend Bost OpenFOAM 12 August 3, 2009 20:16
Urgent Git problem updating OF15x thomasduerr OpenFOAM Bugs 4 July 8, 2009 07:07
Urgent Git problem updating OF15x thomasduerr OpenFOAM 0 July 7, 2009 11:36
Installation Problem with GIT sega OpenFOAM Installation 2 May 8, 2009 08:46


All times are GMT -4. The time now is 19:34.