I'm going to try and put up a public wiki this weekend about the coprocessing/in situ viz. If I don't send out the link on Monday bug me about it until I get it done :)<br><br>Andy<br><br><div class="gmail_quote">
On Thu, Mar 18, 2010 at 9:56 AM, liuning <span dir="ltr"><<a href="mailto:tantics@gmail.com">tantics@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi Andy,</div><div><br></div>That is great! I will try the CoProcessing soon. We have a cluster(about 500 nodes) to do physical simulation. The generated data mainly consist of volume data ,meshes and particles. We want to visualize the data and show the result using a tiled display. People can interact with the viz process through a master node. I really appreciate if you can give me more details.<div>
<br></div><div>Thank you.</div><div><br></div><div>-Ning<br><br><div class="gmail_quote"><div class="im">On Thu, Mar 18, 2010 at 9:12 PM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">I'm working on doing in situ viz with paraview and have committed some beta code into the paraview repository. The code is in ParaView3/CoProcessing if you want to look at it. You can turn it on by setting the paraview_enable_coprocessing cmake variable to on. It uses python to set up the pipelines for you in the coprocessing libraries. You can also build paraview with PARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator which will create a plugin to create the python scripts for coprocessing. We have this working and are in the processing of getting performance numbers on some supercomputers with a parallel cfd code but everything is still a bit sparsely documented. If you're interested I can give you more details.<br>
<font color="#888888">
<br>Andy</font></div><div><div></div><div><br><br><div><div></div><div class="h5"><div class="gmail_quote">On Thu, Mar 18, 2010 at 8:04 AM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div></blockquote>PS: Boost.Python seems to be capable of enabling Python to invoke C++ methods.Does ParaView use Boost.Python ?</div>
<div>
<br>It does not. For completeness you should also investigate swig which is the standard for doing that.<br><br>But ParaView uses neither of those. Instead it has its own (older) wrapping technology, which is the same technology at work in Tcl, Java and Python wrapped VTK, and also behind the wrapping into ParaView's own client server language. The idea is the same behind all of them, cmake scripts that drive a lex/yacc based executable that parses VTK C++ header files to create code that can instantiate VTK classes and then call public methods on those instances. See <a href="http://www.vtk.org/Wiki/VTK/Python_Wrapping_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK/Python_Wrapping_FAQ</a> for more information. But you will have to read the code to learn the details.<br>
<br>Once wrapped, python scripts can call into ParaView's C++ servermanager API just like the standard C++ client does once they have loaded the wrapped ParaView libraries.<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div></div><div>Thanks a lot.</div><div><br></div><div>-Ning</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>
<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></div></div></blockquote></div><br></div>
</blockquote></div><br>