Please help me to pass multiple arguments into Catalyst

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” 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?

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

mpirun -np 2 -X 256 -Y 256

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