CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   1 fetal error in OpenFOAM12 installation (http://www.cfd-online.com/Forums/openfoam-installation/57682-1-fetal-error-openfoam12-installation.html)

andycong February 25, 2006 21:36

I have installed OpenFOAM1.2 i
 
I have installed OpenFOAM1.2 in a P4 2.6,512M computer which is running a SUSE 9.3 operating system.

I did not unzip the OpenFOAM-1.2.linuxGcc4Opt file before installation, I only unzip the OpenFOAM-1.2.General file, and I built it by what the README file says.

When I test the installation by command "foamInstallationTest", I get the following report,in which there is 1 fatal error(s).

Please give me some advice,thank you!

-----------------------------------------------
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux
OS: Linux version 2.6.11.4-20a-default
User: andycong
User_config: /home/andycong/.bashrc
FATAL ERROR: /home/andycong/.OpenFOAM-1.1/bashrc does not appear to be sourced from:
/home/andycong/.bashrc

You need the following at the end of your /home/andycong/.bashrc file:
. /home/andycong/OpenFOAM/OpenFOAM-1.1/.OpenFOAM-1.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/andycong/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/andycong/OpenFOAM/andycong-1.2 yes no
$FOAM_JOB_DIR /home/andycong/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/andycong/OpenFOAM/OpenFOAM-1.2 yes yes yes

$FOAM_USER_APPBIN ...ng-1.2/applications/bin/linuxGcc4Opt yes yes no
$FOAM_APPBIN ...AM-1.2/applications/bin/linuxGcc4Opt yes yes yes
$WM_DIR ...andycong/OpenFOAM/OpenFOAM-1.2/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH ...ndycong/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...c/mico-2.3.11/platforms/linuxGcc4Opt yes no yes
$LAM_ARCH_PATH ...src/lam-7.1.1/platforms/linuxGcc4Opt yes yes 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 ...enFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt yes yes yes
$FOAM_USER_LIBBIN ...enFOAM/andycong-1.2/lib/linuxGcc4Opt yes yes no
$LAM_ARCH_PATH ...src/lam-7.1.1/platforms/linuxGcc4Opt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.0.1 /home/andycong/OpenFOAM/linux/gcc-4.0.1/bin/gcc
java 1.4.2_05 /home/andycong/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...OAM/OpenFOAM-1.2/applications/bin/linuxGcc4Opt/icoFoam
-------------------------------------------------------------------------------


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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_linux 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).

Critical systems ok.

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

brooksmoses February 25, 2006 21:46

That's a bug in the foamInstal
 
That's a bug in the foamInstallationTest program; the "OpenFOAM-1.1" in that part of the test script should have been updated to "OpenFOAM-1.2", and it wasn't.

In any case, everything else looks fine, so I'd say that this looks like a successful installation.

brooksmoses February 25, 2006 21:50

See also this thread in the "O
 
See also this thread in the "OpenFOAM bugs" section of the forum, where this is discussed. Apparently the entire foamInstallationTest script is the OpenFOAM-1.1 version:
http://www.cfd-online.com/cgi-bin/Op...how.cgi?1/1868

andycong February 26, 2006 04:09

Thank you for your kindly help
 
Thank you for your kindly help.
One more question:
I didn't unzip the OpenFOAM-1.2.linuxGcc4Opt file, so was there any influence about it?


All times are GMT -4. The time now is 21:50.