Trouble building Paraview from ThirdPartyv1812 folder with python and mpi support
Hi,
I encounter trouble in building ParaviewV5.6.0 with python and mpi support which comes along the ThirdPartyV1812 suite of OpenFoam. The following is the output log of the build process at 89% after which the build crashes. Code:
[ 89%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkPVClientServerCoreRenderingPythonD.dir/vtkPVClientServerCoreRenderingPythonInitImpl.cxx.o Build worked fine when no mpi and python support was provided. The main reason as to why I require a python support is to use the Python shell. Therefore, I used the following command to compile Paraview with mpi and python support. Code:
./makeParaView -qt-5.12.0 -mpi -python-lib /usr/lib/python2.7 -python-bin /usr/bin/python2.7 |
Greetings praphul,
Quote:
The first idea that came to mind was that given the lack of details, the reason why it failed was because not enough was known to ensure that it would work. :D Sorry, it's a dumb answer, but given the lack of information, my brain didn't cooperate... So, what's missing:
Code:
-python-lib /usr/lib/python2.7 Code:
-python-lib $PYTHONHOME/lib/libpython2.7.so Code:
-python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 Other ideas:
Best regards, Bruno |
Hi Bruno,
Thanks for the reply. I apologize for not giving extra details on this issue. I had dumped out the log file earlier but I didn't redirect stderr which resulted in a file without the error message. Therefore, the end of output log file only had the information which I had posted as a code snippet. The second suspicion of yours proved to be right. I had defined the python libraries incorrectly. Paraview has now been build and installed properly when I changed the makeParaView command to the following. Code:
./makeParaView -qt-5.12.0 -mpi -python-include /usr/include/python2.7 -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so Thanks a lot for the the suggestion. I have a couple more questions.
Regards, Praphul |
Quick answers:
Quote:
Quote:
Removing it should not affect ParaView 5.6.0, or at least it should not. It is possible that some package might be uninstalled when ParaView 5.4.1 is uninstalled (apt will tell you about the ones that were picked to be uninstalled), but you can then re-install those package(s) via apt. |
Thanks Bruno for the help. :) Everything is perfect now.
|
All times are GMT -4. The time now is 23:11. |