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

Problem in running tutorial cases

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2006, 13:52
Default Hi all, I downloaded all the
  #1
preetham
Guest
 
Posts: n/a
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
  Reply With Quote

Old   February 2, 2006, 04:38
Default do ldd `which blockMesh`
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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)
mattijs is offline   Reply With Quote

Old   June 13, 2009, 16:36
Default
  #3
pks
New Member
 
Join Date: Jun 2009
Posts: 1
Rep Power: 0
pks is on a distinguished road
Quote:
Originally Posted by mattijs View Post
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.
pks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Multiple cases over night Michael Bo Hansen FLUENT 9 May 7, 2009 03:10
VOF6DOF Tutorial Cases lukasfischer OpenFOAM Running, Solving & CFD 0 January 29, 2009 13:56
InterDyMFoam tutorial cases hsieh OpenFOAM Running, Solving & CFD 0 November 14, 2008 10:21
Compilation Error when running Tutorial 2.4 zhihuali Siemens 7 April 1, 2008 07:34
Tutorial is not running on star-CD version 3.2 Arnab Siemens 0 August 30, 2004 15:43


All times are GMT -4. The time now is 21:04.