|
[Sponsors] |
Trouble with installation - Current directory is not $WM_PROJECT_DIR |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 21, 2012, 00:39 |
Trouble with installation - Current directory is not $WM_PROJECT_DIR
|
#1 |
New Member
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 15 |
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: Code:
./Allwmake: 9: wmakeCheckPwd: not found Error: Current directory is not $WM_PROJECT_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them.
Thanks! |
|
January 21, 2012, 14:59 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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 Best regards, Bruno
__________________
|
|
January 21, 2012, 15:04 |
Solved!
|
#3 |
New Member
Aneet D Narendranath
Join Date: Jan 2012
Posts: 9
Rep Power: 15 |
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! |
|
September 19, 2012, 08:12 |
About "$WM_PROJECT_DIR "
|
#4 |
New Member
Hongmei Jiang
Join Date: Apr 2012
Posts: 2
Rep Power: 0 |
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! |
|
September 19, 2012, 18:03 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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:
Best regards, Bruno
__________________
|
|
September 21, 2012, 05:02 |
Hello,Bruno,first
|
#6 |
New Member
Hongmei Jiang
Join Date: Apr 2012
Posts: 2
Rep Power: 0 |
Hello,Bruno
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? Best regards! |
|
September 21, 2012, 05:24 |
|
#7 |
Member
Join Date: Mar 2012
Location: Munich, Germany
Posts: 67
Rep Power: 14 |
Hello,
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: http://www.openfoam.org/download/ubuntu.php It dosenīt take so much time and the installation is very easy regards treima |
|
Tags |
installation, installation of openfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 05:43 |
OpenFoam install script Error during paraFoam installation | SePe | OpenFOAM Installation | 10 | June 19, 2010 16:15 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 07:43 |