<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;">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 class="mw-headline" id="CoProcessingExample.cxx">
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>
</body>
</html>