|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 15 ![]() |
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 ------------------------------------------------------------------------------- |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 15 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 15 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 15 ![]() |
Just comment this line:
# export WM_32=1 in the $HOME/.bashrc file. Mathieu |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 15 ![]() |
I don't have that line in the $HOME/.bashrc file!?
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 18 ![]() |
I think he meant in $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 15 ![]() |
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 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |