|
[Sponsors] |
April 15, 2006, 03:10 |
Guoxiang -
Is there a libOp
|
#21 |
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"? |
|
April 16, 2006, 01:49 |
Hi, Brooks Moses
Thank you
|
#22 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
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]$ |
|
April 16, 2006, 02:13 |
The second command should be "
|
#23 |
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.) |
|
April 16, 2006, 12:13 |
Hi Brooks Moses,
Thanks a l
|
#24 |
Senior Member
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
star3.24 and SUSE Linux 10.0 | Timothy | Siemens | 3 | October 17, 2006 13:39 |
CFX 10 Pre/Post and Linux SuSE 10.0 | Bernhard Dobmeier | CFX | 2 | July 11, 2006 15:09 |
CFX and SUSE linux | Paul | CFX | 5 | December 23, 2004 22:53 |
Fluent 5.x with SuSE Linux 7.1 (7.0)? | Elmar Riesmeier | FLUENT | 3 | April 8, 2001 14:34 |
Linux/Alpha port ? | Prateep Chatterjee | FLUENT | 1 | June 5, 2000 22:28 |