|
[Sponsors] |
May 17, 2013, 10:55 |
compiler problem with OpenFOAM installation
|
#1 |
Member
belkadi
Join Date: May 2013
Location: France
Posts: 31
Rep Power: 13 |
Dear all,
I'm new in this forum and a new user with OpenFOAM. I have just installed the OpenFOAM-2.2.0 on my computer. The installation is made for Ubunutu 12.0 by using a virtual box through windows. I've installed the gcc 4.7.2 version During compiling the OpenFOAM, I've a lot error messages : /bin/sh: 1: g++ not found. I don't understand why ? should I install the g++ compiler ? I thought that the g++ is already installed in the gcc compiler. In OpenFOAM webesite they suggested to used gcc compiler 4.5. and above (this is well my case). Any suggestions are welcome ! Kind regards Abdelkrim |
|
May 17, 2013, 19:23 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Abdelkrim and welcome to the forum!
Did you follow the instructions for Ubuntu in the "System Requirements" section? Namely these instructions: Quote:
Bruno
__________________
|
||
May 21, 2013, 10:45 |
|
#3 |
Member
belkadi
Join Date: May 2013
Location: France
Posts: 31
Rep Power: 13 |
Hi Bruno !
Thank you very much for your help, Your answer was a great help. In fact I've connectd my computer to the network (internet) and tried your command line and it's work. If I've well understood the website of OpenFoam, I should first install the Ubuntu Deb Pack and then Source Pack installation. Honestly I'm not quiete good with Linux, I'm a beginner, Does any one has a document to explain the full installation of OpenFoam step by step for Ubuntu 12.10 Many thanks for the help. Kind regards Abdelkrim |
|
May 21, 2013, 16:56 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Abdelkrim,
You only need to install one version. If you are new to using OpenFOAM, it's best that you only install the Deb pack version, since it's easy and you simply need to follow the official instructions: http://www.openfoam.org/download/ubuntu.php You'll only need to install the Source version, if and when the time comes to to perform advanced modifications to the source code. Best regards, Bruno
__________________
|
|
May 22, 2013, 11:26 |
|
#5 |
Member
belkadi
Join Date: May 2013
Location: France
Posts: 31
Rep Power: 13 |
Hi Bruno,
Thanks again ! Of course, I've just followed the instruction as you mentionned and now I have successfully run a short example (cavity). Thanks to remind this to me Bruno. You saved me ! In fact last days I was trying to do the compilation of all the code sources, for the time being I don't need to do that because I'm not sure if I'll develop the code or not. Well I'm very happy about this first step. Now, I'll do the next step, modeling some physics in our reactor ! Thanks Bruno for your help. Sure I'll be back with other questions ! Kind regards Abdelkrim |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with parmetis-3.1.1 installation for openfoam 1.6-ext | achyutan | OpenFOAM Installation | 11 | October 26, 2012 19:18 |
Problem: Openfoam 2.1 installation from git repo | fertinaz | OpenFOAM Installation | 10 | March 2, 2012 12:26 |
OpenFOAM installation problem | eos_711 | OpenFOAM Installation | 3 | February 10, 2012 16:35 |
OpenFOAM 1.7.1 installation problem on Fedora 14 | armonica | OpenFOAM Installation | 16 | March 31, 2011 14:16 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |