CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Openfoam installation error RHEL (https://www.cfd-online.com/Forums/openfoam-installation/130955-openfoam-installation-error-rhel.html)

hcs129 March 6, 2014 08:54

Openfoam installation error RHEL
 
Hello!
Quote:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: node01
OS: Linux version 2.6.32-358.el6.x86_64
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/hucsh/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/hucsh/OpenFOAM/hucsh-2.3.0 yes no
$WM_THIRD_PARTY_DIR /home/hucsh/OpenFOAM/ThirdParty-2.3.0 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/hucsh/OpenFOAM/OpenFOAM-2.3.0 yes yes yes

$FOAM_APPBIN ...-2.3.0/platforms/linux64GccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN .../2.3.0/platforms/linux64GccDPOpt/bin no no
$FOAM_USER_APPBIN ...-2.3.0/platforms/linux64GccDPOpt/bin no no
$WM_DIR .../hucsh/OpenFOAM/OpenFOAM-2.3.0/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 ...-2.3.0/platforms/linux64GccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN .../2.3.0/platforms/linux64GccDPOpt/lib no no
$FOAM_USER_LIBBIN ...-2.3.0/platforms/linux64GccDPOpt/lib no no
$MPI_ARCH_PATH ...0/platforms/linux64Gcc/openmpi-1.6.5 yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.35 /usr/bin/flex
/home/hucsh/OpenFOAM/OpenFOAM-2.3.0/bin/foamInstallationTest: line 267: [: -lt: unary operator expected
/home/hucsh/OpenFOAM/OpenFOAM-2.3.0/bin/foamInstallationTest: line 269: [: -gt: unary operator expected
/home/hucsh/OpenFOAM/OpenFOAM-2.3.0/bin/foamInstallationTest: line 274: [: -lt: unary operator expected
/home/hucsh/OpenFOAM/OpenFOAM-2.3.0/bin/foamInstallationTest: line 276: [: -gt: unary operator expected
/home/hucsh/OpenFOAM/OpenFOAM-2.3.0/bin/foamInstallationTest: line 281: [: !=: unary operator expected
gcc /home/hucsh/software/gcc/bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.23 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/hucsh/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam
current path :
CRITICAL ERROR

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


Summary
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for troubleshooting.

Done
The foamInstallationTest is as above.The following is a log file.
http://pan.baidu.com/s/1jGyWFRo
However,I can't find the exact error in log file.I wish someone could help.

hcs129 March 6, 2014 09:15

PS:The log can be download by clicking the button "下载3.1M“from the right

wyldckat March 6, 2014 16:24

Greetings Chenshu HU and welcome to the forum!

It looks like you simply ran:
Code:

./Allwmake > log.txt
This means that any and all error messages were not stored in the file "log.txt". Please run the command like this:
Code:

./Allwmake > log.txt 2>&1
so that the error messages are also stored in the log file.

In addition, please indicate which installation steps you are following.

Best regards,
Bruno

hcs129 March 6, 2014 21:44

Hi Bruno
Thanks for your rapid reply.After I re-allmake the pack, everything goes allright.Maybe it is because I didn't finish the process properly.

Best regards
Chenshu Hu


All times are GMT -4. The time now is 20:45.