<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2>Jacques,</FONT></SPAN></DIV>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2>Utkarsh had a patch for preventing the opengl window popping up when 
producing screenshots from a while ago. Not sure if this was implemented in the 
latest releases of ParaView (I'm talking PV v3.6.2).</FONT></SPAN></DIV>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=531561514-17082010><FONT face=Arial color=#0000ff 
size=2>Adriano</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>===================================<BR><BR>Adriano Gagliardi 
MEng PhD<BR>Business Sector Leader<BR>Computational Aerodynamics<BR>Aircraft 
Research Association Ltd.<BR>Manton Lane<BR>Bedford<BR><BR>Tel: 01234 32 
4644<BR>E-mail: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> paraview-bounces@paraview.org 
[mailto:paraview-bounces@paraview.org] <B>On Behalf Of </B>Jacques 
Papper<BR><B>Sent:</B> 17 August 2010 15:07<BR><B>To:</B> pat 
marion<BR><B>Cc:</B> ParaView<BR><B>Subject:</B> [Paraview] 
CoProcessing<BR></FONT><BR></DIV>
<DIV></DIV>Hi All, <BR><BR>Although I've got the coprocessing to work somehow, I 
still have a couple of problems :<BR><BR>-&gt; I have pulled from git 
yesterday.<BR><BR>1. None inside the python scripts generated by the plugin 
throws up some issues :<BR><BR>Traceback (most recent call last):<BR>&nbsp; File 
"&lt;string&gt;", line 2, in &lt;module&gt;<BR>&nbsp; File 
"/users/boreas01/jacques/TESTING/A6_saloon_50k/pvCopro.py", line 138, in 
DoCoProcessing<BR>&nbsp;&nbsp;&nbsp; 
DataRepresentation1.SelectOrientationVectors = [None, '']<BR>&nbsp; File 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
line 207, in __setattr__<BR>&nbsp;&nbsp;&nbsp; setter(self, value)<BR>&nbsp; 
File 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
line 2367, in setProperty<BR>&nbsp;&nbsp;&nbsp; return 
self.GetPropertyValue(propName)<BR>&nbsp; File 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
line 256, in SetPropertyWithName<BR>&nbsp;&nbsp;&nbsp; def 
SetPropertyWithName(self, pname, arg):<BR>&nbsp; File 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
line 799, in SetData<BR>&nbsp;&nbsp;&nbsp; if len(values) == 
1:<BR>UnboundLocalError: local variable 'val' referenced before 
assignment<BR><BR><BR>2. When Compiling with MESA, and switching offscreen 
rendering ON I get problems at runtime when coprocessing (I have no problems 
saving screenshots directly from within paraview) :<BR><BR><BR>--- Some of my 
CMAKE settings :<BR>//Path to a 
file.<BR>OPENGL_INCLUDE_DIR:PATH=/usr/include<BR><BR>//Path to a 
library.<BR>OPENGL_gl_LIBRARY:FILEPATH=/usr/lib64/libGL.so<BR><BR>//Path to a 
library.<BR>OPENGL_glu_LIBRARY:FILEPATH=/usr/lib64/libGLU.so<BR><BR>//Path to a 
file.<BR>OPENGL_xmesa_INCLUDE_DIR:PATH=/usr/include<BR><BR>//Path to a 
file.<BR>OSMESA_INCLUDE_DIR:PATH=/usr/include<BR><BR>//Path to a 
library.<BR>OSMESA_LIBRARY:FILEPATH=/usr/lib64/libOSMesa.so<BR><BR>----- RunTime 
error message ---- <BR><BR><BR>#0&nbsp; 
Foam::error::printStack(Foam::Ostream&amp;) in 
"/users/boreas01/jacques/FOAMpro-1.6-dev/FOAM-dev/lib/linux64GccDPOpt/libFOAM.so"<BR>#1&nbsp; 
Foam::sigSegv::sigSegvHandler(int) in 
"/users/boreas01/jacques/FOAMpro-1.6-dev/FOAM-dev/lib/linux64GccDPOpt/libFOAM.so"<BR>#2&nbsp; 
?? in "/lib64/libc.so.6"<BR>#3&nbsp; __rawmemchr in 
"/lib64/libc.so.6"<BR>#4&nbsp; ?? in "/lib64/libc.so.6"<BR>#5&nbsp; vsscanf in 
"/lib64/libc.so.6"<BR>#6&nbsp; _IO_sscanf in "/lib64/libc.so.6"<BR>#7&nbsp; 
vtkOpenGLExtensionManager::ReadOpenGLExtensions() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#8&nbsp; 
vtkOpenGLExtensionManager::Update() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#9&nbsp; 
vtkOpenGLExtensionManager::ExtensionSupported(char const*) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#10&nbsp; 
vtkOpenGLRenderWindow::OpenGLInit() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#11&nbsp; 
vtkXOpenGLRenderWindow::Start() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#12&nbsp; 
vtkRenderWindow::DoStereoRender() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#13&nbsp; 
vtkRenderWindow::DoFDRender() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#14&nbsp; 
vtkRenderWindow::DoAARender() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#15&nbsp; 
vtkRenderWindow::Render() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#16&nbsp; 
vtkXOpenGLRenderWindow::Render() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRendering.so.pv3.9"<BR>#17&nbsp; 
vtkXOpenGLRenderWindowCommand(vtkClientServerInterpreter*, vtkObjectBase*, char 
const*, vtkClientServerStream const&amp;, vtkClientServerStream&amp;) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkRenderingCS.so"<BR>#18&nbsp; 
vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream 
const&amp;, int) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkClientServer.so"<BR>#19&nbsp; 
vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&amp;, 
int) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkClientServer.so"<BR>#20&nbsp; 
vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&amp;) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkClientServer.so"<BR>#21&nbsp; 
vtkSelfConnection::ProcessStreamLocally(vtkClientServerStream&amp;) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#22&nbsp; 
vtkMPISelfConnection::SendStreamToDataServerRoot(vtkClientServerStream&amp;) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#23&nbsp; 
vtkProcessModuleConnection::SendStream(unsigned int, vtkClientServerStream&amp;) 
in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#24&nbsp; 
vtkProcessModuleConnectionManager::SendStream(long long, unsigned int, 
vtkClientServerStream&amp;, int) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#25&nbsp; 
vtkProcessModule::SendStream(long long, unsigned int, 
vtkClientServerStream&amp;, int) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#26&nbsp; 
vtkSMRenderViewProxy::PerformRender() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#27&nbsp; 
vtkSMViewProxy::StillRender() in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#28&nbsp; 
vtkSMRenderViewProxy::CaptureWindow(int) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#29&nbsp; 
vtkSMRenderViewProxy::WriteImage(char const*, char const*, int) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#30&nbsp; 
?? at vtkSMRenderViewProxyPython.cxx:0<BR>#31&nbsp; 
vtkPythonUtil::CallOverloadedMethod(PyMethodDef*, _object*, _object*) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPythonCore.so.pv3.9"<BR>#32&nbsp; 
PyObject_Call in "/usr/lib64/libpython2.6.so.1.0"<BR>#33&nbsp; 
PyEval_EvalFrameEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#34&nbsp; 
PyEval_EvalCodeEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#35&nbsp; 
PyEval_EvalFrameEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#36&nbsp; 
PyEval_EvalCodeEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#37&nbsp; 
PyEval_EvalFrameEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#38&nbsp; 
PyEval_EvalFrameEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#39&nbsp; 
PyEval_EvalCodeEx in "/usr/lib64/libpython2.6.so.1.0"<BR>#40&nbsp; 
PyEval_EvalCode in "/usr/lib64/libpython2.6.so.1.0"<BR>#41&nbsp; ?? in 
"/usr/lib64/libpython2.6.so.1.0"<BR>#42&nbsp; PyRun_StringFlags in 
"/usr/lib64/libpython2.6.so.1.0"<BR>#43&nbsp; PyRun_SimpleStringFlags in 
"/usr/lib64/libpython2.6.so.1.0"<BR>#44&nbsp; 
vtkPVPythonInterpretor::RunSimpleString(char const*) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVPythonInterpretor.so"<BR>#45&nbsp; 
vtkCPPythonScriptPipeline::CoProcess(vtkCPDataDescription*) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkCoProcessor.so"<BR>#46&nbsp; 
vtkCPProcessor::CoProcess(vtkCPDataDescription*) in 
"/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkCoProcessor.so"<BR><BR><BR>When 
compiling without MESA and OFFSCREEN then it works fine but I get an annoying 
window that pops up all the time...<BR><BR>3. I am able to use the Parallel 
Multi Block Data Set Writer, on a very simple hex mesh. But when I use it on a 
more complex mesh (including POLYHEDRA cells) I get the following error 
:<BR><BR>When opening the file in paraview :<BR><BR>
<META content=1 name=qrichtext>
<STYLE type=text/css>P {
        
}
LI {
        
}
</STYLE>

<TABLE style="MARGIN: 4px">
  <TBODY>
  <TR>
    <TD 
    style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">ERROR: 
      In /users/boreas01/jacques/PARAVIEW/ParaView/VTK/IO/vtkXMLParser.cxx, line 
      483</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">vtkXMLDataParser 
      (0x18aa700): Error parsing XML in stream at line 1, column 7, byte index 
      7: not well-formed (invalid token)</SPAN></P>
      <P 
      style="FONT-SIZE: 10pt; MARGIN: 0px; COLOR: rgb(128,0,0); TEXT-INDENT: 0px; FONT-FAMILY: 'Courier'"></P>
      <P 
      style="FONT-SIZE: 10pt; MARGIN: 0px; COLOR: rgb(128,0,0); TEXT-INDENT: 0px; FONT-FAMILY: 'Courier'"></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">ERROR: 
      In /users/boreas01/jacques/PARAVIEW/ParaView/VTK/IO/vtkXMLReader.cxx, line 
      362</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">vtkXMLUnstructuredGridReader 
      (0x18cbbc0): Error parsing input file. ReadXMLInformation 
      aborting.</SPAN></P>
      <P 
      style="FONT-SIZE: 10pt; MARGIN: 0px; COLOR: rgb(128,0,0); TEXT-INDENT: 0px; FONT-FAMILY: 'Courier'"></P>
      <P 
      style="FONT-SIZE: 10pt; MARGIN: 0px; COLOR: rgb(128,0,0); TEXT-INDENT: 0px; FONT-FAMILY: 'Courier'"></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">ERROR: 
      In 
      /users/boreas01/jacques/PARAVIEW/ParaView/VTK/Filtering/vtkExecutive.cxx, 
      line 756</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">vtkStreamingDemandDrivenPipeline 
      (0xdadf60): Algorithm vtkXMLUnstructuredGridReader(0x18cbbc0) returned 
      failure for request: vtkInformation (0x127b170)</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">Debug: 
      Off</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">Modified 
      Time: 80976</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">Reference 
      Count: 1</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">Registered 
      Events: (none)</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">Request: 
      REQUEST_INFORMATION</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">ALGORITHM_AFTER_FORWARD: 
      1</SPAN></P>
      <P style="MARGIN: 0px; TEXT-INDENT: 0px"><SPAN 
      style="FONT-SIZE: 10pt; COLOR: rgb(128,0,0); FONT-FAMILY: 'Courier'">FORWARD_DIRECTION: 
      0</SPAN></P>
      <P 
      style="FONT-SIZE: 10pt; MARGIN: 0px; COLOR: rgb(128,0,0); TEXT-INDENT: 0px; FONT-FAMILY: 'Courier'"></P></TD></TR></TBODY></TABLE><BR><BR>When 
running the coprocessor&nbsp; I do not get any error message. And I am still 
able to ouput png screenshots (when not using OFFSCREEN)... Is there an 
incompatibility between the writers and the polyhedra cell type ? Or is it 
possible that somewhere I am not filling in the cells / points properly ? 
<BR><BR>Best, <BR>Jacques<BR><BR><BR><BR><BR><BR>
<DIV class=gmail_quote>2010/8/16 pat marion <SPAN dir=ltr>&lt;<A 
href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">cc'ing 
  the list.<BR><FONT color=#888888><BR>Pat</FONT>
  <DIV>
  <DIV></DIV>
  <DIV class=h5><BR><BR>
  <DIV class=gmail_quote>---------- Forwarded message ----------<BR>From: <B 
  class=gmail_sendername>Jacques Papper</B> <SPAN dir=ltr>&lt;<A 
  href="mailto:jacques.papper@gmail.com" 
  target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN><BR>Date: Mon, Aug 16, 
  2010 at 1:55 PM<BR>Subject: Re: [Paraview] CoProcessing<BR>To: pat marion 
  &lt;<A href="mailto:pat.marion@kitware.com" 
  target=_blank>pat.marion@kitware.com</A>&gt;<BR><BR><BR>Once again... My 
  mistake .. I'm not used to submodules ! <BR><BR>
  <DIV class=gmail_quote>2010/8/16 Jacques Papper <SPAN dir=ltr>&lt;<A 
  href="mailto:jacques.papper@gmail.com" 
  target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN>
  <DIV>
  <DIV></DIV>
  <DIV><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi, 
    I just pulled my git.. <BR><BR>CMake Error in 
    Utilities/VTKClientServer/Wrapping/CMakeLists.txt:<BR>&nbsp; Cannot find 
    source file "vtkParsePreprocess.c".&nbsp; Tried extensions .c .C<BR>&nbsp; 
    .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx<BR><BR>I 
    tried to configure and generate cmake but I get the same error when 
    generating... <BR><BR>Should I start from a clean cmake cache ? 
    <BR><BR>Jacques<BR><BR>
    <DIV class=gmail_quote>2010/8/16 pat marion <SPAN dir=ltr>&lt;<A 
    href="mailto:pat.marion@kitware.com" 
    target=_blank>pat.marion@kitware.com</A>&gt;</SPAN>
    <DIV>
    <DIV></DIV>
    <DIV><BR>
    <BLOCKQUOTE class=gmail_quote 
    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">If 
      you can't upgrade your paraview version you could try hand applying the 
      patch to /users/boreas01/jacques/
      <DIV>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py</BLOCKQUOTE></DIV>
      <DIV><BR>The patch:<BR><BR><A 
      href="http://paraview.org/gitweb?p=ParaView.git;a=commitdiff;h=23027770320168c3f7877c6e4150d5ca834f3b9b" 
      target=_blank>http://paraview.org/gitweb?p=ParaView.git;a=commitdiff;h=23027770320168c3f7877c6e4150d5ca834f3b9b</A> 
      <BR></DIV><BR>Pat
      <DIV>
      <DIV></DIV>
      <DIV><BR><BR>
      <DIV class=gmail_quote>On Mon, Aug 16, 2010 at 11:01 AM, Jacques Papper 
      <SPAN dir=ltr>&lt;<A href="mailto:jacques.papper@gmail.com" 
      target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE class=gmail_quote 
      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi, 
        <BR><BR>I'm sorry I was just rerunning to reproduce the error, and did 
        not realize I missed changing my input back to input.foam instead of 
        toto.foam .... <BR><BR>Here is the actual error message 
        :<BR><BR>Traceback (most recent call last):<BR>&nbsp; File 
        "&lt;string&gt;", line 2, in &lt;module&gt;<BR>&nbsp; File 
        "/users/boreas01/jacques/TESTING/A6_saloon_50k/pvCopro.py", line 138, in 
        DoCoProcessing<BR>&nbsp;&nbsp;&nbsp; 
        DataRepresentation1.SelectOrientationVectors = [None, '']<BR>&nbsp; File 
        "/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
        line 207, in __setattr__<BR>&nbsp;&nbsp;&nbsp; setter(self, 
        value)<BR>&nbsp; File 
        "/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
        line 2367, in setProperty<BR>&nbsp;&nbsp;&nbsp; return 
        self.SetPropertyWithName(propName, value)<BR>&nbsp; File 
        "/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
        line 256, in SetPropertyWithName<BR>&nbsp;&nbsp;&nbsp; 
        prop.SetData(arg)<BR>&nbsp; File 
        "/users/boreas01/jacques/PARAVIEW/ParaView-bin/Utilities/VTKPythonWrapping/site-packages/paraview/servermanager.py", 
        line 799, in SetData<BR>&nbsp;&nbsp;&nbsp; 
        self.SMProperty.SetElement(3,&nbsp; str(val))<BR>UnboundLocalError: 
        local variable 'val' referenced before 
        assignment<BR><BR><BR>Jacques<BR><BR>
        <DIV class=gmail_quote>2010/8/16 Andy Bauer <SPAN dir=ltr>&lt;<A 
        href="mailto:andy.bauer@kitware.com" 
        target=_blank>andy.bauer@kitware.com</A>&gt;</SPAN>
        <DIV>
        <DIV></DIV>
        <DIV><BR>
        <BLOCKQUOTE class=gmail_quote 
        style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">The 
          other thing is that there was a problem when outputting images from 
          coprocessing.&nbsp; Try updating to commit 2302777 to see if that's 
          it.&nbsp; <BR><FONT color=#888888><BR>Andy</FONT>
          <DIV>
          <DIV></DIV>
          <DIV><BR><BR>
          <DIV class=gmail_quote>On Mon, Aug 16, 2010 at 9:07 AM, pat marion 
          <SPAN dir=ltr>&lt;<A href="mailto:pat.marion@kitware.com" 
          target=_blank>pat.marion@kitware.com</A>&gt;</SPAN> wrote:<BR>
          <BLOCKQUOTE class=gmail_quote 
          style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
            Jacques,<BR><BR>That error message seems to be unrelated to the 
            lines containing 'None' that you copied in a previous email.&nbsp; 
            It looks to me like your code that calls the coprocessor is not 
            inserting the vtk data set under the name 'test.foam'.&nbsp; In the 
            calling code you need something 
            like:<BR><BR>dataDesc-&gt;AddInput("test.foam")<BR>dataDesc-&gt;GetInputDescriptionByName("test.foam")-&gt;SetGrid(dataObject);<BR><FONT 
            color=#888888><BR>Pat</FONT>
            <DIV>
            <DIV></DIV>
            <DIV><BR><BR>
            <DIV class=gmail_quote>On Mon, Aug 16, 2010 at 8:35 AM, Jacques 
            Papper <SPAN dir=ltr>&lt;<A href="mailto:jacques.papper@gmail.com" 
            target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> wrote:<BR>
            <BLOCKQUOTE class=gmail_quote 
            style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
              Pat, <BR><BR>This is what shows up for me 
              :<BR><BR>&nbsp;&nbsp;&nbsp; 
              datadescription.GetInputDescriptionByName(input_name).AllFieldsOff()<BR>AttributeError: 
              'NoneType' object has no attribute 
              'AllFieldsOff'<BR><BR><BR>Inside the Python script :<BR><BR>def 
              RequestDataDescription(datadescription):<BR>&nbsp;&nbsp;&nbsp; 
              "Callback to populate the request for current 
              timestep"<BR>&nbsp;&nbsp;&nbsp; timestep = 
              datadescription.GetTimeStep()<BR><BR><BR>&nbsp;&nbsp;&nbsp; 
              input_name = 'test.foam'<BR>&nbsp;&nbsp;&nbsp; if (timestep % 
              0.0004 == 0) :<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
              datadescription.GetInputDescriptionByName(input_name).AllFieldsOn()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
              datadescription.GetInputDescriptionByName(input_name).GenerateMeshOn()<BR>&nbsp;&nbsp;&nbsp; 
              else:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
              datadescription.GetInputDescriptionByName(input_name).AllFieldsOff()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
              datadescription.GetInputDescriptionByName(input_name).GenerateMeshOff()<BR><BR><BR>Best,<BR><BR><BR>Jacques<BR><BR><BR>
              <DIV class=gmail_quote>2010/8/13 pat marion <SPAN dir=ltr>&lt;<A 
              href="mailto:pat.marion@kitware.com" 
              target=_blank>pat.marion@kitware.com</A>&gt;</SPAN>
              <DIV>
              <DIV></DIV>
              <DIV><BR>
              <BLOCKQUOTE class=gmail_quote 
              style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                Jacques,<BR><BR>My python trace files have similar lines, and I 
                am able to run them without error.&nbsp; I've only just tested 
                with latest git master, not 3.8.&nbsp; Can you copy the specific 
                error message you're getting so I can take a look?<BR><FONT 
                color=#888888><BR>Pat</FONT>
                <DIV>
                <DIV></DIV>
                <DIV><BR><BR>
                <DIV class=gmail_quote>On Fri, Aug 13, 2010 at 6:20 PM, Jacques 
                Papper <SPAN dir=ltr>&lt;<A 
                href="mailto:jacques.papper@gmail.com" 
                target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> wrote:<BR>
                <BLOCKQUOTE class=gmail_quote 
                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">&nbsp;&nbsp; 
                  Sorry I meant None... not Null :<BR>&nbsp;<BR>For example 
                  :<BR><BR><BR>&nbsp; &nbsp; 
                  DataRepresentation1.SelectOrientationVectors = [None, 
                  '']<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.SelectedMapperIndex = 'Projected 
                  tetra'<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.CubeAxesTickLocation = 
                  'Inside'<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.CubeAxesXAxisMinorTickVisibility = 
                  1<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.CubeAxesYAxisVisibility = 
                  1<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.SelectionPointLabelFontFamily = 
                  'Arial'<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.Source.ShaftResolution = 
                  6<BR>&nbsp;&nbsp;&nbsp; DataRepresentation1.CubeAxesFlyMode = 
                  'Closest Triad'<BR>&nbsp;&nbsp;&nbsp; 
                  DataRepresentation1.SelectScaleArray = [None, '']<BR><BR><BR>
                  <DIV class=gmail_quote>2010/8/13 Andy Bauer <SPAN 
                  dir=ltr>&lt;<A href="mailto:andy.bauer@kitware.com" 
                  target=_blank>andy.bauer@kitware.com</A>&gt;</SPAN>
                  <DIV>
                  <DIV></DIV>
                  <DIV><BR>
                  <BLOCKQUOTE class=gmail_quote 
                  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR><BR>
                    <DIV class=gmail_quote>
                    <DIV>On Fri, Aug 13, 2010 at 3:39 AM, Jacques Papper <SPAN 
                    dir=ltr>&lt;<A href="mailto:jacques.papper@gmail.com" 
                    target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> 
                    wrote:<BR>
                    <BLOCKQUOTE class=gmail_quote 
                    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I 
                      found the problem... I was inserting PointData instead of 
                      CellData :) ,,,<BR>Anyway it seems to be starting to work 
                      now.. 2 things though :<BR><BR>-&gt; Whenever I try to run 
                      directly a python script exported from paraview (Through 
                      the Coprocessing export state) it won't run until I remove 
                      all references to LIC and all lines containing 
                      Null...<BR><BR></BLOCKQUOTE></DIV>
                    <DIV>Now that you mention it, I didn't put in anything 
                    special for plugins.&nbsp; Setting the plugins to auto-load 
                    may work but my guess is that it won't.&nbsp; I'll look into 
                    the plugin thing and the best way to do it in the script 
                    generator.<BR><BR>What do you mean by Null?&nbsp; I don't 
                    know what that is so you'll have to explain it to 
                    me.<BR><BR>&nbsp;</DIV>
                    <DIV>
                    <BLOCKQUOTE class=gmail_quote 
                    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">For 
                      the LIC, is it because the python script doesn't 
                      automatically load the LIC plugin ? <BR>For the Null, do 
                      you have this problem as well ?<BR><BR>-&gt; Is the Live 
                      Source Data code already available in git ? I'd love to 
                      test it out even if it is not robust yet. 
                    <BR></BLOCKQUOTE></DIV>
                    <DIV><BR>We don't yet have permission to release the Live 
                    Source Data code yet but I think it should be available in 
                    the next couple of months. <BR></DIV>
                    <DIV>
                    <DIV></DIV>
                    <DIV>
                    <BLOCKQUOTE class=gmail_quote 
                    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>Best, 
                      <BR>Jacques<BR><BR><BR>
                      <DIV class=gmail_quote>2010/8/12 Andy Bauer <SPAN 
                      dir=ltr>&lt;<A href="mailto:andy.bauer@kitware.com" 
                      target=_blank>andy.bauer@kitware.com</A>&gt;</SPAN><BR>
                      <BLOCKQUOTE class=gmail_quote 
                      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">You 
                        probably want to add the field data to the specific 
                        grids in the multiblock data set and not just the block 
                        itself.&nbsp; As an example:<BR><BR>create 
                        multiblock<BR>for each grid:<BR>&nbsp; create grid 
                        points and cells<BR>&nbsp; add point and cell data to 
                        grid<BR>&nbsp; add grid to block<BR><BR>Note that in 
                        parallel for coprocessing that the block must have the 
                        same structure on each process but whether a leaf node 
                        is empty or not can change.&nbsp; For 
                        example:<BR><BR>proc 0 mutliblock:<BR>&nbsp; block 0 
                        -&gt; unstructured grid<BR>&nbsp; block 1 -&gt; uniform 
                        grid<BR>&nbsp; block 2 -&gt; NULL<BR>proc 1 
                        multiblock:<BR>&nbsp; block 0 -&gt; NULL<BR>&nbsp; block 
                        1 -&gt; NULL<BR>&nbsp; block 2 -&gt; unstructured 
                        grid<BR><BR>I'm not sure of all of the details but what 
                        I do is that I set a block to only be non-NULL on a 
                        single process.<BR><BR>Hope this helps,<BR><FONT 
                        color=#888888>Andy</FONT>
                        <DIV>
                        <DIV></DIV>
                        <DIV><BR><BR>
                        <DIV class=gmail_quote>On Thu, Aug 12, 2010 at 2:38 PM, 
                        Jacques Papper <SPAN dir=ltr>&lt;<A 
                        href="mailto:jacques.papper@gmail.com" 
                        target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> 
                        wrote:<BR>
                        <BLOCKQUOTE class=gmail_quote 
                        style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                          All, <BR><BR>I am making some more progress on this. 
                          Everything was working until I tried adding field 
                          data... I now get an explosion :<BR><BR>#2&nbsp; ?? in 
                          "/lib64/libc.so.6"<BR>#3&nbsp; 
                          vtkDataArrayTemplate&lt;double&gt;::ComputeScalarRange(int) 
                          in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkCommon.so.pv3.9"<BR>#4&nbsp; 
                          vtkDataArray::ComputeRange(int) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkCommon.so.pv3.9"<BR>#5&nbsp; 
                          vtkPVArrayInformation::CopyFromObject(vtkObject*) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#6&nbsp; 
                          vtkPVDataSetAttributesInformation::CopyFromDataSetAttributes(vtkDataSetAttributes*) 
                          in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#7&nbsp; 
                          vtkPVDataInformation::CopyFromDataSet(vtkDataSet*) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#8&nbsp; 
                          vtkPVDataInformation::CopyFromObject(vtkObject*) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#9&nbsp; 
                          vtkPVCompositeDataInformation::CopyFromObject(vtkObject*) 
                          in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#10&nbsp; 
                          vtkPVDataInformation::CopyFromCompositeDataSet(vtkCompositeDataSet*) 
                          in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#11&nbsp; 
                          vtkPVDataInformation::CopyFromObject(vtkObject*) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#12&nbsp; 
                          vtkSelfConnection::GatherInformation(unsigned int, 
                          vtkPVInformation*, vtkClientServerID) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#13&nbsp; 
                          vtkSynchronousMPISelfConnection::GatherInformation(unsigned 
                          int, vtkPVInformation*, vtkClientServerID) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerCommon.so"<BR>#14&nbsp; 
                          vtkSMOutputPort::GatherDataInformation() in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#15&nbsp; 
                          vtkSMOutputPort::GetDataInformation() in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#16&nbsp; 
                          vtkSMDataTypeDomain::IsInDomain(vtkSMSourceProxy*, 
                          int) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#17&nbsp; 
                          vtkSMDataTypeDomain::IsInDomain(vtkSMProperty*) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#18&nbsp; 
                          vtkSMProperty::IsInDomains() in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#19&nbsp; 
                          vtkSMRenderViewProxy::CreateDefaultRepresentation(vtkSMProxy*, 
                          int) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVServerManager.so"<BR>#20&nbsp; 
                          ?? at vtkSMRenderViewProxyPython.cxx:0<BR>#21&nbsp; 
                          PyEval_EvalFrameEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#22&nbsp; 
                          PyEval_EvalCodeEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#23&nbsp; 
                          PyEval_EvalFrameEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#24&nbsp; 
                          PyEval_EvalCodeEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#25&nbsp; 
                          PyEval_EvalFrameEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#26&nbsp; 
                          PyEval_EvalCodeEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#27&nbsp; 
                          PyEval_EvalFrameEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#28&nbsp; 
                          PyEval_EvalCodeEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#29&nbsp; 
                          PyEval_EvalFrameEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#30&nbsp; 
                          PyEval_EvalFrameEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#31&nbsp; 
                          PyEval_EvalCodeEx in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#32&nbsp; 
                          PyEval_EvalCode in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#33&nbsp; ?? in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#34&nbsp; 
                          PyRun_StringFlags in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#35&nbsp; 
                          PyRun_SimpleStringFlags in 
                          "/usr/lib64/libpython2.6.so.1.0"<BR>#36&nbsp; 
                          vtkPVPythonInterpretor::RunSimpleString(char const*) 
                          in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkPVPythonInterpretor.so"<BR>#37&nbsp; 
                          vtkCPPythonScriptPipeline::CoProcess(vtkCPDataDescription*) 
                          in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkCoProcessor.so"<BR>#38&nbsp; 
                          vtkCPProcessor::CoProcess(vtkCPDataDescription*) in 
                          "/users/boreas01/jacques/PARAVIEW/ParaView-bin/bin/libvtkCoProcessor.so"<BR><BR>Any 
                          ideas where this can be coming from ?<BR>When I do not 
                          add the field data it just complains about missing 
                          fields so I know that the code is not completely 
                          wrong...<BR>I am adding the data to the first block of 
                          my multiblockdataset... Is that a problem ? 
                          <BR><BR><BR><BR>Thanks ! <BR>Jacques<BR><BR><BR>
                          <DIV class=gmail_quote>2010/8/12 Jacques Papper <SPAN 
                          dir=ltr>&lt;<A href="mailto:jacques.papper@gmail.com" 
                          target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN>
                          <DIV>
                          <DIV></DIV>
                          <DIV><BR>
                          <BLOCKQUOTE class=gmail_quote 
                          style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                            Andy, Pat,<BR><BR>I have the skeleton of the 
                            coprocessing working (for the moment I just tried by 
                            populating the point field - no cells, no 
                            data).<BR>I am trying to figure out the most 
                            efficient way of transferring my data structure to 
                            VTK with minimal copying and looping... <BR>I would 
                            like to use the vtkUnstructuredGrid::SetCells() 
                            method, which means I probably need to use the 
                            vtkCellArray::SetCells() method, and therefore the 
                            vtkIdType::SetArray() method... <BR>The problem is I 
                            am not sure what the format of the array should be 
                            ?<BR>I am dealing with unstructured polyhedra cells 
                            (most of which are known types like hex prism 
                            etc..). <BR><BR>Of course, I could also use the 
                            InsertNextCell() methods, but I was wondering if 
                            there wasn't a more efficient way... 
                            <BR><BR>Best,<BR>Jacques<BR><BR><BR>
                            <DIV class=gmail_quote>2010/8/9 Andy Bauer <SPAN 
                            dir=ltr>&lt;<A href="mailto:andy.bauer@kitware.com" 
                            target=_blank>andy.bauer@kitware.com</A>&gt;</SPAN>
                            <DIV>
                            <DIV></DIV>
                            <DIV><BR>
                            <BLOCKQUOTE class=gmail_quote 
                            style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                              Jacques,<BR><BR>I put an example on the wiki based 
                              on Pat's example for running a coprocessing.&nbsp; 
                              It's at:<BR><A 
                              href="http://paraview.org/Wiki/Coprocessing_example#Python_Scripts" 
                              target=_blank>http://paraview.org/Wiki/Coprocessing_example#Python_Scripts</A><BR>Let 
                              me know if you have any problems with it so that I 
                              can fix any errors that I have.<BR><BR>Also, I 
                              just made changes so that the coprocessing library 
                              gets installed properly.<BR><BR>Thanks,<BR><FONT 
                              color=#888888>Andy</FONT>
                              <DIV>
                              <DIV></DIV>
                              <DIV><BR><BR>
                              <DIV class=gmail_quote>On Wed, Aug 4, 2010 at 7:21 
                              PM, Jacques Papper <SPAN dir=ltr>&lt;<A 
                              href="mailto:jacques.papper@gmail.com" 
                              target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> 
                              wrote:<BR>
                              <BLOCKQUOTE class=gmail_quote 
                              style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Thanks 
                                Pat, <BR><BR>I am trying to compile my first 
                                attempt.<BR>Although I do find the headers I 
                                need, I am having some trouble identifying which 
                                libraries I need to link to. <BR>For example, I 
                                assume that I should be linking to 
                                libvtkCoProcessor.so ... Although I find this 
                                library in the compilation folder (under bin), I 
                                do not find it in the make installed version 
                                under lib... <BR>Is this normal ? <BR><BR>Best, 
                                <BR>Jacques<BR><BR>
                                <DIV class=gmail_quote>2010/8/4 pat marion <SPAN 
                                dir=ltr>&lt;<A 
                                href="mailto:pat.marion@kitware.com" 
                                target=_blank>pat.marion@kitware.com</A>&gt;</SPAN>
                                <DIV>
                                <DIV></DIV>
                                <DIV><BR>
                                <BLOCKQUOTE class=gmail_quote 
                                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Below 
                                is a simple cxx program I have used for 
                                testing.&nbsp; It creates one sphere per 
                                process, positions the sphere as a function of 
                                the process id, and the spheres grow/shrink over 
                                time.<BR><BR>Pat<BR><BR>#include 
                                "vtkCPProcessor.h"<BR>#include 
                                "vtkCPPythonScriptPipeline.h"<BR>#include 
                                "vtkMultiProcessController.h"<BR>#include 
                                "vtkXMLUnstructuredGridReader.h"<BR>#include 
                                "vtkUnstructuredGrid.h"<BR>#include 
                                "vtkCPDataDescription.h"<BR>#include 
                                "vtkCPInputDataDescription.h"<BR>#include 
                                "vtkSmartPointer.h"<BR>#include 
                                "vtkPolyData.h"<BR>#include 
                                "vtkSphereSource.h"<BR><BR>#include 
                                &lt;stdio.h&gt;<BR>#include 
                                &lt;string&gt;<BR>#include 
                                &lt;sstream&gt;<BR><BR>static unsigned int 
                                procId;<BR><BR>void myprint(const 
                                std::string&amp; str)<BR>{<BR>&nbsp; 
                                printf("driver (%u): %s\n", procId, 
                                str.c_str());<BR>}<BR><BR>class DataGenerator 
                                {<BR>public:<BR><BR>&nbsp; 
                                DataGenerator()<BR>&nbsp;&nbsp;&nbsp; 
                                {<BR>&nbsp;&nbsp;&nbsp; this-&gt;Sphere = 
                                vtkSmartPointer&lt;vtkSphereSource&gt;::New();<BR>&nbsp;&nbsp;&nbsp; 
                                this-&gt;Sphere-&gt;SetThetaResolution(30);<BR>&nbsp;&nbsp;&nbsp; 
                                this-&gt;Sphere-&gt;SetPhiResolution(30);<BR>&nbsp;&nbsp;&nbsp; 
                                this-&gt;Sphere-&gt;SetCenter(procId*4.0, 0, 
                                0);<BR>&nbsp;&nbsp;&nbsp; this-&gt;Index = 
                                0;<BR>&nbsp;&nbsp;&nbsp; }<BR><BR>&nbsp; 
                                vtkSmartPointer&lt;vtkPolyData&gt; 
                                GetNext()<BR>&nbsp;&nbsp;&nbsp; 
                                {<BR>&nbsp;&nbsp;&nbsp; double radius = 
                                fabs(sin(0.1 * 
                                this-&gt;Index));<BR>&nbsp;&nbsp;&nbsp; 
                                this-&gt;Index++;<BR>&nbsp;&nbsp;&nbsp; 
                                this-&gt;Sphere-&gt;SetRadius(1.0 + 
                                radius);<BR>&nbsp;&nbsp;&nbsp; 
                                this-&gt;Sphere-&gt;Update();<BR>&nbsp;&nbsp;&nbsp; 
                                vtkSmartPointer&lt;vtkPolyData&gt; ret = 
                                vtkSmartPointer&lt;vtkPolyData&gt;::New();<BR>&nbsp;&nbsp;&nbsp; 
                                ret-&gt;DeepCopy(this-&gt;Sphere-&gt;GetOutput());<BR>&nbsp;&nbsp;&nbsp; 
                                return ret;<BR>&nbsp;&nbsp;&nbsp; 
                                }<BR><BR>protected:<BR><BR>&nbsp; int 
                                Index;<BR>&nbsp; 
                                vtkSmartPointer&lt;vtkSphereSource&gt; 
                                Sphere;<BR>&nbsp; <BR><BR>};<BR><BR>int main(int 
                                argc, char* argv[])<BR>{<BR>&nbsp; if (argc &lt; 
                                3)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp; 
                                printf("Usage: %s &lt;cp python file&gt; 
                                &lt;number of steps&gt;\n", 
                                argv[0]);<BR>&nbsp;&nbsp;&nbsp; return 
                                1;<BR>&nbsp;&nbsp;&nbsp; }<BR><BR>&nbsp; 
                                std::string cpPythonFile = argv[1];<BR>&nbsp; 
                                int nSteps = atoi(argv[2]);<BR><BR>&nbsp; 
                                myprint("starting coprocessor");<BR><BR>&nbsp; 
                                vtkCPProcessor* processor = 
                                vtkCPProcessor::New();<BR>&nbsp; 
                                processor-&gt;Initialize();<BR>&nbsp; 
                                vtkCPPythonScriptPipeline* pipeline = 
                                vtkCPPythonScriptPipeline::New();<BR><BR>&nbsp; 
                                // mpi was initialized when we called 
                                vtkCPPythonScriptPipeline::New()<BR>&nbsp; 
                                procId = 
                                vtkMultiProcessController::GetGlobalController()-&gt;GetLocalProcessId();<BR><BR><BR>&nbsp; 
                                // read the coprocessing python file<BR>&nbsp; 
                                myprint("loading pipeline python file: " + 
                                cpPythonFile);<BR>&nbsp; int success = 
                                pipeline-&gt;Initialize(cpPythonFile.c_str());<BR>&nbsp; 
                                if (!success)<BR>&nbsp;&nbsp;&nbsp; 
                                {<BR>&nbsp;&nbsp;&nbsp; 
                                myprint("aborting");<BR>&nbsp;&nbsp;&nbsp; 
                                return 1;<BR>&nbsp;&nbsp;&nbsp; }<BR><BR>&nbsp; 
                                processor-&gt;AddPipeline(pipeline);<BR>&nbsp; 
                                pipeline-&gt;Delete();<BR><BR>&nbsp; if (nSteps 
                                == 0)<BR>&nbsp;&nbsp;&nbsp; 
                                {<BR>&nbsp;&nbsp;&nbsp; return 
                                0;<BR>&nbsp;&nbsp;&nbsp; }<BR><BR>&nbsp; // 
                                create a data source<BR>&nbsp; DataGenerator 
                                generator;<BR><BR>&nbsp; // do 
                                coprocessing<BR>&nbsp; double tStart = 
                                0.0;<BR>&nbsp; double tEnd = 1.0;<BR>&nbsp; 
                                double stepSize = (tEnd - 
                                tStart)/nSteps;<BR><BR>&nbsp; 
                                vtkCPDataDescription* dataDesc = 
                                vtkCPDataDescription::New();<BR>&nbsp; 
                                dataDesc-&gt;AddInput("input");<BR><BR>&nbsp; 
                                for (int i = 0; i &lt; nSteps; 
                                ++i)<BR>&nbsp;&nbsp;&nbsp; 
                                {<BR><BR>&nbsp;&nbsp;&nbsp; double currentTime = 
                                tStart + stepSize*i;<BR>&nbsp;&nbsp;&nbsp; 
                                std::stringstream timeStr;<BR>&nbsp;&nbsp;&nbsp; 
                                timeStr &lt;&lt; "time(" &lt;&lt; i &lt;&lt; ", 
                                " &lt;&lt; currentTime &lt;&lt; 
                                ")";<BR><BR><BR>&nbsp;&nbsp;&nbsp; 
                                dataDesc-&gt;SetTimeData(currentTime, 
                                i);<BR><BR>&nbsp;&nbsp;&nbsp; myprint("call 
                                RequestDataDescription, " + 
                                timeStr.str());<BR>&nbsp;&nbsp;&nbsp; int 
                                do_coprocessing = 
                                processor-&gt;RequestDataDescription(dataDesc);<BR><BR>&nbsp;&nbsp;&nbsp; 
                                if 
                                (do_coprocessing)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                myprint("calling CoProcess, " + 
                                timeStr.str());<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                vtkSmartPointer&lt;vtkDataObject&gt; dataObject 
                                =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                generator.GetNext();<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                dataDesc-&gt;GetInputDescriptionByName("input")-&gt;SetGrid(dataObject);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                processor-&gt;CoProcess(dataDesc);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                }<BR>&nbsp;&nbsp;&nbsp; }<BR><BR><BR>&nbsp; 
                                myprint("finalizing");<BR>&nbsp; 
                                dataDesc-&gt;Delete();<BR>&nbsp; 
                                processor-&gt;Finalize();<BR>&nbsp; 
                                processor-&gt;Delete();<BR><BR>&nbsp; return 0;
                                <DIV>
                                <DIV></DIV>
                                <DIV><BR>}<BR><BR><BR><BR>
                                <DIV class=gmail_quote>On Wed, Aug 4, 2010 at 
                                12:14 PM, Andy Bauer <SPAN dir=ltr>&lt;<A 
                                href="mailto:andy.bauer@kitware.com" 
                                target=_blank>andy.bauer@kitware.com</A>&gt;</SPAN> 
                                wrote:<BR>
                                <BLOCKQUOTE class=gmail_quote 
                                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                                Jacques,<BR><BR>There is a polyhedra cell type 
                                in VTK now -- <A 
                                href="http://www.vtk.org/doc/nightly/html/classvtkPolyhedron.html" 
                                target=_blank>http://www.vtk.org/doc/nightly/html/classvtkPolyhedron.html</A><BR>As 
                                far as I know it works with all of the proper 
                                filters but since I haven't tried it yet I won't 
                                promise that.&nbsp; The good news is that Will 
                                Schroeder had a high interest in it and probably 
                                worked on some of it so I'd assume that it's 
                                working quite well right now.<BR><BR>As for 
                                Phasta, it does run in parallel (as props to 
                                their developers it was a finalist for the 2009 
                                Gordon Bell prize).&nbsp; The grid is already 
                                partitioned and each process runs the adaptor 
                                and creates an unstructured grid from its 
                                portion of the partitioned mesh.&nbsp; Thus, 
                                there isn't any need for mpi calls in the 
                                adaptor code.&nbsp; If you had ghost cell 
                                information in your partitioned mesh and wanted 
                                to get fancy you should be able to add that to 
                                your partitioned grid to make some of the 
                                filters faster but I haven't tried 
                                that.<BR><FONT color=#888888><BR>Andy</FONT>
                                <DIV>
                                <DIV></DIV>
                                <DIV><BR><BR>
                                <DIV class=gmail_quote>On Wed, Aug 4, 2010 at 
                                11:58 AM, Jacques Papper <SPAN dir=ltr>&lt;<A 
                                href="mailto:jacques.papper@gmail.com" 
                                target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> 
                                wrote:<BR>
                                <BLOCKQUOTE class=gmail_quote 
                                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Thanks 
                                a lot Andy, Takuya,<BR><BR>I'm using the 
                                PhastaAdaptor, and the FortranAdaptorAPI as a 
                                guide for the moment. <BR>I know there were 
                                talks of getting POLYHEDRAL cell support in VTK. 
                                Do you know if this is there yet?<BR>My dataset 
                                is multiregion unstructured polyhedral mesh 
                                domain decomposed amongst each processor. 
                                <BR><BR>Is the Phasta code parallelized ? If so, 
                                I do not see any MPI statements in the adaptor 
                                code ?<BR><BR>Jacques<BR><BR>
                                <DIV class=gmail_quote>2010/8/4 Andy Bauer <SPAN 
                                dir=ltr>&lt;<A 
                                href="mailto:andy.bauer@kitware.com" 
                                target=_blank>andy.bauer@kitware.com</A>&gt;</SPAN>
                                <DIV>
                                <DIV></DIV>
                                <DIV><BR>
                                <BLOCKQUOTE class=gmail_quote 
                                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi 
                                Jacques,<BR><BR>What type of data set do you 
                                have?&nbsp; Even though the PHASTA adaptor ( 
                                ParaView/CoProcessing/Adaptors/FortranAdaptors/PhastaAdaptor) 
                                is for fortran code it may give you an 
                                idea.&nbsp; Also stepping through the example in 
                                ParaView/CoProcessing/CoProcessor/Testing/Cxx/PythonScriptCoProcessingExample.cxx 
                                may help as well.<BR><BR>I'll spend some time 
                                this week putting up a skeleton of a simulation 
                                code on the coprocessing wiki that should 
                                hopefully be easier to follow.&nbsp; I'll let 
                                you know when it's done.<BR><FONT 
                                color=#888888><BR>Andy<BR><BR></FONT>
                                <DIV class=gmail_quote>
                                <DIV>
                                <DIV></DIV>
                                <DIV>On Wed, Aug 4, 2010 at 8:02 AM, Jacques 
                                Papper <SPAN dir=ltr>&lt;<A 
                                href="mailto:jacques.papper@gmail.com" 
                                target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN> 
                                wrote:<BR></DIV></DIV>
                                <BLOCKQUOTE class=gmail_quote 
                                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
                                <DIV>
                                <DIV></DIV>
                                <DIV>Hi All,<BR><BR>Sorry for my last post, I 
                                figured out that I had wrongly set my 
                                PYTHONPATH.. <BR>All the tests work ok now. 
                                Still interested in CoProcessing adaptors 
                                examples though :) <BR><BR>Thanks 
                                <BR>Jacques<BR><BR>
                                <DIV class=gmail_quote>2010/8/4 Jacques Papper 
                                <SPAN dir=ltr>&lt;<A 
                                href="mailto:jacques.papper@gmail.com" 
                                target=_blank>jacques.papper@gmail.com</A>&gt;</SPAN>
                                <DIV>
                                <DIV></DIV>
                                <DIV><BR>
                                <BLOCKQUOTE class=gmail_quote 
                                style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>
                                <DIV class=gmail_quote>Hi All, <BR><BR>I'm 
                                starting to look into the ParaView CoProcessing 
                                libraries. <BR>I just pulled from git today, and 
                                compiled it all up following the guidelines in 
                                :<BR><A 
                                href="http://www.paraview.org/Wiki/CoProcessing" 
                                target=_blank>http://www.paraview.org/Wiki/CoProcessing</A><BR>I 
                                didn't find 
                                :<BR><B>BUILD_PYTHON_COPROCESSING_ADAPTOR<BR></B>but 
                                instead 
                                :<BR>PARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator<BR>anyway 
                                the compilation went through without any 
                                issues.<BR>I then tried :<BR><BR>ctest -R 
                                CoProcessing<BR>Test project 
                                /users/boreas01/jacques/PARAVIEW/ParaView-bin<BR>&nbsp;&nbsp;&nbsp; 
                                Start 491: CoProcessingTestPythonScript<BR>1/3 
                                Test #491: CoProcessingTestPythonScript 
                                ...........&nbsp;&nbsp; Passed&nbsp;&nbsp;&nbsp; 
                                0.45 sec<BR>&nbsp;&nbsp;&nbsp; Start 492: 
                                CoProcessingPythonScriptGridPlot<BR>2/3 Test 
                                #492: CoProcessingPythonScriptGridPlot 
                                .......***Failed&nbsp;&nbsp;&nbsp; 0.09 
                                sec<BR>&nbsp;&nbsp;&nbsp; Start 493: 
                                CoProcessingPythonScriptPressurePlot<BR>3/3 Test 
                                #493: CoProcessingPythonScriptPressurePlot 
                                ...***Failed&nbsp;&nbsp;&nbsp; 0.09 
                                sec<BR><BR>33% tests passed, 2 tests failed out 
                                of 3<BR><BR>Total Test time (real) =&nbsp;&nbsp; 
                                0.68 sec<BR><BR>The following tests 
                                FAILED:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                492 - CoProcessingPythonScriptGridPlot 
                                (Failed)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                493 - CoProcessingPythonScriptPressurePlot 
                                (Failed)<BR>Errors while running CTest<BR><BR>Is 
                                this a problem in my current installation or on 
                                the master branch ? <BR><BR>Finally, I would 
                                like to start writing an adaptor to a C++ 
                                parallelised code. Can you tell me what is the 
                                closest code I can inspire myself from ? 
                                <BR><BR><BR>Thank you, <BR><FONT 
                                color=#888888><FONT 
                                color=#888888>Jacques<BR></FONT></FONT></DIV><BR><BR>PS 
                                sorry mixed up the subjects.. 
                                <BR></BLOCKQUOTE></DIV></DIV></DIV><BR><BR></DIV></DIV>
                                <DIV>_______________________________________________<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>Follow 
                                this link to subscribe/unsubscribe:<BR><A 
                                href="http://www.paraview.org/mailman/listinfo/paraview" 
                                target=_blank>http://www.paraview.org/mailman/listinfo/paraview</A><BR><BR></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV><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>Follow 
                                this link to subscribe/unsubscribe:<BR><A 
                                href="http://www.paraview.org/mailman/listinfo/paraview" 
                                target=_blank>http://www.paraview.org/mailman/listinfo/paraview</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></DIV></DIV><BR></BLOCKQUOTE></DIV></DIV></DIV><BR></DIV><BR></DIV></DIV><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>Follow this link to 
  subscribe/unsubscribe:<BR><A 
  href="http://www.paraview.org/mailman/listinfo/paraview" 
  target=_blank>http://www.paraview.org/mailman/listinfo/paraview</A><BR><BR></BLOCKQUOTE></DIV><BR><p>**********************************************************************<br />This email contains information that is private and confidential and is intended only for the addressee.<br />If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br />Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br />system management and security reasons.<br />Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:<br />Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</BODY></HTML>