OpenFoam 1.7.1 on Fedora 12 Help...
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/ |
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 |
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 :confused: Kind Regards, |
go to the terminal ..... and open the bashrc file .....
Code:
gedit .bashrc Code:
. /home/me/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc |
Note the space in :
Code:
. /home/me/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc |
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 |
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 |
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 |
All times are GMT -4. The time now is 00:09. |