How to run Catalyst/Paraview code examples?

2019-08-08 19:05发布

问题:

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.

回答1:

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.