How to run Catalyst/Paraview code examples?

守給你的承諾、 提交于 2019-12-11 07:09:17

问题


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.



来源:https://stackoverflow.com/questions/26416630/how-to-run-catalyst-paraview-code-examples

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!