[Paraview] Paraview with osMesa compile
Christopher Neal
chrisneal at snumerics.com
Mon Mar 13 16:26:50 EDT 2017
Hi All,
I'm working to compile the paraview superbuild(5.2.0) on OpenSuse13.2 with
osMesa enabled(for HPC related CPU in-situ computing). I'm seeing a compile
error:
[ 44%] Performing build step for 'pythonsetuptools'
Traceback (most recent call last):
File "setup.py", line 6, in <module>
import io
File "/usr/lib64/python2.7/io.py", line 51, in <module>
import _io
ImportError:
/home/neal/software/paraview_testbuild/paraview-superbuild-install/install/lib64/python2.7/lib-dynload/_io.so:
undefined symbol: PyUnicodeUCS2_Replace
CMake Error at
/home/neal/software/paraview_testbuild/paraview-superbuild-install/superbuild/sb-pythonsetuptools-build.cmake:43
(message):
Failed with exit code 1
I thought that I requested the superbuild to not use my system python, but
it appears that it is searching /usr/lib64/python2.7 for something that it
fails to read.
My current compile script(bolded section pertains to python):
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=/home/neal/software/paraview_testbuild/paraview-superbuild-install
\
-Dparaview_GIT_TAG='5.2.0' \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_hdf5=ON \
-DENABLE_osmesa=ON \
-DENABLE_mesa=OFF \
-DPARAVIEW_RENDERING_BACKEND:STRING=OpenGL2 \
-DENABLE_mpi=ON \
-DUSE_SYSTEM_mpi=OFF \
-DENABLE_paraview=ON \
*-DENABLE_python=ON \ -DUSE_SYSTEM_python=OFF \ -DENABLE_numpy=ON \
-DENABLE_matplotlib=ON \*
-DENABLE_qt=OFF \
-Dqt_DISABLE_WEBKIT=ON \
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \
/home/neal/software/paraview_testbuild/paraview-superbuild
make
Thank you,
--
Christopher Neal
Research Engineer
Streamline Numerics, Inc.
https://www.snumerics.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170313/4739f569/attachment.html>
More information about the ParaView
mailing list