|
[Sponsors] |
Installation/Tutorial - libraries not found (blockMesh) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 8, 2009, 11:12 |
Installation/Tutorial - libraries not found (blockMesh)
|
#1 |
Member
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17 |
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! |
|
June 8, 2009, 11:49 |
|
#2 |
Senior Member
Pawel Sosnowski
Join Date: Mar 2009
Location: Munich, Germany
Posts: 105
Rep Power: 18 |
Hello Bernard,
first- I suppose you had root privilages while instalation: Code:
sudo make install Code:
. $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc thats all what comes to my mind right now, hope it helps Pawel |
|
June 8, 2009, 12:06 |
|
#3 |
Member
Bernard Esterhuyse
Join Date: Mar 2009
Location: Pretoria, South Africa
Posts: 50
Rep Power: 17 |
Thanks for the reply. Yes, those issues are sorted out. In the mean time I have figured out a part of the problem. The LD_LIBRARY_PATH did not contain all the required paths - I added the path to the libraries there, and it worked.
|
|
June 19, 2009, 13:36 |
|
#4 |
New Member
zakk
Join Date: Jun 2009
Posts: 10
Rep Power: 17 |
Hi,
could you send me OpenFOAM-1.5/etc/bashrc file and may be .basrch shell file. I couldnt be succesfull configuring the environment . I m getting the error: Executing foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- FATAL ERROR: OpenFOAM environment not configured. Please refer to the installation section of the README file: <OpenFOAM installation dir>/OpenFOAM-1.5/README to source the OpenFOAM environment. |
|
|
|
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 08:21 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |