|
[Sponsors] |
[foam-extend.org] compile error with python characteristic activated |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 6, 2016, 12:27 |
compile error with python characteristic activated
|
#1 |
Member
Yao Lu
Join Date: May 2013
Posts: 33
Rep Power: 13 |
compile error at AllMake.stage4
System: Ubuntu Kylin 14.04.3 64bit foam: foam-extend 3.2 What I did was following the file step by step. /home/lyl1s2/foam/foam-extend-3.2/doc/buildInstructions/Ubuntu/Ubuntu_14.04 Code:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: PYTHON_LIBRARY (ADVANCED) linked by target "vtkPythonInterpreter" in directory /home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/VTK/Utilities/PythonInterpreter -- Configuring incomplete, errors occurred! See also "/home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeOutput.log". See also "/home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/BUILD/ParaView-v4.3.1-source/buildObj/CMakeFiles/CMakeError.log". Error: /home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/tmp/rpm-tmp.emv5Ra (%build) /home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/tmp/rpm-tmp.emv5Ra (%build) Installing package: ParaView-4.3.1 Uninstalling ParaView-4.3.1 using RPM: ParaView-4.3.1-linux64GccDPDebug.x86_64 Installing ParaView-4.3.1 using RPM file: /home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.3.1-linux64GccDPDebug.x86_64.rpm Error: /home/lyl1s2/foam/foam-extend-3.2/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-4.3.1-linux64GccDPDebug.x86_64.rpm Done installing package /home/lyl1s2/OpenFOAM/ThirdParty-3.0.1/makeParaView4 Code:
# Python support: # note: script will try to determine the appropriate python library. # If it fails, specify the path using the PYTHON_LIBRARY variable withPYTHON=true PYTHON_LIBRARY="/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0" # PYTHON_LIBRARY="/usr/lib64/libpython2.6.so.1.0" /home/lyl1s2/OpenFOAM/ThirdParty-3.0.1/makeParaView4 Code:
# Python support: # note: script will try to determine the appropriate python library. # If it fails, specify the path using the PYTHON_LIBRARY variable withPYTHON=false PYTHON_LIBRARY="" # PYTHON_LIBRARY="/usr/lib64/libpython2.6.so.1.0" Thanks in advance. |
|
February 6, 2016, 18:05 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings shuoxue,
There is a glitch in the build scripts in foam-extend 3.2, regarding the Python libraries. I haven't managed yet to commit a bug fix for it... I know I wrote some instructions on how to build ParaView in foam-extend 3.1 with Python support, let me go look for it... OK, I found it: http://www.cfd-online.com/Forums/ope...tml#post528019 - post #3, problem is that it's for ParaView 4.0.1 and not 4.3.1. As for OpenFOAM 3.0.1, check the instructions given here: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 - In step #9 you will see how to build ParaView 4.4.0 with the Python and MPI features. Although... can you please check if the file exists? Run this command: Code:
ls -l /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 Bruno
__________________
|
|
Tags |
cmake, foam extend 3.2, parafoam, paraview, python |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to compile ensight python file | Viswa | EnSight | 0 | August 15, 2018 00:39 |
[OpenFOAM] using the python shell in paraFoam | colinB | ParaView | 14 | September 14, 2015 10:04 |
[OpenFOAM] paraview v4 - building with python - OF2.3.0, PVv4, Python 2.7 | aylalisa | ParaView | 4 | June 13, 2014 09:52 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 18:22 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |