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

FOAM installation compiler issues

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2009, 08:27
Default Hello, I am totally new to
  #1
New Member
 
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 17
gareth__it_power is on a distinguished road
Hello,

I am totally new to both OpenFoam and Linux Ubuntu, which is the OS I'm using. I'm probably pretty computer-illiterate compared to most of you lot!

I've had endless problems so far, but the latest one is something to do with gcc compiler (I don't really know what that is).

The excerpt from the InstalltionTest is below. I'd be very grateful for any advice please!

Thank you

Gareth

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

gcc .../OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.19 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/itpower/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoFoam
current path :
CRITICAL ERROR

-------------------------------------------------------------------------------
gareth__it_power is offline   Reply With Quote

Old   February 9, 2009, 08:35
Default Hello Gareth, Is it possible
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hello Gareth,
Is it possible that you unpacked only the sources (OpenFOAM-1.5.General.gtgz)?
If so, you must unpack the binaries, too (OpenFOAM-1.5.linux64GccDPOpt.gtgz).
The order is or used to be important (first sources, second binaries).

I hope this is helpful,
Dragos
dmoroian is offline   Reply With Quote

Old   February 9, 2009, 09:01
Default Hi Gareth, It looks like yo
  #3
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Hi Gareth,

It looks like your installation is set to 32 bits. If it is what you really want, then you'll need to download the 32 bits binaries from this web page:

http://www.opencfd.co.uk/openfoam/linux.html

If your computer is 64 bits, then unset the $WM_32 variable in your .bashrc.

Mathieu
mathieu is offline   Reply With Quote

Old   February 9, 2009, 09:06
Default Dragos - yes, it's all unpacke
  #4
New Member
 
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 17
gareth__it_power is on a distinguished road
Dragos - yes, it's all unpacked. Thanks

Matthieu - thanks for that, it sounds promising. Is it in the $HOME/.bashrc? How do I 'unset' it?
gareth__it_power is offline   Reply With Quote

Old   February 9, 2009, 10:52
Default Just comment this line: # e
  #5
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Just comment this line:

# export WM_32=1

in the $HOME/.bashrc file.

Mathieu
mathieu is offline   Reply With Quote

Old   February 9, 2009, 10:57
Default I don't have that line in the
  #6
New Member
 
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 17
gareth__it_power is on a distinguished road
I don't have that line in the $HOME/.bashrc file!?
gareth__it_power is offline   Reply With Quote

Old   February 9, 2009, 11:38
Default I think he meant in $HOME/Open
  #7
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
I think he meant in $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
dmoroian is offline   Reply With Quote

Old   February 9, 2009, 14:12
Default Does this commands: echo $W
  #8
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Does this commands:

echo $WM_ARCH

returns " linux " or " linux64 " ?


Typing " wm64 " in a terminal should set your environment in 64 bits. Thus try the following in a terminal:

wm64
foamInstallationTest

Mathieu
mathieu 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
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 01:48
OpenFOAM installation on AIX 53 with gnu 40 compiler chauvin OpenFOAM Installation 3 June 15, 2006 13:12
two issues on cfd guang ai Main CFD Forum 1 March 16, 2006 07:24
FOAM installation error gcc amp g hanks OpenFOAM Installation 9 January 26, 2006 14:14
Installation of Open foam 12 ds2taieb OpenFOAM Installation 1 January 15, 2006 23:46


All times are GMT -4. The time now is 16:59.