Search code examples
pythoncatalysthpcparaview

How to run Catalyst/Paraview code examples?


Hi I'm trying to figure out catalist and Paraview for a while. I tried to run these examples on my Paraview but without success. https://github.com/Kitware/ParaViewCatalystExampleCode I imagined at least the python code would run with the python shell. But it doesn't seem to work either. I viewed all the kitware tutorials and some others online. But still no progress. Any help is appreciated.


Solution

  • You should be able to run all of the non-Python examples with CTest (i.e. ctest executable). I would suggest running CTest with the -v flag to get verbose output. This will show the command line used to run the examples. For the PythonFullExample, you can just run that with pvpython. Note that many of the executables take in a ParaView Catalyst Python script as a command line argument.