|
[Sponsors] |
November 16, 2010, 07:38 |
OpenFoam 1.7.1 on Fedora 12 Help...
|
#1 |
New Member
Join Date: Nov 2010
Posts: 2
Rep Power: 0 |
Hello everybody,
I have trouble installing OpenFoam 1.7.1 on Fedora 12 (my computer doesnt allow installation of Ubuntu). I followed all the steps in the sources link (http://www.openfoam.com/download/source.php) and when it comes to do ./Allwmake in ThirdParty-1.7.1 or in OpenFoam-1.7.1 I got : Error: Current directory in not $WM_PROJECT_DIR/applications The environment variable are not consistent with the installation. Check the OpenFOAM entries in your dot-files and source them. My architecture is: ls Home/ Me/ OpenFoam/ ThirdParty-1.7.1 OpenFoam-1.7.1 It doesn't let me copy OpenFoam in Home/ |
|
November 16, 2010, 18:42 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Alphax and welcome to the forum!
My guess is that you aren't respecting the case sensitivity of the folder names. For example, the base folder of OpenFOAM should be OpenFOAM, not OpenFoam. To be more exact, your base folder for OpenFOAM should be what is outputed by this command: Code:
echo $HOME/OpenFOAM Code:
echo $WM_PROJECT_INST_DIR "OpenFOAM-1.7.1/etc/bashrc" and change the line 45 to your liking: Code:
foamInstall=$HOME/$WM_PROJECT Code:
foamInstall=$HOME/me/OpenFoam Best regards, Bruno
__________________
|
|
November 22, 2010, 02:07 |
|
#3 |
New Member
Join Date: Nov 2010
Posts: 2
Rep Power: 0 |
Hey,
I checked my spelling and I have OpenFOAM ( /home/me/OpenFOAM) as a base directory for OpenFOAM-1.7.1 and ThirdParty-1.7.1 . So as displyed below the second command does not output any path... echo $HOME/OpenFOAM /home/me/OpenFOAM echo $WM_PROJECT_INST_DIR I donnot know what is going on. I change OpenFOAM-1.7.1/etc/bachrc line 45 to foamInstall=$HOME/OpenFOAM I tried ./Allwmake in OpenFOAM-1.7.1 and it outputs: Error: Current directory is not $WM_PROJECT_DIR The environment variable are not consistent with the installation. Check the OpenFOAM entries in your dot-files and source them. I have the same error when trying to build (./Allwmake) in ThirdParty-1.7.1 : ./Allwmake: line 34: wmakeCheckPwd: command not found Error: Current directory is not $WM_THIRD_PARTY_DIR The environment variables are inconsistent with the installation. Check the OpenFOAM entries in your dot-files and source them. And similarly, echo $WM_THIRD_PARTY_DIR output a blank path so I donnot know what is going on there. I did the system checks: g++ and flex, its installed. I really look forward to managing to get OpenFOAM to run Kind Regards, |
|
November 22, 2010, 03:14 |
|
#4 |
Senior Member
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17 |
go to the terminal ..... and open the bashrc file .....
Code:
gedit .bashrc Code:
. /home/me/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc |
|
November 22, 2010, 03:17 |
|
#5 |
Senior Member
Balkrishna Patankar
Join Date: Mar 2009
Location: Pune
Posts: 123
Rep Power: 17 |
Note the space in :
Code:
. /home/me/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc |
|
July 13, 2011, 04:42 |
|
#6 |
New Member
Frank
Join Date: Jul 2011
Posts: 1
Rep Power: 0 |
Hi Bruno and hi anyone else in this forum!
It seems that your are familiar with the installation of OpenFOAM. I have also a slight problem with the installation of OpenFOAM V1.7.1 on my MAC. Perhaps someone has an useful hint for me. I have created a case sensitive disk image for the installation of OpenFOAM on my MAC, OpenFOAM is to find under /Volumes/OpenFOAM/ I'm absolutely unsure what to put in line 45 in the etc/bashrc. I guess it is foamInstall=/Volumes/OpenFOAM/$WM_PROJECT but the terminal stops with the following line "etc/bashrc" 335L, 9552C Please, could somebody help me? Frank |
|
July 13, 2011, 16:50 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Frank and welcome to the forum!
I'm sorry, but you'll have to ask the people that have MACs Try asking on this thread: http://www.cfd-online.com/Forums/ope...mac-1-7-x.html Best regards, Bruno
__________________
|
|
November 2, 2012, 15:33 |
|
#8 |
New Member
Benoit F
Join Date: Nov 2012
Posts: 1
Rep Power: 0 |
Hello everyone,
just wanted to say: I had the exact same problem as Alphax i.e. blank when typping $WP_PROJECT_DIR. The problem for me was that my $HOME variable was not set up. It was /root. I changed it to my /home/myname in a classical way, redid the make process and it went fine. I use Linux Mint 12 (Ubuntu) cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam 1.7.1 in Ubuntu 10.04 won't start working | Leech | OpenFOAM Installation | 8 | August 10, 2014 21:42 |
Installing OpenFOAM 1.7.1 on AIX 5.3 | hrn | OpenFOAM Installation | 3 | October 30, 2010 08:33 |
Compatibility OpenFOAM 1.6 and 1.7.1 | Ale_galleria | OpenFOAM | 2 | September 20, 2010 10:14 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Installation of OpenFOAM on Fedora 11 | jits_aps90 | OpenFOAM Installation | 0 | August 20, 2009 03:23 |