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

OpenFOAM Installation Errors

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 1, 2011, 08:22
Default OpenFOAM Installation Errors
  #1
New Member
 
Join Date: Aug 2011
Posts: 11
Rep Power: 5
pfinlay1 is on a distinguished road
Hello Everyone,

I just joined the forum and have also just started using Linux, so am very unfamiliar with the whole command line interface.
I have just installed Ubuntu 10.04 on my computer and am trying to get OpenFOAM up and running without internet. I have been following the directions at http://www.openfoam.com/download/source.php, and have gotten as far as "Building the Sources" by installing all the required packages manually, as I can't use apt-get. When I go to run the top level build script ./Allwmake, I immediately get error 127, and it keeps coming up though-out the build (although it will continue):

pfinlay1@pfinlay1:~$ /home/pfinlay1/OpenFOAM/OpenFOAM-2.0.0/Allwmake
g++ -m32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -fPIC \
wmkdepend.cpp wmkdependParser.cpp wmkdependScanner.cpp \
-o /home/pfinlay1/OpenFOAM/OpenFOAM-2.0.0/wmake/platforms/linuxGcc/wmkdepend
make: g++: Command not found
make: *** [/home/pfinlay1/OpenFOAM/OpenFOAM-2.0.0/wmake/platforms/linuxGcc/wmkdepend] Error 127

I have gcc-4.4.3, so I'm not sure why it is having troubles with g++. Thank you for your help!

Regards,
Paul
pfinlay1 is offline   Reply With Quote

Old   August 1, 2011, 08:46
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 438
Rep Power: 13
linnemann will become famous soon enough
Hi

you also need gcc-c++
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   August 2, 2011, 07:52
Default
  #3
New Member
 
Join Date: Aug 2011
Posts: 11
Rep Power: 5
pfinlay1 is on a distinguished road
Hello,
Thank you for the quick response. I tried installing gcc-c++ from http://packages.ubuntu.com/lucid/g++-4.4 (downloaded the .tar.gz file), but when i unpacked it I only got a .xz file. Not sure what to do with this, as when I use "tar -Jxf file.xz", it says permission denied.. Any suggestions? Thank you.
pfinlay1 is offline   Reply With Quote

Old   August 5, 2011, 05:47
Default
  #4
Senior Member
 
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 6
m2montazari is on a distinguished road
hi,
if you have ubuntu and want a simple way, why do you try to install from sources? just enjoy debian packages.
so first download openfoam-***.deb and paraview-***.deb from sourceforge (after searching for openfoam choose all files and choose ubuntu then lucid)
then just open deb file with simple double clicking and it should say what other packages are needed that you dont have. so go to system-> synaptic and mark all that dependencies and then make download script from file menu. so packages you need is llisted in the download script file; download them from packages.ubuntu.com (deb packages) and install them one-by-one or using install downloaded packages from synaptic.
as a note, if you didnt ever updated the package list on your computer, just write list of dependencies of OpenFoam and download them from packages.ubuntu.com and you should repeat this to have dependencies of dependencies downloaded and installed.(a bit hard way)
m2montazari is offline   Reply With Quote

Reply

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
OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 39 July 1, 2014 07:55
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 ftec OpenFOAM Installation 7 February 23, 2011 06:07
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 superfxfund OpenFOAM Installation 3 November 11, 2010 02:15
OpenFOAM 1.5 installation on OpenSUSE 11.0 bigphil OpenFOAM Installation 16 April 29, 2009 06:28
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48


All times are GMT -4. The time now is 00:13.