# how to run CatalystV2 examples on Windows

**URL:** https://discourse.paraview.org/t/how-to-run-catalystv2-examples-on-windows/9519
**Category:** In Situ Support
**Created:** [April 26, 2022, 2:57pm UTC](https://discourse.paraview.org/t/how-to-run-catalystv2-examples-on-windows/9519 "2022-04-26T14:57:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![QZhu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/q/8baadc/32.png) [@QZhu](https://discourse.paraview.org/u/QZhu)
#### Post date: [April 26, 2022, 2:57pm UTC](https://discourse.paraview.org/t/how-to-run-catalystv2-examples-on-windows/9519/1 "2022-04-26T14:57:54Z")

</div>

Hello Paraview team,

I am trying to run CatalystV2 on a windows machine and having some troubles get the example C++ programs running.

Following this guide ([ParaView/build.md at master · Kitware/ParaView · GitHub](https://github.com/Kitware/ParaView/blob/master/Documentation/dev/build.md#windows)),  
paraview is built successfully from the source, with a working paraview.exe in the bin directory. The configuration  
parameters are set as  
“cmake -GNinja -DPARAVIEW\_USE\_PYTHON=ON -DPARAVIEW\_USE\_MPI=ON -DVTK\_SMP\_IMPLEMENTATION\_TYPE=Sequential -DCMAKE\_BUILD\_TYPE=Release”.

Then I tried the C++ examples following the tutorial ([How to try out Catalyst2](https://discourse.paraview.org/t/how-to-try-out-catalyst2/9008)) and  
CFullExampleV2.exe and CxxFullExampleV2.exe are built successfully as well. The problem appears when the exe excuables are launched from the command line, I got the following error.

xxx\CxxFullExampleV2.exe xxx\CxxFullExample\catalyst\_pipeline.py  
Failed to initialize Catalyst: 3  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to execute Catalyst: 1  
Failed to finalize Catalyst: 1

One more curious thing is that ‘pvbatch’ or ‘pvpython’ in the bin directory also have trouble running the Python Catalyst example. On the other hand, I was able to use the ‘pvbatch’ or ‘pvpython’ from the pre-compiled ParaView binary for Windows.

Didn’t have much luck locating the source of the errors with the VS debugging tool. Any suggestions of how to fix this problem would be greatly appreciated!

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////  
–ParaView version 5.10.1, obtained with git from [https://gitlab.kitware.com/paraview/paraview.git](https://gitlab.kitware.com/paraview/paraview.git)  
–OS: windows 10 enterprise  
–Visual Studio 2019

Cheers,  
QZhu

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 16, 2022, 12:39am UTC](https://discourse.paraview.org/t/how-to-run-catalystv2-examples-on-windows/9519/2 "2022-05-16T00:39:43Z")

</div>

> [@QZhu](#):
>
> Failed to initialize Catalyst: 3

This means that the implementation for catalyst was not found. Setting `CATALYST_IMPLEMENTATION_PATHS` in the environment may help here.

---

<div class="post-metadata">

### Author: ![QZhu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/q/8baadc/32.png) [@QZhu](https://discourse.paraview.org/u/QZhu)
#### Post date: [May 17, 2022, 1:42pm UTC](https://discourse.paraview.org/t/how-to-run-catalystv2-examples-on-windows/9519/3 "2022-05-17T13:42:10Z")

</div>

Thanks, this helps a lot! After setting the PATH variable to the right directory, the catalyst example can run smoothly now.

---

<div class="post-metadata">

### Author: ![BingHan\_Lin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/binghan_lin/32/11976_2.png) [@BingHan\_Lin](https://discourse.paraview.org/u/BingHan_Lin)
#### Post date: [July 11, 2023, 1:20pm UTC](https://discourse.paraview.org/t/how-to-run-catalystv2-examples-on-windows/9519/4 "2023-07-11T13:20:56Z")

</div>

Hello, QZhu. Which path you give to PATH and CATALYST\_IMPLEMENTATION\_PATHS variable?
