CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Which is the fatal error when foamInstallationTest (http://www.cfd-online.com/Forums/openfoam-installation/57415-fatal-error-when-foaminstallationtest.html)

eddy March 29, 2008 12:46

hi bodies: I'm trying to in
 
hi bodies:

I'm trying to install openfoam-1.4.1 on Suse 10.2 platform. But a fatal error occurred when testing the installation.

Could anyone please tell me which is the fatal error? and critical error?
How to solve it.

Best regards
Eddy Xu












xu@015-4:~/OpenFOAM/OpenFOAM-1.4.1/bin> foamInstallationTest
Executing /home/xu/OpenFOAM/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: 015-4
OS: Linux version 2.6.18.2-34-default
User: xu
User_config: /home/xu/.bashrc
FATAL ERROR: /home/xu/.OpenFOAM-1.4.1/bashrc does not appear to be sourced from:
/home/xu/.bashrc

You need the following at the end of your /home/xu/.bashrc file:
. /home/xu/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc
or equivalent depending on the location of the OpenFOAM installation.

-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/xu/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/xu/OpenFOAM/xu-1.4.1 yes no
$FOAM_JOB_DIR /home/xu/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


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

$FOAM_USER_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes no
$FOAM_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes yes
$WM_DIR /home/xu/OpenFOAM/OpenFOAM-1.4.1/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/xu/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH .../mico-2.3.12/platforms/linuxGccDPOpt yes yes yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN .../OpenFOAM/xu-1.4.1/lib/linuxGccDPOpt yes yes no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc ...figure
WARNING: Conflicting installations:
foam settings: /home/xu/OpenFOAM/linux/gcc-4.2.1-64/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.4.2_05 /home/xu/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam .../OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_015-4 Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

-------------------------------------------------------------------------------

The system test has evoked 1 fatal error(s).

The foam installation contains 1 critical error(s).

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

eddy March 29, 2008 12:52

maybe I know how to solve the
 
maybe I know how to solve the fatal error. But the critical error:

gcc ...figure
WARNING: Conflicting installations:
foam settings: /home/xu/OpenFOAM/linux/gcc-4.2.1-64/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

===============================
java 1.4.2_05 /home/xu/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam .../OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoFoam
===============================

what should i do?

guanghaowu March 30, 2008 21:13

If you try to install 64-bit v
 
If you try to install 64-bit version, please change /home/xu/OpenFOAM/linux to /home/xu/OpenFOAM/linux64.


All times are GMT -4. The time now is 22:51.