<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.im
        {mso-style-name:im;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Arial",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Im not able to disabled Wrapping\PythonCore in cmake it seems, so im not able to continue there.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Is this a problem related to my version of python 2.6?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Linking CXX shared library ../../../lib/libvtkWrappingPython26Core-pv4.4.so<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">CMakeFiles/vtkWrappingPythonCore.dir/vtkPythonArgs.cxx.o: In function `vtkPythonGetValue':<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/vtkPythonArgs.cxx:187: undefined reference to `PyObject_GetBuffer'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">Lots of these undefined there, and ends with the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">CMakeFiles/vtkWrappingPythonCore.dir/PyVTKTemplate.cxx.o: In function `PyVTKTemplate_AddItem':<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:427: undefined reference to `PyExc_TypeError'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:427: undefined reference to `PyErr_SetString'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:437: undefined reference to `PyExc_TypeError'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:437: undefined reference to `PyErr_SetString'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:444: undefined reference to `PyExc_TypeError'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:444: undefined reference to `PyErr_SetString'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:456: undefined reference to `PyExc_TypeError'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:456: undefined reference to `PyErr_SetString'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:460: undefined reference to `PyInt_FromLong'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:525: undefined reference to `PyExc_TypeError'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:525: undefined reference to `PyErr_SetString'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:548: undefined reference to `PyExc_TypeError'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:548: undefined reference to `PyErr_SetString'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:551: undefined reference to `PyString_FromStringAndSize'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:562: undefined reference to `PyTuple_New'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">/root/paraview_make/ParaView-v4.4.0-source/VTK/Wrapping/PythonCore/PyVTKTemplate.cxx:569: undefined reference to `PyDict_SetItem'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">CMakeFiles/vtkWrappingPythonCore.dir/PyVTKTemplate.cxx.o:(.data.rel+0x8): undefined reference to `PyType_Type'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">CMakeFiles/vtkWrappingPythonCore.dir/PyVTKTemplate.cxx.o:(.data.rel+0x90): undefined reference to `PyObject_GenericGetAttr'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">collect2: ld returned 1 exit status<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">make[2]: *** [lib/libvtkWrappingPython26Core-pv4.4.so.1] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">make[1]: *** [VTK/Wrapping/PythonCore/CMakeFiles/vtkWrappingPythonCore.dir/all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black">make: *** [all] Error 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> David E DeMarle [mailto:dave.demarle@kitware.com]
<br>
<b>Sent:</b> 7. januar 2016 16:25<br>
<b>To:</b> Thomas Førde <thomas.forde@ulstein.com><br>
<b>Cc:</b> Utkarsh Ayachit <utkarsh.ayachit@kitware.com>; paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] using paraview with ompi and grid engine queue system<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Turn this:<o:p></o:p></p>
<div>
<p class="MsoNormal">PARAVIEW_ENABLE_WEB:BOOL=ON<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">to this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">PARAVIEW_ENABLE_WEB:BOOL=OFF<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I think the web features require more recent python than your system has.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jan 7, 2016 at 9:57 AM, Thomas Førde <<a href="mailto:thomas.forde@ulstein.com" target="_blank">thomas.forde@ulstein.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt">Once added all the python libs and include dirs., it fails atm right now with the following.<br>
<br>
Linking CXX shared library ../../../lib/<a href="http://libvtkWebCore-pv4.4.so" target="_blank">libvtkWebCore-pv4.4.so</a><br>
CMakeFiles/vtkWebCore.dir/vtkWebUtilities.cxx.o: In function `vtkWebUtilities::ProcessRMIs(int, int)':<br>
/root/paraview_make/ParaView-v4.4.0-source/VTK/Web/Core/vtkWebUtilities.cxx:131: undefined reference to `PyEval_SaveThread'<br>
/root/paraview_make/ParaView-v4.4.0-source/VTK/Web/Core/vtkWebUtilities.cxx:133: undefined reference to `PyEval_RestoreThread'<br>
collect2: ld returned 1 exit status<br>
<br>
so ill have to dig into it and see what this one is about.<br>
<br>
<span class="im">-----Original Message-----</span><br>
<span class="im">From: Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>]</span><br>
<span class="im">Sent: 7. januar 2016 15:40</span><br>
<span class="im">To: Thomas Førde <<a href="mailto:thomas.forde@ulstein.com">thomas.forde@ulstein.com</a>></span><br>
<span class="im">Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a></span><br>
<span class="im">Subject: Re: [Paraview] using paraview with ompi and grid engine queue system</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">> As you suspect is was not enabled in the cmake.<br>
<br>
I assume you're referring to the PARAVIEW_ENABLE_PYTHON flag? Yes, that'd explain the pvbatch missing issue. However, I you seem to have correctly enabled OSMesa support, so I am a little confused how you'd be getting the X errors.<br>
<br>
> But do I really need it?<br>
<br>
Yes, you need to enable Python support if you need pvbatch.<br>
<br>
For running scripts are you're trying you'd definitely need the pvbatch executable and not the "pvserver". Although that still doesn't explain how you are getting the X errors, let's start by enabling Python and then let's see.<br>
<br>
Utkarsh<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>