|
[Sponsors] |
June 24, 2013, 01:14 |
OpenFOAM refuses to start
|
#1 |
New Member
Madhukara Putty
Join Date: Jun 2012
Location: Bangalore
Posts: 8
Rep Power: 14 |
Hi,
A couple of days ago, I installed OpenFOAM by following the instructions given here. I didn't have any issues in getting started. However, when I try it today, I have the following issues: 1. Code:
mkdir -p $FOAM_RUN Code:
mkdir: missing operand Code:
command not found The last line in .bashrc file is (as suggested in the aforementioned link): Code:
source $HOME/.bashrc I appreciate any help in getting me started with OF. Thanks in advance! Madhukar |
|
June 24, 2013, 03:53 |
|
#2 | |
Member
Join Date: Nov 2012
Posts: 58
Rep Power: 14 |
Quote:
|
||
June 24, 2013, 03:58 |
|
#3 | |
Member
Daniel Pielmeier
Join Date: Apr 2012
Posts: 99
Rep Power: 14 |
Quote:
Code:
source /opt/openfoam220/etc/bashrc |
||
June 24, 2013, 06:36 |
|
#4 |
New Member
Madhukara Putty
Join Date: Jun 2012
Location: Bangalore
Posts: 8
Rep Power: 14 |
I like to run icoFoam in the same terminal window. So I followed the instructions in Note 2 (in the same link).
However, I tried your path too, but in vain. Last edited by kotimari; June 24, 2013 at 06:37. Reason: added link info. |
|
June 24, 2013, 06:48 |
|
#5 | ||
Member
Join Date: Nov 2012
Posts: 58
Rep Power: 14 |
It is a bit confusing at first, you are right.
The following line Quote:
The following line Quote:
All you need to do is to write the first command in the file and to restart your terminal session. Just forget about the second command! Last edited by startingWithCFD; June 24, 2013 at 06:50. Reason: Some formating was removed for unknown reason. |
|||
June 24, 2013, 06:53 |
|
#6 | |
Member
Daniel Pielmeier
Join Date: Apr 2012
Posts: 99
Rep Power: 14 |
Quote:
Add: Code:
source /opt/openfoam220/etc/bashrc $HOME/.bashrc translates to /home/<yourusernamehere>/.bashrc then if you want to execute icoFoam in the same terminal window execute: Code:
source $HOME/.bashrc If you are new to Linux it is probably a good idea to acquire some basic Linux knowledge first. |
||
June 25, 2013, 08:08 |
|
#7 |
New Member
Madhukara Putty
Join Date: Jun 2012
Location: Bangalore
Posts: 8
Rep Power: 14 |
Thanks for the replies. I get your point. Will try your suggestions once I get access to my laptop during this weekend.
I am not new to Linux per se, but editing bashrc file is a new thing indeed! Madhukar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paraview refuses to start after installation of OpenFoam | flotus1 | OpenFOAM Installation | 12 | March 6, 2014 15:42 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 7 | January 19, 2010 16:39 |
OpenFOAM Training in Europe and USA | hjasak | OpenFOAM | 0 | August 8, 2008 06:33 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |