CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   How to set compiler paths (http://www.cfd-online.com/Forums/openfoam-installation/57412-how-set-compiler-paths.html)

r08n April 1, 2008 10:11

Hi, foamInstallationTest se
 
Hi,

foamInstallationTest sez the following:

Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.2
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2
libgcj)
WARNING: Conflicting installations:
foam settings: /usr/share/java//bin/java
current path : /usr/bin/java

gzip 1.3.5 /bin/gzip
tar 1.3.5 /bin/tar
icoFoam .../OpenFOAM-1.4.1/applications/bin/linuxg++DPOpt/icoFoam
-------------------------------------------------------------------------------

Now, I'm lost among those countless environmental variables abounding in OpenFOAM's .bashrc. Which of these variables define the path to system-wide compilers? I.e., how to set the path to "/usr/bin"? Is it sufficient to look at the ~/OpenFOAM/OpenFOAM-1.4.1/.bashrc script, or does it call some other scripts afterwards?

OS=Debian 4.0


All times are GMT -4. The time now is 19:11.