<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<br>
I am new to Paraview, so, my questions seems to look obvious... Sorry about that.<br>
<br>
At first I believed Catalyst was a sort of "add-on" to put on top of Paraview : so I built from source ParaView-v4.0.1-source.tgz one the one hand, and, catalyst-base-1.0.alpha.tgz on the other hand (believing I will need both).<br>
I seems I have succeeded to run the CxxFullExample from <a href="https://github.com/acbauer/CatalystExampleCode" target="_blank">
https://github.com/acbauer/CatalystExampleCode</a> :<br>
1. I compiled the CxxFullExample pointing ONLY at the Paraview install directory (using Paraview_DIR in cmake) but I did NOT use the Catalyst install directory<br>
2. I run mpirun -n 2 ./FEDriver feslicescript.py => I get fullgrid* and slice* files that are to be post-processed by Paraview while the simulation is running<br>
<br>
My understanding is that I do not need the catalyst install if I build Paraview with build options from the "old" wiki page
<a href="http://www.paraview.org/Wiki/CoProcessing" target="_blank">http://www.paraview.org/Wiki/CoProcessing</a> ? I am correct : using correct build options, Catalyst wiil be included in Paraview, right ? Catalyst is not an "add-on" (that you first need to
link to, to be able, in a second step, to "do stuffs" with Paraview) , right ? Catalyst is more like a kind of "batch mode of Paraview" that extracts the necessary bunch of code from Paraview that enables to create the fullgrid* and slice* files without necessary
need to install (the full version of) Paraview, right ?<br>
<br>
Do I understand correctly ?<br>
<br>
Also, is there a way to control the simulation live : is there a way to create commands like "run", "stop", "do one more iteration, stop and update live plots on screen" using a kind of client/server communication pattern ? (server = simulation running on a
cluster, client = paraview running on a laptop). As far as I understand, with a Python script I can generate output to post-process while the simulation is running, but I can not control it (stop, run, step, select more or less stuffs to save for the current
time iteration), right ?<br>
<br>
Thanks,<br>
<br>
FH<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF894686"><font color="#000000" face="Tahoma" size="2"><b>De :</b> Andy Bauer [andy.bauer@kitware.com]<br>
<b>Date d'envoi :</b> samedi 27 juillet 2013 17:08<br>
<b>À :</b> HOUSSEN Franck<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Objet :</b> Re: [Paraview] Co-processing (in situ visu) : vtkCoProcessorImplementation is not built<br>
</font><br>
</div>
<div></div>
<div>Hi,<br>
<br>
That wiki page is a bit outdated. The best reference for that is the attached guide. I'm working on updating the wiki pages and making
<a href="http://catalyst.paraview.org" target="_blank">catalyst.paraview.org</a> more informative. I'm hoping in a week or two things will be in decent shape.<br>
<br>
Regards,<br>
Andy<br>
<br>
<div class="gmail_quote">On Sat, Jul 27, 2013 at 9:07 AM, HOUSSEN Franck <span dir="ltr">
<<a href="mailto:Franck.Houssen@cea.fr" target="_blank">Franck.Houssen@cea.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">Hello,<br>
<br>
I try to do some in-situ visualization with Paraview. I went through the tutorial : <a href="http://www.paraview.org/Wiki/CoProcessing" target="_blank">http://www.paraview.org/Wiki/CoProcessing</a><br>
<br>
I run Ubuntu 12.04. I built Paraview from source (ParaView-v4.0.1-source.tgz) with :<br>
~/Programs/Paraview/ParaView-v4.0.1-build>cmake -DPARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator=ON -DPARAVIEW_BUILT_QT_GUI=ON -DBUILD_SHARED_LIBS=ON -DPARAVIEW_ENABLE<br>
_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DCMAKE_BUILD_TYPE=Release -DPARAVIEW_ENABLE_COPROCESSING=ON -DBUILD_COPROCESSING_ADAPTORS=ON -DBUILD_FORTRAN_COPROCESSING_ADAPTORS=ON -D<br>
PYTHON_ENABLE_MODULE_vtkCoProcessorPython=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DCMAKE_INSTALL_PREFIX:PATH=/home/fh/Programs/Paraview/local ../ParaView-v4.0.1-source<br>
<br>
When I "make install" there is no libvtkCoProcessorImplementation neither in /home/fh/Programs/Paraview/local/lib, nor in /home/fh/Programs/Paraview//local/lib/paraview-4.0/ : the co-processing example (<a href="http://www.paraview.org/Wiki/Coprocessing_example" target="_blank">http://www.paraview.org/Wiki/Coprocessing_example</a>)
does not link !...<br>
<br>
Also, I am not sure to understand how things must be run and set :<br>
1. first, in a first terminal, I have to run the simulation (main program from <span>
CoProcessingExample.cxx</span>)<br>
2. then, I guess I have to run Paraview using a (pre-generated Python) script but I didn't really understand how to do that...<br>
As far as I understand, at each simulation step, the simulation must generate, for instance, a HDF5 results file (that contain variables to visualize - each HDF5 must be labelled with the time step it is related to). Then, Paraview is used to visualize data
from the corresponding HDF5 file (associated to the current time step) while the simulation keeps on running. And when a new time step is done (new HDF5 is generated), the Python script is used by Paraview to udpate the visualisation on screen. Did I understood
correctly this part ? If yes, I didn't get how Paraview "knows" a new time step is "done and available for visualisation". Also I am not sure to know how to "launch the Pyhton script".<br>
<br>
Can somebody help me on this ?<br>
<br>
Thanks<br>
<br>
FH<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>
</div>
</body>
</html>