CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Openfoam installation error RHEL

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By hcs129

Reply
 
LinkBack Thread Tools Display Modes
Old   March 6, 2014, 09:54
Default Openfoam installation error RHEL
  #1
New Member
 
Chenshu HU
Join Date: Jan 2014
Posts: 12
Rep Power: 4
hcs129 is on a distinguished road
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 is offline   Reply With Quote

Old   March 6, 2014, 10:15
Default
  #2
New Member
 
Chenshu HU
Join Date: Jan 2014
Posts: 12
Rep Power: 4
hcs129 is on a distinguished road
PS:The log can be download by clicking the button "下载3.1M“from the right
hcs129 is offline   Reply With Quote

Old   March 6, 2014, 17:24
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2014, 22:44
Default
  #4
New Member
 
Chenshu HU
Join Date: Jan 2014
Posts: 12
Rep Power: 4
hcs129 is on a distinguished road
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
wyldckat likes this.
hcs129 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 40 May 31, 2016 05:11
[Discussion] Restructuring the Installation page at openfoamwiki.net wyldckat OpenFOAM Installation 16 November 2, 2013 12:43
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 superfxfund OpenFOAM Installation 3 November 11, 2010 03:15
Some Query on Installation of OpenFoam lzgwhy OpenFOAM Installation 1 July 15, 2009 03:20


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