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

Installation/Tutorial - libraries not found (blockMesh)

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 8, 2009, 10:12
Default Installation/Tutorial - libraries not found (blockMesh)
  #1
Member
 
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17
bernarde is on a distinguished road
Hi

I'm having some toruble with the installation of OpenFOAM 1.5.

Running the installation test, I get a good result, and it looks like everything is fine:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: bernard
OS: Linux version 2.6.22.5-31-default
-------------------------------------------------------------------------------

Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/bernard/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/bernard/OpenFOAM/bernard-1.5 yes no
$WM_THIRD_PARTY_DIR /home/bernard/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/bernard/OpenFOAM/OpenFOAM-1.5 yes yes yes
$FOAM_APPBIN ...1.5/applications/bin/linux64GccDPOpt yes yes yes
$FOAM_USER_APPBIN ...1.5/applications/bin/linux64GccDPOpt no no
$WM_DIR .../bernard/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 ...OAM/OpenFOAM-1.5/lib/linux64GccDPOpt yes no yes
$FOAM_USER_LIBBIN ...FOAM/bernard-1.5/lib/linux64GccDPOpt yes no no
$MPI_ARCH_PATH ...nmpi-1.2.6/platforms/linux64GccDPOpt yes no yes
-------------------------------------------------------------------------------

Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.3.1 ...penFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.17 /bin/tar
icoFoam .../OpenFOAM-1.5/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------

Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_bernard Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Unsuccessful_connection_refused* yes
FATAL ERROR: No remote shell available.
OpenFOAM 1.5 enviroment requires either ssh and/or rsh.
Contact your system administrator.

-------------------------------------------------------------------------------
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.
done.

However, when I try to run the frist tutortial, icoFoam/cavity, I get the following error:

bernard:/home/bernard/OpenFOAM/bernard-1.5/run/tutorials/icoFoam/cavity # blockMesh
blockMesh: error while loading shared libraries: libmeshTools.so: cannot open shared object file: No such file or directory
bernard:/home/bernard/OpenFOAM/bernard-1.5/run/tutorials/icoFoam/cavity # blockMesh .cavity
blockMesh: error while loading shared libraries: libmeshTools.so: cannot open shared object file: No such file or directory

Checking which libraries are used, I see:

bernard:/home/bernard/OpenFOAM/bernard-1.5/run/tutorials/icoFoam/cavity # ldd `which blockMesh`
libmeshTools.so => not found
libdynamicMesh.so => not found
libOpenFOAM.so => not found
libdl.so.2 => /lib64/libdl.so.2 (0x00002ba13b743000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ba13b947000)
libm.so.6 => /lib64/libm.so.6 (0x00002ba13bc4f000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ba13bea3000)
libc.so.6 => /lib64/libc.so.6 (0x00002ba13c0b1000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ba13c3f7000)
/lib64/ld-linux-x86-64.so.2 (0x00002ba13b526000)

Thus the first three libraries are not found. Is there a way to set a path for these?

Any help much appreciated!
bernarde is offline   Reply With Quote

 


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
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 15:35.