|
[Sponsors] |
foamInstallationTest Environment not configured |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2009, 11:51 |
foamInstallationTest Environment not configured
|
#1 |
New Member
Mahziron
Join Date: Sep 2009
Posts: 5
Rep Power: 17 |
Hi all
I am trying to install OpenFOAM on my Opensuse 10.3 32 bit. The problem is that when i run the foamInstallationtest, it always says environment variable not configured. I dont know why. I did everything according to the installation procedure. 1) Extract everything in the $Home/OpenFOAM/OpenFOAM-1.5/ directory 2) Edit the bashrc file by adding . $Home/OpenFOAM/OpenFOAM-1.5/etc/bashrc at the end of the file using Kate 3) source the bashrc by typing . $HOME/.bashrc in the terminal (close and open the terminal) 4) Run the foamInstallationTest This i got fatal error because environment variable not configured. I read all the posts but still cannot figure out why the variable wont configure. I tested on 3 different pcs running suse10.3 and 11 and still no go. I put the dot and space before the $HOME/OpenFOAM... I also tried different version of Openfoam (1.6 and 1.4) still get the same result. Help Pleaseeeeeeeeeeeeeeee mahziron |
|
September 25, 2009, 20:37 |
|
#2 |
Member
Scott
Join Date: Sep 2009
Posts: 30
Rep Power: 17 |
I just resolved this issue.
In the terminal execute: nano ~/.bashrc this depends on the editor you use, mine is nano. then in the editor enter: export FOAM_INST_DIR=path/to/OpenFOAM foamDotFile=$FOAM_INST_DIR/OpenFOAM-1.6/etc/bashrc [ -f $foamDotFile ] && . $foamDotFile Make sure you replace "/path/to" with the correct path to your OpenFOAM directory. Save and close the file then execute: source ~/.bashrc that got my installation working. |
|
September 26, 2009, 13:55 |
|
#3 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Scott, that is pretty much equivalent to what he is already doing. However, Mahziron, are you using OpenFOAM 1.5 or 1.6? I'm assuming you are entering a wrong path to the OpenFOAM bashrc. A problem might be that you have to extract the archives in $HOME/OpenFOAM/ and NOT $HOME/OpenFOAM/OpenFOAM.1.X/.
You could use the OpenFOAM cookbook script (http://www.cfd-online.com/Forums/ope...-cookbook.html) if you are ok with it redownloading the code. |
|
September 29, 2009, 13:53 |
|
#4 |
New Member
Mahziron
Join Date: Sep 2009
Posts: 5
Rep Power: 17 |
thanks scott & akidess
I am using 1.6 version. Anyway, i changed to Ubuntu and managed to install it using the cookbook script link provided by akidess. It took a few hours of compiling though 5 to be exact using my old notebook. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Gentoo Environment Variables | scottneh | OpenFOAM Installation | 1 | September 20, 2009 13:21 |
OpenFOAM environment not configured | tweety | OpenFOAM Installation | 1 | December 24, 2008 21:47 |
mouse operation in the postprocessing environment. | xrzoid | FLUENT | 0 | June 5, 2007 22:51 |
cfd simulation between soild & porous environment | Latifimran Jalil | Main CFD Forum | 0 | September 12, 2002 19:42 |