# Please help me to pass multiple arguments into Catalyst

**URL:** https://discourse.paraview.org/t/please-help-me-to-pass-multiple-arguments-into-catalyst/587
**Category:** In Situ Support
**Created:** [September 17, 2018, 3:59pm UTC](https://discourse.paraview.org/t/please-help-me-to-pass-multiple-arguments-into-catalyst/587 "2018-09-17T15:59:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dawei\_Mu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@Dawei\_Mu](https://discourse.paraview.org/u/Dawei_Mu)
#### Post date: [September 17, 2018, 3:59pm UTC](https://discourse.paraview.org/t/please-help-me-to-pass-multiple-arguments-into-catalyst/587/1 "2018-09-17T15:59:30Z")

</div>

I am trying to add catalyst into my C code, the code needs multiple input arguments to run “mpirun -np 2 -X 256 -Y 256 pythonscripts.py” and I received an error message like “vtkCPPythonScriptPipeline (0x40ccef0): Could not find file -X”.

Could someone guide me on how to run the code with Catalyst enabled?

---

<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: [September 17, 2018, 5:23pm UTC](https://discourse.paraview.org/t/please-help-me-to-pass-multiple-arguments-into-catalyst/587/2 "2018-09-17T17:23:23Z")

</div>

MPI is trying to run `-X` as your command. Does this work?

```auto
mpirun -np 2 pythonscripts.py -X 256 -Y 256

```

---

<div class="post-metadata">

### Author: ![Dawei\_Mu](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@Dawei\_Mu](https://discourse.paraview.org/u/Dawei_Mu)
#### Post date: [October 5, 2018, 9:15pm UTC](https://discourse.paraview.org/t/please-help-me-to-pass-multiple-arguments-into-catalyst/587/3 "2018-10-05T21:15:47Z")

</div>

Thank you for your suggestion, I think I passed the wrong parameter as the python script as you suggested.
