|
[Sponsors] |
August 26, 2012, 18:57 |
|
#21 |
New Member
Manfredi
Join Date: Aug 2012
Posts: 5
Rep Power: 13 |
@Mostafa Mahmoudi
As you suggested the problem was in the environment variables setting. I put the line Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc By correcting and sourcing file .bashrc i solved my problem. Thank you very much for your kind help. @Bruno Santos Thank you for suggestion, but i'd like to get used with Linux |
|
August 27, 2012, 06:26 |
|
#22 |
Senior Member
|
hey Manfredi,
your welcome, I'm happy that your problem fixed. Mostafa Mahmoudi |
|
November 26, 2012, 12:17 |
trouble locating $WM_PROJECT_DIR
|
#23 |
New Member
|
I'm having the same trouble as Meltedbrain - When I run this in terminal:
source $HOME/.bashrc $WM_PROJECT_DIR is not created - echoing $WM_PROJECT_DIR returns a blank. Am I missing something here? I don't think bashrc is creating the necessary file... |
|
November 26, 2012, 12:46 |
|
#24 | |
Senior Member
|
Quote:
see the http://www.cfd-online.com/Forums/blo...vironment.html link. and after it see the below link: http://www.cfd-online.com/Forums/ope...e-help-me.html and then see the previous posts of this thread. |
||
November 26, 2012, 18:01 |
|
#25 | |
New Member
|
Quote:
Following the advice in 'advanced tips' didn't seem to help, since I don't have a working OF environment. using echo, ls, cd on $WM_PROJECT_DIR returns nothing.. Perhaps I'm not compiling the bashrc file correctly? Confused, S |
||
November 26, 2012, 18:41 |
|
#26 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22 |
Does the line you added in the bashrc-file effectively refer to the OF installation dir?
e.g. source /opt/openfoam211/etc/bashrc will work only if openfoam is installed in /opt/openfoam211/ |
|
|
|