[Paraview] Co-processing (in situ visu) : vtkCoProcessorImplementation is not built

HOUSSEN Franck Franck.Houssen at cea.fr
Sat Jul 27 09:07:05 EDT 2013


Hello,

I try to do some in-situ visualization with Paraview. I went through the tutorial : http://www.paraview.org/Wiki/CoProcessing

I run Ubuntu 12.04. I built Paraview from source (ParaView-v4.0.1-source.tgz) with :
~/Programs/Paraview/ParaView-v4.0.1-build>cmake -DPARAVIEW_BUILD_PLUGIN_CoProcessingScriptGenerator=ON -DPARAVIEW_BUILT_QT_GUI=ON -DBUILD_SHARED_LIBS=ON -DPARAVIEW_ENABLE
_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DCMAKE_BUILD_TYPE=Release -DPARAVIEW_ENABLE_COPROCESSING=ON -DBUILD_COPROCESSING_ADAPTORS=ON -DBUILD_FORTRAN_COPROCESSING_ADAPTORS=ON -D
PYTHON_ENABLE_MODULE_vtkCoProcessorPython=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DCMAKE_INSTALL_PREFIX:PATH=/home/fh/Programs/Paraview/local ../ParaView-v4.0.1-source

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 (http://www.paraview.org/Wiki/Coprocessing_example) does not link !...

Also, I am not sure to understand how things must be run and set :
1. first, in a first terminal, I have to run the simulation (main program from CoProcessingExample.cxx)
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...
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".

Can somebody help me on this ?

Thanks

FH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130727/54c85692/attachment-0001.htm>


More information about the ParaView mailing list