[Paraview] ParaView's Catalyst: problem with Python interpreter
Andrew
antech777 at gmail.com
Thu Aug 20 04:20:26 EDT 2015
Hello.
I have compiled ParaView 4.3.1 for offscreen rendering (Catalyst +
CodeSaturne). Thanks for suggestions how to do it properly. But when I run
calculation in CodeSaturne with co-processing enabled an error occures:
Traceback (most recent call last):
File "", line 104, in
File "Catalyst.py", line 3, in
from paraview import coprocessing
File
"/Programs/ParaView-4.3.1/build-catalyst/lib/site-packages/paraview/simple.py",
line 40, in
import lookuptable
File
"/Programs/ParaView-4.3.1/build-catalyst/lib/site-packages/paraview/lookuptable.py",
line 21, in
from math import sqrt
ImportError: /usr/lib64/python2.6/lib-dynload/mathmodule.so: undefined
symbol: PyExc_ValueError
Here we see that execution of Catalyst.py (created with "usual" ParaView
4.3.1 build) starts, then some ParaView scripts start, but when importing
*sqrt* function from *math* module in "lookuptable.py" the error occures
because symbol "PyExc_ValueError" is "not seen" for some reason. I asked
this question on Saturne forume and was given a suggestion to set some
paths, but it didn't help. I searched the Internet for this error and found
this info:
https://bugzilla.redhat.com/show_bug.cgi?id=874874
I use CentOS 6.5 that, as I know, is very similar to RedHat 6.5 and uses
the same version numbering. Is this problem relevant to my case? How can I
solve it?
CMakeCache.txt and Makefile used to build "catalyst edition" of ParaView
4.3.1 is in attached archive.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150820/d4135f7f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParaViewConfig.zip
Type: application/zip
Size: 62838 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150820/d4135f7f/attachment.zip>
More information about the ParaView
mailing list