CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem in running tutorial cases (http://www.cfd-online.com/Forums/openfoam-installation/57687-problem-running-tutorial-cases.html)

preetham February 1, 2006 14:52

Hi all, I downloaded all the
 
Hi all,
I downloaded all the requisite files and installed them as per the instructions in the README file. The FoamInstallationTest was succesful. However, when i tried running the tutorial cases by typing in FoamX, i get the following error

/home/preetham/OpenFOAM/OpenFOAM-1.2/bin/runFoamXHB: line 122: nsd: command not found

Moreover, when i type in the command blockMesh . cavity, I get the following error:

blockMesh: error while loading shared libraries: libmeshTools.so: cannot open shared object file: No such file or directory

the results of running the foamInstallation check is shown below:

Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: svasti
OS: Linux version 2.6.11-1.1369_FC4smp
User: preetham
User_config: /home/preetham/.bashrc
Foam_config: /home/preetham/.OpenFOAM-1.2/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/preetham/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/preetham/OpenFOAM/preetham-1.2 yes no
$FOAM_JOB_DIR /home/preetham/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/preetham/OpenFOAM/OpenFOAM-1.2 yes yes yes

$FOAM_USER_APPBIN ...am-1.2/applications/bin/linuxGcc4Opt yes yes no
$FOAM_APPBIN ...AM-1.2/applications/bin/linuxGcc4Opt yes yes yes
$WM_DIR ...preetham/OpenFOAM/OpenFOAM-1.2/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH ...reetham/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...c/mico-2.3.11/platforms/linuxGcc4Opt no yes
$LAM_ARCH_PATH ...src/lam-7.1.1/platforms/linuxGcc4Opt yes yes yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...enFOAM/OpenFOAM-1.2/lib/linuxGcc4Opt yes yes yes
$FOAM_USER_LIBBIN ...enFOAM/preetham-1.2/lib/linuxGcc4Opt yes yes no
$LAM_ARCH_PATH ...src/lam-7.1.1/platforms/linuxGcc4Opt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.0.0 /usr/bin/gcc
java 1.4.2_05 /home/preetham/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.5 /usr/bin/gzip
tar 1.3.5 /bin/tar
icoFoam ...OAM/OpenFOAM-1.2/applications/bin/linuxGcc4Opt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_svasti 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 Foam enviroment.

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

Base configuration ok.

Critical systems ok.



Any help would be greatly appreciated !!!!



Regards
preetham

mattijs February 2, 2006 05:38

do ldd `which blockMesh`
 
do

ldd `which blockMesh`

to see which libraries are missing. Check the $FOAM_LIBBIN directory and see what is in there. (libmeshTools.so should be there).

Maybe you haven't unpacked the binary pack (OpenFOAM-1.2.linuxGcc4Opt_XXX.tgz) or it didn't complete? (since you do seem to have the icoFoam executable)

pks June 13, 2009 16:36

Quote:

Originally Posted by mattijs (Post 206460)
do

ldd `which blockMesh`

to see which libraries are missing. Check the $FOAM_LIBBIN directory and see what is in there. (libmeshTools.so should be there).

Maybe you haven't unpacked the binary pack (OpenFOAM-1.2.linuxGcc4Opt_XXX.tgz) or it didn't complete? (since you do seem to have the icoFoam executable)

Hello,
I'm also getting the same error. I checked the availability of libmeshTools.so at $FOAM_LIBBIN, its there. I did a chmod 666, but in vain. May be I need to chek the paths. Please advice.
Thanks in advance.


All times are GMT -4. The time now is 09:25.