CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

please help me!

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   August 26, 2012, 18:57
Default
  #21
New Member
 
Manfredi
Join Date: Aug 2012
Posts: 5
Rep Power: 5
Meltedbrain is on a distinguished road
@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
in a file named bashrc instead of in file .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
Meltedbrain is offline   Reply With Quote

Old   August 27, 2012, 06:26
Default
  #22
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
hey Manfredi,
your welcome, I'm happy that your problem fixed.

Mostafa Mahmoudi
adambarfi is offline   Reply With Quote

Old   November 26, 2012, 13:17
Default trouble locating $WM_PROJECT_DIR
  #23
New Member
 
skyler saucedo
Join Date: Nov 2012
Location: Miami
Posts: 2
Rep Power: 0
skylersaucedo is on a distinguished road
Send a message via Skype™ to skylersaucedo
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...
skylersaucedo is offline   Reply With Quote

Old   November 26, 2012, 13:46
Default
  #24
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 314
Rep Power: 6
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by skylersaucedo View Post
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...
dear skylersaucedo
see the http://www.cfd-online.com/Forums/blo...vironment.html link.

and after it see the below link:
Problem in Running OF!!!! please Help me

and then see the previous posts of this thread.
adambarfi is offline   Reply With Quote

Old   November 26, 2012, 19:01
Default
  #25
New Member
 
skyler saucedo
Join Date: Nov 2012
Location: Miami
Posts: 2
Rep Power: 0
skylersaucedo is on a distinguished road
Send a message via Skype™ to skylersaucedo
Quote:
Originally Posted by adambarfi View Post
dear skylersaucedo
see the http://www.cfd-online.com/Forums/blo...vironment.html link.

and after it see the below link:
Problem in Running OF!!!! please Help me

and then see the previous posts of this thread.
Hi Adam,

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
skylersaucedo is offline   Reply With Quote

Old   November 26, 2012, 19:41
Default
  #26
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Mol, Belgium
Posts: 295
Rep Power: 13
Lieven will become famous soon enough
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/
Lieven is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:11.