Please help me to pass multiple arguments into Catalyst


(Dawei Mu) #1

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?


(Ben Boeckel) #2

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

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

(Dawei Mu) #3

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