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

OpenFOAM Install problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2009, 07:52
Default OpenFOAM Install problem
  #1
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17
masb is on a distinguished road
Hi Guys,

After I have installed OpenFOAM and run the foamInstallationTest I have got the following message:
Any help will be appreciated.

Regards,

Marco.

Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: marco-desktop
OS: Linux version 2.6.28-11-generic
-------------------------------------------------------------------------------


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

$FOAM_APPBIN ...M-1.5/applications/bin/linuxGccDPOpt yes yes yes
$FOAM_USER_APPBIN ...o-1.5/applications/bin/linuxGccDPOpt yes yes no
$WM_DIR /home/marco/OpenFOAM/OpenFOAM-1.5/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 ...nFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...OpenFOAM/marco-1.5/lib/linuxGccDPOpt yes yes no
$MPI_ARCH_PATH ...penmpi-1.2.6/platforms/linuxGccDPOpt yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version : ../src/configure
4.3.3
Minimum required: 4.2.0

gcc ...figure
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /bin/gzip
tar 1.20 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/marco/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoFoam
current path :
CRITICAL ERROR

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


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_marco-desktop 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 OpenFOAM enviroment.

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

Base configuration ok.

The foam installation contains 2 critical error(s).

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

done.
masb is offline   Reply With Quote

Old   May 19, 2009, 14:59
Default
  #2
New Member
 
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17
juliuslein is on a distinguished road
Hello Marco,

one of the errors is that you should use the gcc which comes with OpenFOAM. Do the following:

- Open the ~/OpenFOAM/OpenFOAM-1.5-dev/etc/settings.sh (or settings.csh)
- In the section Compiler settings select the following compiler Installation and comment the other options out. It should look like this:

# compilerInstall = OpenFOAM | System
compilerInstall = OpenFOAM
# compilerInstall = System

This should fix at least the error with the gcc and will allow you to compile.

Good luck, Julius
juliuslein is offline   Reply With Quote

Old   May 19, 2009, 20:13
Default
  #3
Member
 
Marco Bernardes
Join Date: May 2009
Posts: 59
Rep Power: 17
masb is on a distinguished road
Hello Julius,

thank you for your help. I have tried it without success.

Regards,

Marco.
masb is offline   Reply With Quote

Old   May 25, 2009, 12:32
Default OpenFOAM-1.5-dev compiling problem
  #4
New Member
 
parham momeni
Join Date: Mar 2009
Location: glasgow, uk
Posts: 25
Rep Power: 16
mcjicpm2 is an unknown quantity at this point
Hi,

I have downloaded the 1.5-dev version from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ , but I have difficulty compiling it.
Here is the exact process that I have done:

cd /home/ad/OpenFOAM

1-I did : tar -xzf OpenFOAM-1.5-dev.General_2009-04-11.tgz
2-I did : tar -xzf ThirdParty.General_2008-12-11.tgz
3-cd etc/
4-source bashrc
5-cd ~
6-vi .bashrc
7-I added . /home/ad/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc to the end of .bashrc in home directory, then I did source .bashrc (no error sofar)
9-when I start compileing it by typing ./Allwamke after almost one hour of compiling it returns me the following error (the src files are compiled with no errors, but neither of applications are compiled, they all come with Error 1 or Error 2):

make[3]: *** [/home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/makeFaMesh] Error 1
make[2]: *** [makeFaMesh] Error 2
Making dependency list for source file curvedEdges/curvedEdge.C
Making dependency list for source file curvedEdges/lineEdge.C
g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/decompositionAgglomeration/decompositionMethods/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/autoMesh/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/meshTools/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/triSurface/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/dynamicMesh/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/edgeMesh/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude -I/home/ad/OpenFOAM/OpenFOAM-1.5-dev/src/OSspecific/Unix/lnInclude -fPIC Make/linux64GccDPOpt/snappyHexMesh.o -L/home/ad/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt \
-L/home/ad/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/openmpi-1.2.6 -lparMetisDecompositionMethod -lfiniteVolume -ldecompositionMethods -ldynamicMesh -lmeshTools -lautoMesh -lOpenFOAM -liberty -ldl -lm -o /home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/snappyHexMesh
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[3]: *** [/home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/snappyHexMesh] Error 1
make[2]: *** [snappyHexMesh] Error 2



or



linux64GccDPOpt \
-lmeshTools -lfiniteVolume -ldynamicMesh -lOpenFOAM -liberty -ldl -lm -o /home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/blockMesh
/usr/bin/ld: cannot find -lmeshTools
collect2: ld returned 1 exit status
make[3]: *** [/home/ad/OpenFOAM/OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt/blockMesh] Error 1
make[2]: *** [blockMesh] Error 2
make[2]: Target `application' not remade because of errors.
make[1]: *** [generation] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [mesh] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'
[ad@fluent-srv4 OpenFOAM-1.5-dev]$


10-It did have no have no affect if I use the binary version of the Third party or the developed version I am getting with both the same error.

Can anyone help me? Am I doing something Wrong? (should I do it as root??)
mcjicpm2 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 02:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM Training in Europe and USA hjasak OpenFOAM 0 August 8, 2008 06:33
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50
OpenFOAM 14 problem with file readSTLASCIIL mbeaudoin OpenFOAM Bugs 2 April 13, 2007 22:09


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