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

Suse Linux 91 port

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2006, 02:10
Default Guoxiang - Is there a libOp
  #21
brooksmoses
Guest
 
Posts: n/a
Guoxiang -

Is there a libOpenFOAM.so file in /home/liu/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt?

If that doesn't exist, then your real error is earlier, when Allwmake attempts to compile libOpenFOAM. What messages do you get if you go into the OpenFOAM-1.3/src directory and type "wclean OpenFOAM" followed by "wmake libso OpenFOAM"?
  Reply With Quote

Old   April 16, 2006, 00:49
Default Hi, Brooks Moses Thank you
  #22
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
Hi, Brooks Moses

Thank you for your help.

Just now, I found as you said. But really did not find the libOpenFOAM.so file in that path.
The follows are the message after running as you pointed out.
Could you give me more help?

Thanks again.

Messages:
[liu@liu OpenFOAM-1.3]$ cd src
[liu@liu src]$ wclean OPenFOAM
/home/liu/OpenFOAM/OpenFOAM-1.3/wmake/wclean: directory OPenFOAM does not exist
[liu@liu src]$ wclean libso OpenFOAM
[liu@liu src]$
liugx212 is offline   Reply With Quote

Old   April 16, 2006, 01:13
Default The second command should be "
  #23
brooksmoses
Guest
 
Posts: n/a
The second command should be "wmake libso OpenFOAM" -- "wmake" rather than "wclean". Running that should produce quite a lot more messages; just give us the first one or two that include an error.

(Also, the first command produced an error because you accidentally capitalized the "P" in "OpenFOAM". Linux is case sensitive, so such things do matter.)
  Reply With Quote

Old   April 16, 2006, 11:13
Default Hi Brooks Moses, Thanks a l
  #24
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
Hi Brooks Moses,

Thanks a lot.
I copied the libOpenFOAM.so file to /home/liu/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt and then run Allwmake. Now, It looks working without any error message. But another problem still trouble me. I want to use paraFoam to view results after computing. The error is here when I run paraFoam. Could you please help me again? Thank you advance.

The error is:
[liu@liu buoyantFoam]$ paraFoam . hotRoom
/home/liu/OpenFOAM/OpenFOAM-1.3/bin/paraFoam: line 57: paraview: command not found

The file of paraFoam is:
if [ $# != 2 ]; then
echo $0: 'Wrong number of arguments'
echo 'Usage: paraFoam <root> <case>'
exit 1
fi

ROOT=$1
if [ "$ROOT" = "." -o "$ROOT" = "./" ] ; then
ROOT=`pwd`
fi

CASE=$2
CASE_DIR=$ROOT/$CASE

if [ ! -d $CASE_DIR ]; then
echo $0: case directory $CASE_DIR does not exist, exiting
exit 0
fi

cd $CASE_DIR
sed -e s%ROOT%$ROOT%g -e s%CASE%$CASE%g $WM_PROJECT_DIR/bin/paraFoam.pvs \
> paraFoam.pvs
touch ${CASE}.foam

paraview paraFoam.pvs //THIS IS LINE 57

rm paraFoam.pvs ${CASE}.foam
liugx212 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
star3.24 and SUSE Linux 10.0 Timothy Siemens 3 October 17, 2006 12:39
CFX 10 Pre/Post and Linux SuSE 10.0 Bernhard Dobmeier CFX 2 July 11, 2006 14:09
CFX and SUSE linux Paul CFX 5 December 23, 2004 21:53
Fluent 5.x with SuSE Linux 7.1 (7.0)? Elmar Riesmeier FLUENT 3 April 8, 2001 13:34
Linux/Alpha port ? Prateep Chatterjee FLUENT 1 June 5, 2000 21:28


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