Trouble with installation - Current directory is not $WM_PROJECT_DIR
I understand that this error has been posted before in these forums but none of the solutions seem to help me.
I am trying to install OpenFOAM-2.1.0 from source on Ubuntu 11.10 and am running into the following error all the time:
Greetings Annet and welcome to the forum!
Well, if you want detail, then read this blog post of mine: Advanced tips for working with the OpenFOAM shell environment :)
Dear Bruno Santos and other readers of this post,
I just about solved my problem
Here are the steps that I followed:
I resolved this issue by doing the following:
1) When trying to install/compile from source, make sure that you first tar xvf OpenFOAM-2.1.0.tgz into /home/-your-computer-user-name/OpenFOAM where the "OpenFOAM" is a folder that you create.
2)Make sure that you run all the installation steps in http://www.openfoam.org/download/source.php TO THE APOSTROPHE!!! That is very important.
3) Installation will take you about ~2hours or so to compile from source (give or take an hour based on your hardware.)
4)DO NOT install OpenFOAM-2.1.0 as root! This installs it in /opt and needs root to run it all the time.
Problem solved! https://barkboard.mtu.edu/tools/publ.../icon_razz.gif
About "$WM_PROJECT_DIR "
Hello,dnaneet other readers of this post,
When I follow the steps of http://www.openfoam.org/download/source.php ,and go to "Building the sources" part, I use "echo $WM_PROJECT_DIR ",nothing returns.What's the problem and what should I do?
Please help me, thank youu very much!
Greetings jiang_plum and welcome to the forum!
You didn't mention which Linux distribution you're using, so I'll reply with what I've already written down... namely two tutorials on how to build OpenFOAM 2.1.1 from source:
First of all ,thanks for your reply. I install openfoam in a ubuntu system. When I open my laptop this afternoon and redo the" ./allwmake', it is going now.
So my question is how long will it take to finsh ./allwmake?
it can take some hours to finish the building process when you compile the things from source.
But for ubuntu systems, you can just install OpenFOAM as a deb-pack:
It dosenīt take so much time and the installation is very easy ;)
|All times are GMT -4. The time now is 14:04.|