|
[Sponsors] |
August 1, 2011, 09:22 |
OpenFOAM Installation Errors
|
#1 |
New Member
Join Date: Aug 2011
Posts: 11
Rep Power: 15 |
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 |
|
August 1, 2011, 09:46 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
you also need gcc-c++
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
August 2, 2011, 08:52 |
|
#3 |
New Member
Join Date: Aug 2011
Posts: 11
Rep Power: 15 |
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. |
|
August 5, 2011, 06:47 |
|
#4 |
Senior Member
Mohammad
Join Date: Feb 2010
Location: Shiraz, Iran
Posts: 108
Rep Power: 16 |
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) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 17, 2019 00:12 |
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 | electrosin | OpenFOAM Installation | 40 | May 31, 2016 06:11 |
errors during compilation and installation of OpenFOAM-1.7.x on Ubuntu 10.04 | ftec | OpenFOAM Installation | 7 | February 23, 2011 07:07 |
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 | superfxfund | OpenFOAM Installation | 3 | November 11, 2010 03:15 |
OpenFOAM 1.5 installation on OpenSUSE 11.0 | bigphil | OpenFOAM Installation | 16 | April 29, 2009 07:28 |