compiler problem with OpenFOAM installation
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 !
Greetings Abdelkrim and welcome to the forum!
Did you follow the instructions for Ubuntu in the "System Requirements" section?
Namely these instructions:
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.
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.
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 !
|All times are GMT -4. The time now is 09:25.|