|
[Sponsors] |
July 6, 2009, 15:49 |
Upgrading to 1.5-dev
|
#1 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
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 |
|
July 6, 2009, 17:39 |
Found it...
|
#2 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
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 |
|
July 28, 2009, 10:08 |
|
#3 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17 |
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. |
|
July 29, 2009, 11:28 |
|
#4 | |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
Quote:
I found the source code posted at: http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ Here's one of the posts I referred to: http://www.cfd-online.com/Forums/ope...tu-9-04-a.html 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 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FoamX obsolete in 1.5? | bernarde | OpenFOAM | 2 | July 8, 2009 03:06 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
Rotating walll bc in 1.5 | bastil | OpenFOAM Running, Solving & CFD | 2 | April 14, 2009 18:55 |
OpenFOAM Version 1.5 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 14, 2008 19:22 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |