Glad to hear it's working properly now! I figured it was something quite
subtle but not overly complex to fix once the issue was found.
On Mon, Jul 10, 2017 at 2:28 AM, wrote:
> Hi Andy,
>
> Thanks for your help. I think i found the problem. In my case, the
>
Hi Andy,
Thanks for your help. I think i found the problem. In my case, the
initialization code was something like following,
...
vtkSmartPointer pipeline =
vtkSmartPointer::New();
for (int i = 0; i < *nscript; i++) {
pipeline->Initialize(pythonScriptNames[i]);
Hi Ufuk,
It's looking to me like the issue is in the adaptor some place. I tried
running your scripts (modified slightly) with the CxxFullExample
(./CxxFullExample script_1.py script_2.py) and was able to get image_s1*
and image_s2* files out of it and did not see the warning you mention. I
also
Hi Andy,
Strange! To test the idea and eliminate other problems i am using same
script twice with little mods (i just changed the name of the output png
file). So, if i pass script_1.py and script_2.py to the model, it gives
warning like before and creates output just for second script
Hi Ufuk,
I'm guessing the issue is that the calls to Catalyst are not consistent.
Could you share your Python scripts? Also, did you modify them manually?
I tried with PV 5.3. with
the ../ParaView-v5.3.0/Examples/Catalyst/CxxFullExample/ example with the
attached scripts simultaneously by
Hi Andy,
I tested you suggestion about using multiple script in co-processing. In
this case, i used following code in the adaptor side to add multiple
pipeline
for (int i = 0; i < *nscript; i++) {
pipeline->Initialize(pythonScriptNames[i]);
Hi Ufuk,
If you create a vtkCPythonScriptPipeline, when you initialize it with the
script file name (which has to be done on each process) everything will be
taken care of with respect to broadcasting the file contents from process 0
to the others. We aren't sophisticated enough to parse the
Thanks Andy. That is exactly what i am looking for. The broadcasting
mechanism is not clear to me yet. Do i need to broadcast only the file
names? Anyway, i will try to implement it and see what is going on there.
Thanks again,
Regards,
--ufuk
On 16/05/2017 14:58, Andy Bauer wrote:
Hi Ufuk,
Hi Ufuk,
Unless I'm not understanding your question correctly, I think you can get
what you want by adding in multiple vtkCPPythonScriptPipelines to your
vtkCPProcessor object in your adaptor. Alternatively if you want to have a
single, master Catalyst script handling other Catalyst scripts you
Hi All,
I just wonder that is it possible to trigger multiple visualization
pipeline in the same time with co-processing. The co-processing script
generator plugin mainly outputs only single pipeline at a time and that
is fine but what about combining multiple Python script (generated by
10 matches
Mail list logo