[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    [Paraview] ParaView's Catalyst: problem with Python interpreter
From:       Andrew <antech777 () gmail ! com>
Date:       2015-08-20 8:20:26
Message-ID: CANMVBVxpm3H_fLvMA3K-EEPt6bj1-_sacw9rgUmB1EX3-foNDg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hello.</div><div><br></div><div>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:</div><div><span style="color:rgb(191,0,0)">Traceback (most recent \
call last):<br>File &quot;&quot;, line 104, in<br>File &quot;Catalyst.py&quot;, line \
3, in<br>from paraview import coprocessing<br>File \
&quot;/Programs/ParaView-4.3.1/build-catalyst/lib/site-packages/paraview/simple.py&quot;, \
line 40, in<br>import lookuptable<br>File \
&quot;/Programs/ParaView-4.3.1/build-catalyst/lib/site-packages/paraview/lookuptable.py&quot;, \
line 21, in<br>from math import sqrt<br>ImportError: \
/usr/lib64/python2.6/lib-dynload/mathmodule.so: undefined symbol: \
PyExc_ValueError</span></div><div><span style="color:rgb(191,0,0)"></span>Here we see \
that execution of Catalyst.py (created with &quot;usual&quot; ParaView 4.3.1 build) \
starts, then some ParaView scripts start, but when importing <strong>sqrt</strong> \
function from <strong>math</strong> module in &quot;<font \
color="#bf0000">lookuptable.py</font>&quot; the error occures because symbol \
&quot;<font color="#bf0000">PyExc_ValueError</font>&quot; is &quot;not seen&quot; for \
some reason. I asked this question on Saturne forume and was given a suggestion to \
set some paths, but it didn&#39;t help. I searched the Internet for this error and \
found this info:</div><div><a \
href="https://bugzilla.redhat.com/show_bug.cgi?id=874874">https://bugzilla.redhat.com/show_bug.cgi?id=874874</a></div><div>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?</div><div><br></div><div>CMakeCache.txt and Makefile used to build &quot;catalyst \
edition&quot; of  ParaView 4.3.1 is in attached \
archive.</div><div><br></div><div>Thanks.</div></div>

--047d7bdc12ead4c26b051db9d289--


["ParaViewConfig.zip" (application/zip)]

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic