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

Problem installing OpenFOAM 1.5 installation on RHEL 4.

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2009, 06:09
Default Problem installing OpenFOAM 1.5 installation on RHEL 4.
  #1
New Member
 
Join Date: Apr 2009
Posts: 3
Rep Power: 17
vwsj84 is on a distinguished road
Hi Guys,

First and foremost, I would like to state that I am a first time user of a LINUX O/S and thus have very limited knowledge on how does it work and how to use commands to operate on it. I have been a windows user for as long as I remember and therefore am used to only the windows GUI.

I have posted a task to install OpenFOAM 1.5 on a RHEL 4 system at work with no connection to the internet due to security issues ( defence related work ). I am taking over from a previous staff member who has left the organisation so I do not know what has been done thus far. From what I know all packages have been installed on the system as per openFOAM 1.5 installation instructions on a home/openfoam user directory. When running foamInstalltionTest, I get 1 critical error stating that I have a GCC compatibility issue. Details are as follows

OpenFOAM 1.5 installed in home/openfoam/OpenFOAM/ . All packages that are required as per www.opencfd.co.uk installation instructions have been installed. Running openFOAM installation test with foamInstallationTest command yields one critical error. Error details are as follows.

"""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""
Third party software
---------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version: 3.4.6
Minimum required: 4.2.0

gcc 3.4.6
WARNING: Conflicting installations:
OpenFOAM settings: /home/openfoam/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux-64/bin/gcc
current path : /usr/bin/gcc

CRITICAL ERROR
"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""

However I can't seem to find a suitable RPM to update RHEL 4 to gcc 4.3.1. When i try to complile gcc 4.3.1 on the system, i am faced with numerous dependancy issues.

Is there any quick and easy way to install openFOAM 1.5 or gcc 4.3.1 on RHEL 4 bearing in mind that I am a LINUX newbie? Thank you !

Regards,
Victor
vwsj84 is offline   Reply With Quote

Old   April 21, 2009, 03:18
Default
  #2
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Victor,

Have you tried the following in the terminal (as root)?
Code:
yum install gcc gcc-c++
It installs gcc with its dependencies. That works on Fedora, which is similar to RHEL, so it should work ...

Regards,

Gijsbert
gwierink is offline   Reply With Quote

Old   April 22, 2009, 23:14
Default
  #3
New Member
 
Join Date: Apr 2009
Posts: 3
Rep Power: 17
vwsj84 is on a distinguished road
Quote:
Originally Posted by gwierink View Post
Hi Victor,

Have you tried the following in the terminal (as root)?
Code:
yum install gcc gcc-c++
It installs gcc with its dependencies. That works on Fedora, which is similar to RHEL, so it should work ...

Regards,

Gijsbert
Hi Gijsbert,

Does this require an internet connection? because the pc which i am installing in does not have an internet connection because of security issues. Thanks

Regards,
Victor
vwsj84 is offline   Reply With Quote

Old   April 23, 2009, 02:01
Default
  #4
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18
gwierink is on a distinguished road
Hi Victor,

Ai, yes yum does need an internet connection. The nice thing about yum is that it will find the dependencies by itselfe, so you don't need to hunt for those. Without internet connection you need to go to GCC's website and download the appropriate version.

Regards,

Gijsbert
gwierink is offline   Reply With Quote

Old   April 23, 2009, 05:48
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by gwierink View Post
Hi Victor,

Have you tried the following in the terminal (as root)?
Code:
yum install gcc gcc-c++
It installs gcc with its dependencies. That works on Fedora, which is similar to RHEL, so it should work ...
On RHEL that "only" installs gcc 3.4. I'd recommend
Code:
yum install gcc4 gcc4-c++
which at lest installs gcc 4.1. The actual call for that compiler is gcc4 or similar (gcc still calls the 3.4-compiler), you'll have to choose/edit an appropriate configuration (Although I'd personally recommend compiling your own gcc into ThirdParty)

Bernhard
gschaider 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
Trouble with installing OpenFOAM on Ubuntu Milos OpenFOAM Installation 16 November 16, 2009 03:44
Installing OpenFOAM 1.5 on OpenSUSE 11.1 StructureITA OpenFOAM Installation 31 April 30, 2009 20:45
Installation 1.5 as a user of server (New bird) chiven OpenFOAM Installation 15 April 26, 2009 23:33
New openfoam installation fivos OpenFOAM Installation 5 April 1, 2009 04:58
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 19:22


All times are GMT -4. The time now is 00:33.