Upgrading to 1.5-dev
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 |
Found it...
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 |
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. |
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 |
All times are GMT -4. The time now is 00:05. |