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

installed , stuck at bash file stage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2011, 05:13
Default installed , stuck at bash file stage
  #1
New Member
 
Tamilselvan K
Join Date: Aug 2011
Posts: 1
Rep Power: 0
selvan is on a distinguished road
I am trying to install openfoam.

I have downloaded files from openfoam from http://www.openfoam.com/ (source files page).
The files are installed in home/openfoam/OpenFoam-2.0.1 directory.

As said in doucumentation page I typed in ~/.bashrc file
/home$ source home/openfoam/OpenFOAM-2.0.1/etc/bashrc
saved and closed.

On typying in the terminal,
icoFoam -help

gives the message



icoFoam: command not found

What could be wrong? Can somebody help? Thanks in advance
selvan is offline   Reply With Quote

Old   August 14, 2011, 17:42
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Tamilselvan and welcome to the forum!

Quote:
Originally Posted by selvan View Post
As said in doucumentation page I typed in ~/.bashrc file
/home$ source home/openfoam/OpenFOAM-2.0.1/etc/bashrc
saved and closed.
I think you didn't follow the instructions properly... Quoting what's on the official site:
Quote:
if running bash or ksh (if in doubt type echo $SHELL), source the etc/bashrc file by adding the following line to the end of your $HOME/.bashrc file:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.0.1/etc/bashrc
then type “source $HOME/.bashrc” in the current terminal window
You must do things exactly as it is described on the instructions! $HOME is not the same as $home !!

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 05:26
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 16:49
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 22:15.