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

Upgrading to 1.5-dev

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 6, 2009, 14:49
Angry Upgrading to 1.5-dev
  #1
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
marupio is on a distinguished road
After much troubleshooting, everything went fine, except now buildParaView3.3-cvs gives me this:

*** Error: Unable to determine path to python library.
Please set the variable PYTHON_LIBRARY to the full
path to (and including) libpython, or deactivate
python support by setting INCLUDE_PYTHON=OFF

I ran this command before and this didn't happen. Does anyone know what is happening here? I've since installed python2.5-dev, python2.5-dbg and python2.5... I've installed the libvtk5, libvtk5-dev packages as well. I've tried setting PYTHON_LIBRARY to /usr/include/python2.5 (and exporting it, using bashrc), and I've tried setting INCLUDE_PTYHON=OFF, but I can't seem to do anything.

Suggestions would be appreciated.

-dave
marupio is offline   Reply With Quote

Old   July 6, 2009, 16:39
Smile Found it...
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
marupio is on a distinguished road
There was a bug in the 1.5-dev buildParaView3.3-cvs script, as well as in the bashrc script under OpenFOAM-1.5-dev/etc/apps/paraview3. See below:

buildParaView3.3-cvs: (lines 42-50)
VERBOSE=OFF
INCLUDE_MPI=OFF
MPI_MAX_PROCS=32
#INCLUDE_PYTHON=OFF
INCLUDE_PYTHON=ON
PYTHON_LIBRARY="/usr/lib64/libpython2.5.so.1.0"
PYTHON_LIBRARY=""
INCLUDE_MESA=OFF

Comment out the second last line. Not sure why it's there.

OpenFOAM-1.5-dev/etc/apps/paraview3/bashrc: (line 45)
export ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView-$ParaView_VERSION

Remove the `-`. i.e. change to:
export ParaView_INST_DIR=$WM_THIRD_PARTY_DIR/ParaView$ParaView_VERSION

I'll be repeating this under 'bugs'.
-dave
marupio is offline   Reply With Quote

Old   July 28, 2009, 09:08
Default
  #3
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 112
Rep Power: 8
be_inspired is on a distinguished road
Could you post the process to upgrading since 1.5 to 1.5dev, Please?
I have the caelinux 2009 version of OpenFoam (1.5), but I would need the 1.5 dev.

Thank you very much.
be_inspired is offline   Reply With Quote

Old   July 29, 2009, 10:28
Default
  #4
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
marupio is on a distinguished road
Quote:
Originally Posted by be_inspired View Post
Could you post the process to upgrading since 1.5 to 1.5dev, Please?
I have the caelinux 2009 version of OpenFoam (1.5), but I would need the 1.5 dev.

Thank you very much.
There are a number of posts out there where people describe in various detail the steps they took, but I didn't exactly follow any of them, as they weren't 100% relevant. But I used them to get ideas.

I found the source code posted at:

http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/

Here's one of the posts I referred to:

How to Install OpenFOAM on 64 Ubuntu 9.04

You need to make sure the environment variables are set correctly... I can't seem to find the page I used to guide me through that.

To debug the compiling problems, I editted the ./Allwmake files, and went through them line by line to trace down the problems.

Hopefully you won't have the problems I did!

-Dave
marupio is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FoamX obsolete in 1.5? bernarde OpenFOAM 2 July 8, 2009 02:06
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
Rotating walll bc in 1.5 bastil OpenFOAM Running, Solving & CFD 2 April 14, 2009 17:55
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 18:22
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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