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

OpenFOAM installation problem:

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2011, 06:32
Question OpenFOAM installation problem:
  #1
New Member
 
y
Join Date: Oct 2011
Posts: 2
Rep Power: 0
Padma Pavani is on a distinguished road
Hi,

I m trying to install OpenFOAM2.0.X in Centos5.5_X86,
I have followed these steps:

1) yum install gcc gcc-c++ bison ncurses-devel tix.x86_64 glibc-devel flex flex-devel zlib-devel libXt-devel

2) tar -xvf /opt/OpenFOAM/OpenFOAM-2.0.x.tar.gz

3)chmod -R 755 /opt/OpenFOAM

4) added this line in .bashrc file ( as non root user )
alias OF20=". /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc"

5). ~/.bashrc
(restarted the terminal)
6) if run this command OF20
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/etc/config/settings.sh: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/etc/config/aliases.sh: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamCleanPath: No such file or directory

7) which gcc-> /usr/bin/gcc

please help me in solving this issue.
Padma Pavani is offline   Reply With Quote

Old   October 20, 2011, 08:41
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
linnemann will become famous soon enough
Hi

Quote:
alias OF20=". /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc"
Quote:
bash: /opt/software/OpenFOAM/OpenFOAM-2.0.x/bin/foamEtcFile: No such file or directory
Look at the two paths. They are not the same.

you have to edit the OF /etc/bashrc file to point to the correct path.

Best
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   October 21, 2011, 01:52
Unhappy OF
  #3
New Member
 
y
Join Date: Oct 2011
Posts: 2
Rep Power: 0
Padma Pavani is on a distinguished road
HI,

Can you please tell me where i have to give the correct path in /etc/bashrc file,
im confused and im doing this for the first time,

I will be very greatful if you can help me on this,
Padma Pavani is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam 2.0.0 installation Jan_Peters OpenFOAM Installation 86 April 27, 2012 05:32
Openfoam installation problem jose soto OpenFOAM Installation 4 August 9, 2011 01:29
OpenFOAM 1.7.0 installation problem stevek OpenFOAM 14 December 1, 2010 15:30
Problem in installation of OpenFOAM sachin OpenFOAM Installation 7 January 22, 2008 01:40
Installation problem with GCC Norma McKee (Mckee) OpenFOAM Installation 10 March 4, 2007 07:09


All times are GMT -4. The time now is 02:26.