|
[Sponsors] |
Problem with sourcing environmental variables |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2009, 20:13 |
Problem with sourcing environmental variables
|
#1 |
New Member
Nicholas
Join Date: May 2009
Location: Seattle, USA
Posts: 18
Rep Power: 17 |
Hi all,
Someone please come to my rescue. I'm trying to install OpenFOAM, but for some reason, the environmental variables are not recognized. I'm using SUSE 11.1 I downloaded the latest version of OpenFOAM from git. And I added the following lines to my .bashrc file: Code:
#source for environmental variables of openFOAM $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc Code:
nicholas@linux-jgui:~> source .bashrc nicholas@linux-jgui:~> echo $HOME /home/nicholas nicholas@linux-jgui:~> echo $FOAM_INST_DIR nicholas@linux-jgui:~> |
|
May 24, 2009, 04:22 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Nicholas,
There is a dot missing in your sourcíng line in bashrc. Now it is Code:
$HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc Code:
. $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc Regards, Gijsbert |
|
May 25, 2009, 13:15 |
Thanks
|
#3 |
New Member
Nicholas
Join Date: May 2009
Location: Seattle, USA
Posts: 18
Rep Power: 17 |
Thanks for that. It's always the little things that are hard to find.
|
|
Tags |
bashrc, environmental variables, installataion |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
ADDITIONAL VARIABLES LIMITERS | N.P | CFX | 5 | December 1, 2011 08:47 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Problem in Tutorial problem of fluent | Phanindra | FLUENT | 5 | April 17, 2007 10:57 |
problem with using colocated code | Jack | Main CFD Forum | 0 | December 15, 2002 01:15 |