CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFoam1.6 Installation in Ubuntu9.10 (https://www.cfd-online.com/Forums/openfoam-installation/71422-openfoam1-6-installation-ubuntu9-10-a.html)

mohanvelin January 1, 2010 09:47

OpenFoam1.6 Installation in Ubuntu9.10
 
I have run the foamInstallationTest, I have got 1 critical error regarding gcc version mismatch . I like to know how to overcome the critical error.
Code:

Executing /home/mohanavelu/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell:              bash
Host:              mohanavelu-laptop
OS:                Linux version 2.6.31-16-generic
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid      Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/mohanavelu/OpenFOAM                yes      yes
$WM_PROJECT_USER_DIR /home/mohanavelu/OpenFOAM/mohanavelu-1.6  no        no
$WM_THIRD_PARTY_DIR  /home/mohanavelu/OpenFOAM/ThirdParty-1.6  yes      yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR      /home/mohanavelu/OpenFOAM/OpenFOAM-1.6  yes  yes  yes

$FOAM_APPBIN        ...M-1.6/applications/bin/linuxGccDPOpt  yes  yes  yes
$FOAM_SITE_APPBIN    .../OpenFOAM/site/1.6/bin/linuxGccDPOpt  no        no
$FOAM_USER_APPBIN    ...u-1.6/applications/bin/linuxGccDPOpt  no        no
$WM_DIR              ...hanavelu/OpenFOAM/OpenFOAM-1.6/wmake  yes  yes  yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory                Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN        ...nFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt  yes  yes  yes
$FOAM_SITE_LIBBIN    .../OpenFOAM/site/1.6/lib/linuxGccDPOpt  no        no
$FOAM_USER_LIBBIN    ...OAM/mohanavelu-1.6/lib/linuxGccDPOpt  no        no
$MPI_ARCH_PATH      ...penmpi-1.3.3/platforms/linuxGccDPOpt  yes  yes  yes
-------------------------------------------------------------------------------


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

gcc      4.4.1   
WARNING:  Conflicting installations:
          OpenFOAM settings        : /bin/gcc
          current path            : /usr/bin/gcc
          CRITICAL ERROR

gzip    1.3.12    /bin/gzip                                               
tar      1.22      /bin/tar                                               
Aborted
icoFoam  1.6      ...AM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.


tamas.baksa.hu January 2, 2010 05:51

I am on openSuse 11.2 but have the same problem

I had an other problem described in an other thread here
so I set the compilerInstall=System (line 98 in file /.../OpenFOAM-1.6/etc/settings.sh) based on recommendation by grig
after that foamInstallationTest gives the error you have

so you could try to set compilerInstall=OpenFOAM and try whether foamInstallationTest and any application that uses gcc (kde, gnuplot) can run as well

mohanvelin January 2, 2010 10:58

OpenFOAM Installation
 
Sir, I have made changes as proposed by you in two file
/OpenFOAM-1.6/etc/setting.sh
as well as
/OpenFOAM-1.6/etc/setting.csh


All times are GMT -4. The time now is 12:36.