[Paraview] multiple visualization pipeline at a time with co-processing

Andy Bauer andy.bauer at kitware.com
Mon Jul 10 10:13:16 EDT 2017


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, <u.utku.turuncoglu at be.itu.edu.tr> wrote:

> Hi Andy,
>
> Thanks for your help. I think i found the problem. In my case, the
> initialization code was something like following,
>
> ...
>       vtkSmartPointer<vtkCPPythonScriptPipeline> pipeline =
> vtkSmartPointer<vtkCPPythonScriptPipeline>::New();
>       for (int i = 0; i < *nscript; i++) {
>         pipeline->Initialize(pythonScriptNames[i]);
>         g_coprocessor->AddPipeline(pipeline);
>       }
> ...
>
> when i look at your test code i found that the pipeline variable is
> created inside of the loop, which is the correct one. So, i change it like
>
> ...
>       for (int i = 0; i < *nscript; i++) {
>         vtkSmartPointer<vtkCPPythonScriptPipeline> pipeline =
> vtkSmartPointer<vtkCPPythonScriptPipeline>::New();
>         pipeline->Initialize(pythonScriptNames[i]);
>         g_coprocessor->AddPipeline(pipeline);
>       }
> ...
>
> and now it works without any problem. So, it was wrong usage of the
> pointer (my mistake). Anyway, thanks again. BTW, the output of your test
> script as follows,
>
> --- OUTPUT ---
> ('SCRIPT1 RDD time ', 0.0, ' time step ', 0L)
> ('SCRIPT2 RDD time ', 0.0, ' time step ', 0L)
> ('SCRIPT1 RDD time ', 0.0, ' time step ', 0L)
> ('SCRIPT1 DCP time ', 0.0, ' time step ', 0L)
> ('SCRIPT2 RDD time ', 0.0, ' time step ', 0L)
> ('SCRIPT2 DCP time ', 0.0, ' time step ', 0L)
> ('SCRIPT1 RDD time ', 0.1, ' time step ', 1L)
> ('SCRIPT2 RDD time ', 0.1, ' time step ', 1L)
> ('SCRIPT1 RDD time ', 0.1, ' time step ', 1L)
> ('SCRIPT1 DCP time ', 0.1, ' time step ', 1L)
> ('SCRIPT2 RDD time ', 0.1, ' time step ', 1L)
> ('SCRIPT2 DCP time ', 0.1, ' time step ', 1L)
> ('SCRIPT1 RDD time ', 0.2, ' time step ', 2L)
> ('SCRIPT2 RDD time ', 0.2, ' time step ', 2L)
> ('SCRIPT1 RDD time ', 0.2, ' time step ', 2L)
> ('SCRIPT1 DCP time ', 0.2, ' time step ', 2L)
> ('SCRIPT2 RDD time ', 0.2, ' time step ', 2L)
> ('SCRIPT2 DCP time ', 0.2, ' time step ', 2L)
> ('SCRIPT1 RDD time ', 0.30000000000000004, ' time step ', 3L)
> ('SCRIPT2 RDD time ', 0.30000000000000004, ' time step ', 3L)
> ('SCRIPT1 RDD time ', 0.30000000000000004, ' time step ', 3L)
> ('SCRIPT1 DCP time ', 0.30000000000000004, ' time step ', 3L)
> ('SCRIPT2 RDD time ', 0.30000000000000004, ' time step ', 3L)
> ('SCRIPT2 DCP time ', 0.30000000000000004, ' time step ', 3L)
> ('SCRIPT1 RDD time ', 0.4, ' time step ', 4L)
> ('SCRIPT2 RDD time ', 0.4, ' time step ', 4L)
> ('SCRIPT1 RDD time ', 0.4, ' time step ', 4L)
> ('SCRIPT1 DCP time ', 0.4, ' time step ', 4L)
> ('SCRIPT2 RDD time ', 0.4, ' time step ', 4L)
> ('SCRIPT2 DCP time ', 0.4, ' time step ', 4L)
> ('SCRIPT1 RDD time ', 0.5, ' time step ', 5L)
> ('SCRIPT2 RDD time ', 0.5, ' time step ', 5L)
> ('SCRIPT1 RDD time ', 0.5, ' time step ', 5L)
> ('SCRIPT1 DCP time ', 0.5, ' time step ', 5L)
> ('SCRIPT2 RDD time ', 0.5, ' time step ', 5L)
> ('SCRIPT2 DCP time ', 0.5, ' time step ', 5L)
> ('SCRIPT1 RDD time ', 0.6000000000000001, ' time step ', 6L)
> ('SCRIPT2 RDD time ', 0.6000000000000001, ' time step ', 6L)
> ('SCRIPT1 RDD time ', 0.6000000000000001, ' time step ', 6L)
> ('SCRIPT1 DCP time ', 0.6000000000000001, ' time step ', 6L)
> ('SCRIPT2 RDD time ', 0.6000000000000001, ' time step ', 6L)
> ('SCRIPT2 DCP time ', 0.6000000000000001, ' time step ', 6L)
> ('SCRIPT1 RDD time ', 0.7000000000000001, ' time step ', 7L)
> ('SCRIPT2 RDD time ', 0.7000000000000001, ' time step ', 7L)
> ('SCRIPT1 RDD time ', 0.7000000000000001, ' time step ', 7L)
> ('SCRIPT1 DCP time ', 0.7000000000000001, ' time step ', 7L)
> ('SCRIPT2 RDD time ', 0.7000000000000001, ' time step ', 7L)
> ('SCRIPT2 DCP time ', 0.7000000000000001, ' time step ', 7L)
> ('SCRIPT1 RDD time ', 0.8, ' time step ', 8L)
> ('SCRIPT2 RDD time ', 0.8, ' time step ', 8L)
> ('SCRIPT1 RDD time ', 0.8, ' time step ', 8L)
> ('SCRIPT1 DCP time ', 0.8, ' time step ', 8L)
> ('SCRIPT2 RDD time ', 0.8, ' time step ', 8L)
> ('SCRIPT2 DCP time ', 0.8, ' time step ', 8L)
> ('SCRIPT1 RDD time ', 0.9, ' time step ', 9L)
> ('SCRIPT2 RDD time ', 0.9, ' time step ', 9L)
> ('SCRIPT1 RDD time ', 0.9, ' time step ', 9L)
> ('SCRIPT1 DCP time ', 0.9, ' time step ', 9L)
> ('SCRIPT2 RDD time ', 0.9, ' time step ', 9L)
> ('SCRIPT2 DCP time ', 0.9, ' time step ', 9L)
> ('SCRIPT1 RDD time ', 1.0, ' time step ', 10L)
> ('SCRIPT2 RDD time ', 1.0, ' time step ', 10L)
> ('SCRIPT1 RDD time ', 1.0, ' time step ', 10L)
> ('SCRIPT1 DCP time ', 1.0, ' time step ', 10L)
> ('SCRIPT2 RDD time ', 1.0, ' time step ', 10L)
> ('SCRIPT2 DCP time ', 1.0, ' time step ', 10L)
> ('SCRIPT1 RDD time ', 1.1, ' time step ', 11L)
> ('SCRIPT2 RDD time ', 1.1, ' time step ', 11L)
> ('SCRIPT1 RDD time ', 1.1, ' time step ', 11L)
> ('SCRIPT1 DCP time ', 1.1, ' time step ', 11L)
> ('SCRIPT2 RDD time ', 1.1, ' time step ', 11L)
> ('SCRIPT2 DCP time ', 1.1, ' time step ', 11L)
> ('SCRIPT1 RDD time ', 1.2000000000000002, ' time step ', 12L)
> ('SCRIPT2 RDD time ', 1.2000000000000002, ' time step ', 12L)
> ('SCRIPT1 RDD time ', 1.2000000000000002, ' time step ', 12L)
> ('SCRIPT1 DCP time ', 1.2000000000000002, ' time step ', 12L)
> ('SCRIPT2 RDD time ', 1.2000000000000002, ' time step ', 12L)
> ('SCRIPT2 DCP time ', 1.2000000000000002, ' time step ', 12L)
> ('SCRIPT1 RDD time ', 1.3, ' time step ', 13L)
> ('SCRIPT2 RDD time ', 1.3, ' time step ', 13L)
> ('SCRIPT1 RDD time ', 1.3, ' time step ', 13L)
> ('SCRIPT1 DCP time ', 1.3, ' time step ', 13L)
> ('SCRIPT2 RDD time ', 1.3, ' time step ', 13L)
> ('SCRIPT2 DCP time ', 1.3, ' time step ', 13L)
> ('SCRIPT1 RDD time ', 1.4000000000000001, ' time step ', 14L)
> ('SCRIPT2 RDD time ', 1.4000000000000001, ' time step ', 14L)
> ('SCRIPT1 RDD time ', 1.4000000000000001, ' time step ', 14L)
> ('SCRIPT1 DCP time ', 1.4000000000000001, ' time step ', 14L)
> ('SCRIPT2 RDD time ', 1.4000000000000001, ' time step ', 14L)
> ('SCRIPT2 DCP time ', 1.4000000000000001, ' time step ', 14L)
> ('SCRIPT1 RDD time ', 1.5, ' time step ', 15L)
> ('SCRIPT2 RDD time ', 1.5, ' time step ', 15L)
> ('SCRIPT1 RDD time ', 1.5, ' time step ', 15L)
> ('SCRIPT1 DCP time ', 1.5, ' time step ', 15L)
> ('SCRIPT2 RDD time ', 1.5, ' time step ', 15L)
> ('SCRIPT2 DCP time ', 1.5, ' time step ', 15L)
> ('SCRIPT1 RDD time ', 1.6, ' time step ', 16L)
> ('SCRIPT2 RDD time ', 1.6, ' time step ', 16L)
> ('SCRIPT1 RDD time ', 1.6, ' time step ', 16L)
> ('SCRIPT1 DCP time ', 1.6, ' time step ', 16L)
> ('SCRIPT2 RDD time ', 1.6, ' time step ', 16L)
> ('SCRIPT2 DCP time ', 1.6, ' time step ', 16L)
> ('SCRIPT1 RDD time ', 1.7000000000000002, ' time step ', 17L)
> ('SCRIPT2 RDD time ', 1.7000000000000002, ' time step ', 17L)
> ('SCRIPT1 RDD time ', 1.7000000000000002, ' time step ', 17L)
> ('SCRIPT1 DCP time ', 1.7000000000000002, ' time step ', 17L)
> ('SCRIPT2 RDD time ', 1.7000000000000002, ' time step ', 17L)
> ('SCRIPT2 DCP time ', 1.7000000000000002, ' time step ', 17L)
> ('SCRIPT1 RDD time ', 1.8, ' time step ', 18L)
> ('SCRIPT2 RDD time ', 1.8, ' time step ', 18L)
> ('SCRIPT1 RDD time ', 1.8, ' time step ', 18L)
> ('SCRIPT1 DCP time ', 1.8, ' time step ', 18L)
> ('SCRIPT2 RDD time ', 1.8, ' time step ', 18L)
> ('SCRIPT2 DCP time ', 1.8, ' time step ', 18L)
> ('SCRIPT1 RDD time ', 1.9000000000000001, ' time step ', 19L)
> ('SCRIPT2 RDD time ', 1.9000000000000001, ' time step ', 19L)
> ('SCRIPT1 RDD time ', 1.9000000000000001, ' time step ', 19L)
> ('SCRIPT1 DCP time ', 1.9000000000000001, ' time step ', 19L)
> ('SCRIPT2 RDD time ', 1.9000000000000001, ' time step ', 19L)
> ('SCRIPT2 DCP time ', 1.9000000000000001, ' time step ', 19L)
> ('SCRIPT1 RDD time ', 2.0, ' time step ', 20L)
> ('SCRIPT2 RDD time ', 2.0, ' time step ', 20L)
> ('SCRIPT1 RDD time ', 2.0, ' time step ', 20L)
> ('SCRIPT1 DCP time ', 2.0, ' time step ', 20L)
> ('SCRIPT2 RDD time ', 2.0, ' time step ', 20L)
> ('SCRIPT2 DCP time ', 2.0, ' time step ', 20L)
> ('SCRIPT1 RDD time ', 2.1, ' time step ', 21L)
> ('SCRIPT2 RDD time ', 2.1, ' time step ', 21L)
> ('SCRIPT1 RDD time ', 2.1, ' time step ', 21L)
> ('SCRIPT1 DCP time ', 2.1, ' time step ', 21L)
> ('SCRIPT2 RDD time ', 2.1, ' time step ', 21L)
> ('SCRIPT2 DCP time ', 2.1, ' time step ', 21L)
> ('SCRIPT1 RDD time ', 2.2, ' time step ', 22L)
> ('SCRIPT2 RDD time ', 2.2, ' time step ', 22L)
> ('SCRIPT1 RDD time ', 2.2, ' time step ', 22L)
> ('SCRIPT1 DCP time ', 2.2, ' time step ', 22L)
> ('SCRIPT2 RDD time ', 2.2, ' time step ', 22L)
> ('SCRIPT2 DCP time ', 2.2, ' time step ', 22L)
> ('SCRIPT1 RDD time ', 2.3000000000000003, ' time step ', 23L)
> ('SCRIPT2 RDD time ', 2.3000000000000003, ' time step ', 23L)
> ('SCRIPT1 RDD time ', 2.3000000000000003, ' time step ', 23L)
> ('SCRIPT1 DCP time ', 2.3000000000000003, ' time step ', 23L)
> ('SCRIPT2 RDD time ', 2.3000000000000003, ' time step ', 23L)
> ('SCRIPT2 DCP time ', 2.3000000000000003, ' time step ', 23L)
> ('SCRIPT1 RDD time ', 2.4000000000000004, ' time step ', 24L)
> ('SCRIPT2 RDD time ', 2.4000000000000004, ' time step ', 24L)
> ('SCRIPT1 RDD time ', 2.4000000000000004, ' time step ', 24L)
> ('SCRIPT1 DCP time ', 2.4000000000000004, ' time step ', 24L)
> ('SCRIPT2 RDD time ', 2.4000000000000004, ' time step ', 24L)
> ('SCRIPT2 DCP time ', 2.4000000000000004, ' time step ', 24L)
> ('SCRIPT1 RDD time ', 2.5, ' time step ', 25L)
> ('SCRIPT2 RDD time ', 2.5, ' time step ', 25L)
> ('SCRIPT1 RDD time ', 2.5, ' time step ', 25L)
> ('SCRIPT1 DCP time ', 2.5, ' time step ', 25L)
> ('SCRIPT2 RDD time ', 2.5, ' time step ', 25L)
> ('SCRIPT2 DCP time ', 2.5, ' time step ', 25L)
> ('SCRIPT1 RDD time ', 2.6, ' time step ', 26L)
> ('SCRIPT2 RDD time ', 2.6, ' time step ', 26L)
> ('SCRIPT1 RDD time ', 2.6, ' time step ', 26L)
> ('SCRIPT1 DCP time ', 2.6, ' time step ', 26L)
> ('SCRIPT2 RDD time ', 2.6, ' time step ', 26L)
> ('SCRIPT2 DCP time ', 2.6, ' time step ', 26L)
> ('SCRIPT1 RDD time ', 2.7, ' time step ', 27L)
> ('SCRIPT2 RDD time ', 2.7, ' time step ', 27L)
> ('SCRIPT1 RDD time ', 2.7, ' time step ', 27L)
> ('SCRIPT1 DCP time ', 2.7, ' time step ', 27L)
> ('SCRIPT2 RDD time ', 2.7, ' time step ', 27L)
> ('SCRIPT2 DCP time ', 2.7, ' time step ', 27L)
> ('SCRIPT1 RDD time ', 2.8000000000000003, ' time step ', 28L)
> ('SCRIPT2 RDD time ', 2.8000000000000003, ' time step ', 28L)
> ('SCRIPT1 RDD time ', 2.8000000000000003, ' time step ', 28L)
> ('SCRIPT1 DCP time ', 2.8000000000000003, ' time step ', 28L)
> ('SCRIPT2 RDD time ', 2.8000000000000003, ' time step ', 28L)
> ('SCRIPT2 DCP time ', 2.8000000000000003, ' time step ', 28L)
> ('SCRIPT1 RDD time ', 2.9000000000000004, ' time step ', 29L)
> ('SCRIPT2 RDD time ', 2.9000000000000004, ' time step ', 29L)
> ('SCRIPT1 RDD time ', 2.9000000000000004, ' time step ', 29L)
> ('SCRIPT1 DCP time ', 2.9000000000000004, ' time step ', 29L)
> ('SCRIPT2 RDD time ', 2.9000000000000004, ' time step ', 29L)
> ('SCRIPT2 DCP time ', 2.9000000000000004, ' time step ', 29L)
> ('SCRIPT1 RDD time ', 3.0, ' time step ', 30L)
> ('SCRIPT2 RDD time ', 3.0, ' time step ', 30L)
> ('SCRIPT1 RDD time ', 3.0, ' time step ', 30L)
> ('SCRIPT1 DCP time ', 3.0, ' time step ', 30L)
> ('SCRIPT2 RDD time ', 3.0, ' time step ', 30L)
> ('SCRIPT2 DCP time ', 3.0, ' time step ', 30L)
> ('SCRIPT1 RDD time ', 3.1, ' time step ', 31L)
> ('SCRIPT2 RDD time ', 3.1, ' time step ', 31L)
> ('SCRIPT1 RDD time ', 3.1, ' time step ', 31L)
> ('SCRIPT1 DCP time ', 3.1, ' time step ', 31L)
> ('SCRIPT2 RDD time ', 3.1, ' time step ', 31L)
> ('SCRIPT2 DCP time ', 3.1, ' time step ', 31L)
> ('SCRIPT1 RDD time ', 3.2, ' time step ', 32L)
> ('SCRIPT2 RDD time ', 3.2, ' time step ', 32L)
> ('SCRIPT1 RDD time ', 3.2, ' time step ', 32L)
> ('SCRIPT1 DCP time ', 3.2, ' time step ', 32L)
> ('SCRIPT2 RDD time ', 3.2, ' time step ', 32L)
> ('SCRIPT2 DCP time ', 3.2, ' time step ', 32L)
> ('SCRIPT1 RDD time ', 3.3000000000000003, ' time step ', 33L)
> ('SCRIPT2 RDD time ', 3.3000000000000003, ' time step ', 33L)
> ('SCRIPT1 RDD time ', 3.3000000000000003, ' time step ', 33L)
> ('SCRIPT1 DCP time ', 3.3000000000000003, ' time step ', 33L)
> ('SCRIPT2 RDD time ', 3.3000000000000003, ' time step ', 33L)
> ('SCRIPT2 DCP time ', 3.3000000000000003, ' time step ', 33L)
> ('SCRIPT1 RDD time ', 3.4000000000000004, ' time step ', 34L)
> ('SCRIPT2 RDD time ', 3.4000000000000004, ' time step ', 34L)
> ('SCRIPT1 RDD time ', 3.4000000000000004, ' time step ', 34L)
> ('SCRIPT1 DCP time ', 3.4000000000000004, ' time step ', 34L)
> ('SCRIPT2 RDD time ', 3.4000000000000004, ' time step ', 34L)
> ('SCRIPT2 DCP time ', 3.4000000000000004, ' time step ', 34L)
> ('SCRIPT1 RDD time ', 3.5, ' time step ', 35L)
> ('SCRIPT2 RDD time ', 3.5, ' time step ', 35L)
> ('SCRIPT1 RDD time ', 3.5, ' time step ', 35L)
> ('SCRIPT1 DCP time ', 3.5, ' time step ', 35L)
> ('SCRIPT2 RDD time ', 3.5, ' time step ', 35L)
> ('SCRIPT2 DCP time ', 3.5, ' time step ', 35L)
> ('SCRIPT1 RDD time ', 3.6, ' time step ', 36L)
> ('SCRIPT2 RDD time ', 3.6, ' time step ', 36L)
> ('SCRIPT1 RDD time ', 3.6, ' time step ', 36L)
> ('SCRIPT1 DCP time ', 3.6, ' time step ', 36L)
> ('SCRIPT2 RDD time ', 3.6, ' time step ', 36L)
> ('SCRIPT2 DCP time ', 3.6, ' time step ', 36L)
> ('SCRIPT1 RDD time ', 3.7, ' time step ', 37L)
> ('SCRIPT2 RDD time ', 3.7, ' time step ', 37L)
> ('SCRIPT1 RDD time ', 3.7, ' time step ', 37L)
> ('SCRIPT1 DCP time ', 3.7, ' time step ', 37L)
> ('SCRIPT2 RDD time ', 3.7, ' time step ', 37L)
> ('SCRIPT2 DCP time ', 3.7, ' time step ', 37L)
> ('SCRIPT1 RDD time ', 3.8000000000000003, ' time step ', 38L)
> ('SCRIPT2 RDD time ', 3.8000000000000003, ' time step ', 38L)
> ('SCRIPT1 RDD time ', 3.8000000000000003, ' time step ', 38L)
> ('SCRIPT1 DCP time ', 3.8000000000000003, ' time step ', 38L)
> ('SCRIPT2 RDD time ', 3.8000000000000003, ' time step ', 38L)
> ('SCRIPT2 DCP time ', 3.8000000000000003, ' time step ', 38L)
> ('SCRIPT1 RDD time ', 3.9000000000000004, ' time step ', 39L)
> ('SCRIPT2 RDD time ', 3.9000000000000004, ' time step ', 39L)
> ('SCRIPT1 RDD time ', 3.9000000000000004, ' time step ', 39L)
> ('SCRIPT1 DCP time ', 3.9000000000000004, ' time step ', 39L)
> ('SCRIPT2 RDD time ', 3.9000000000000004, ' time step ', 39L)
> ('SCRIPT2 DCP time ', 3.9000000000000004, ' time step ', 39L)
> ('SCRIPT1 RDD time ', 4.0, ' time step ', 40L)
> ('SCRIPT2 RDD time ', 4.0, ' time step ', 40L)
> ('SCRIPT1 RDD time ', 4.0, ' time step ', 40L)
> ('SCRIPT1 DCP time ', 4.0, ' time step ', 40L)
> ('SCRIPT2 RDD time ', 4.0, ' time step ', 40L)
> ('SCRIPT2 DCP time ', 4.0, ' time step ', 40L)
> ('SCRIPT1 RDD time ', 4.1000000000000005, ' time step ', 41L)
> ('SCRIPT2 RDD time ', 4.1000000000000005, ' time step ', 41L)
> ('SCRIPT1 RDD time ', 4.1000000000000005, ' time step ', 41L)
> ('SCRIPT1 DCP time ', 4.1000000000000005, ' time step ', 41L)
> ('SCRIPT2 RDD time ', 4.1000000000000005, ' time step ', 41L)
> ('SCRIPT2 DCP time ', 4.1000000000000005, ' time step ', 41L)
> ('SCRIPT1 RDD time ', 4.2, ' time step ', 42L)
> ('SCRIPT2 RDD time ', 4.2, ' time step ', 42L)
> ('SCRIPT1 RDD time ', 4.2, ' time step ', 42L)
> ('SCRIPT1 DCP time ', 4.2, ' time step ', 42L)
> ('SCRIPT2 RDD time ', 4.2, ' time step ', 42L)
> ('SCRIPT2 DCP time ', 4.2, ' time step ', 42L)
> ('SCRIPT1 RDD time ', 4.3, ' time step ', 43L)
> ('SCRIPT2 RDD time ', 4.3, ' time step ', 43L)
> ('SCRIPT1 RDD time ', 4.3, ' time step ', 43L)
> ('SCRIPT1 DCP time ', 4.3, ' time step ', 43L)
> ('SCRIPT2 RDD time ', 4.3, ' time step ', 43L)
> ('SCRIPT2 DCP time ', 4.3, ' time step ', 43L)
> ('SCRIPT1 RDD time ', 4.4, ' time step ', 44L)
> ('SCRIPT2 RDD time ', 4.4, ' time step ', 44L)
> ('SCRIPT1 RDD time ', 4.4, ' time step ', 44L)
> ('SCRIPT1 DCP time ', 4.4, ' time step ', 44L)
> ('SCRIPT2 RDD time ', 4.4, ' time step ', 44L)
> ('SCRIPT2 DCP time ', 4.4, ' time step ', 44L)
> ('SCRIPT1 RDD time ', 4.5, ' time step ', 45L)
> ('SCRIPT2 RDD time ', 4.5, ' time step ', 45L)
> ('SCRIPT1 RDD time ', 4.5, ' time step ', 45L)
> ('SCRIPT1 DCP time ', 4.5, ' time step ', 45L)
> ('SCRIPT2 RDD time ', 4.5, ' time step ', 45L)
> ('SCRIPT2 DCP time ', 4.5, ' time step ', 45L)
> ('SCRIPT1 RDD time ', 4.6000000000000005, ' time step ', 46L)
> ('SCRIPT2 RDD time ', 4.6000000000000005, ' time step ', 46L)
> ('SCRIPT1 RDD time ', 4.6000000000000005, ' time step ', 46L)
> ('SCRIPT1 DCP time ', 4.6000000000000005, ' time step ', 46L)
> ('SCRIPT2 RDD time ', 4.6000000000000005, ' time step ', 46L)
> ('SCRIPT2 DCP time ', 4.6000000000000005, ' time step ', 46L)
> ('SCRIPT1 RDD time ', 4.7, ' time step ', 47L)
> ('SCRIPT2 RDD time ', 4.7, ' time step ', 47L)
> ('SCRIPT1 RDD time ', 4.7, ' time step ', 47L)
> ('SCRIPT1 DCP time ', 4.7, ' time step ', 47L)
> ('SCRIPT2 RDD time ', 4.7, ' time step ', 47L)
> ('SCRIPT2 DCP time ', 4.7, ' time step ', 47L)
> ('SCRIPT1 RDD time ', 4.800000000000001, ' time step ', 48L)
> ('SCRIPT2 RDD time ', 4.800000000000001, ' time step ', 48L)
> ('SCRIPT1 RDD time ', 4.800000000000001, ' time step ', 48L)
> ('SCRIPT1 DCP time ', 4.800000000000001, ' time step ', 48L)
> ('SCRIPT2 RDD time ', 4.800000000000001, ' time step ', 48L)
> ('SCRIPT2 DCP time ', 4.800000000000001, ' time step ', 48L)
> ('SCRIPT1 RDD time ', 4.9, ' time step ', 49L)
> ('SCRIPT2 RDD time ', 4.9, ' time step ', 49L)
> ('SCRIPT1 RDD time ', 4.9, ' time step ', 49L)
> ('SCRIPT1 DCP time ', 4.9, ' time step ', 49L)
> ('SCRIPT2 RDD time ', 4.9, ' time step ', 49L)
> ('SCRIPT2 DCP time ', 4.9, ' time step ', 49L)
> ('SCRIPT1 RDD time ', 5.0, ' time step ', 50L)
> ('SCRIPT2 RDD time ', 5.0, ' time step ', 50L)
> ('SCRIPT1 RDD time ', 5.0, ' time step ', 50L)
> ('SCRIPT1 DCP time ', 5.0, ' time step ', 50L)
> ('SCRIPT2 RDD time ', 5.0, ' time step ', 50L)
> ('SCRIPT2 DCP time ', 5.0, ' time step ', 50L)
> ('SCRIPT1 RDD time ', 5.1000000000000005, ' time step ', 51L)
> ('SCRIPT2 RDD time ', 5.1000000000000005, ' time step ', 51L)
> ('SCRIPT1 RDD time ', 5.1000000000000005, ' time step ', 51L)
> ('SCRIPT1 DCP time ', 5.1000000000000005, ' time step ', 51L)
> ('SCRIPT2 RDD time ', 5.1000000000000005, ' time step ', 51L)
> ('SCRIPT2 DCP time ', 5.1000000000000005, ' time step ', 51L)
> ('SCRIPT1 RDD time ', 5.2, ' time step ', 52L)
> ('SCRIPT2 RDD time ', 5.2, ' time step ', 52L)
> ('SCRIPT1 RDD time ', 5.2, ' time step ', 52L)
> ('SCRIPT1 DCP time ', 5.2, ' time step ', 52L)
> ('SCRIPT2 RDD time ', 5.2, ' time step ', 52L)
> ('SCRIPT2 DCP time ', 5.2, ' time step ', 52L)
> ('SCRIPT1 RDD time ', 5.300000000000001, ' time step ', 53L)
> ('SCRIPT2 RDD time ', 5.300000000000001, ' time step ', 53L)
> ('SCRIPT1 RDD time ', 5.300000000000001, ' time step ', 53L)
> ('SCRIPT1 DCP time ', 5.300000000000001, ' time step ', 53L)
> ('SCRIPT2 RDD time ', 5.300000000000001, ' time step ', 53L)
> ('SCRIPT2 DCP time ', 5.300000000000001, ' time step ', 53L)
> ('SCRIPT1 RDD time ', 5.4, ' time step ', 54L)
> ('SCRIPT2 RDD time ', 5.4, ' time step ', 54L)
> ('SCRIPT1 RDD time ', 5.4, ' time step ', 54L)
> ('SCRIPT1 DCP time ', 5.4, ' time step ', 54L)
> ('SCRIPT2 RDD time ', 5.4, ' time step ', 54L)
> ('SCRIPT2 DCP time ', 5.4, ' time step ', 54L)
> ('SCRIPT1 RDD time ', 5.5, ' time step ', 55L)
> ('SCRIPT2 RDD time ', 5.5, ' time step ', 55L)
> ('SCRIPT1 RDD time ', 5.5, ' time step ', 55L)
> ('SCRIPT1 DCP time ', 5.5, ' time step ', 55L)
> ('SCRIPT2 RDD time ', 5.5, ' time step ', 55L)
> ('SCRIPT2 DCP time ', 5.5, ' time step ', 55L)
> ('SCRIPT1 RDD time ', 5.6000000000000005, ' time step ', 56L)
> ('SCRIPT2 RDD time ', 5.6000000000000005, ' time step ', 56L)
> ('SCRIPT1 RDD time ', 5.6000000000000005, ' time step ', 56L)
> ('SCRIPT1 DCP time ', 5.6000000000000005, ' time step ', 56L)
> ('SCRIPT2 RDD time ', 5.6000000000000005, ' time step ', 56L)
> ('SCRIPT2 DCP time ', 5.6000000000000005, ' time step ', 56L)
> ('SCRIPT1 RDD time ', 5.7, ' time step ', 57L)
> ('SCRIPT2 RDD time ', 5.7, ' time step ', 57L)
> ('SCRIPT1 RDD time ', 5.7, ' time step ', 57L)
> ('SCRIPT1 DCP time ', 5.7, ' time step ', 57L)
> ('SCRIPT2 RDD time ', 5.7, ' time step ', 57L)
> ('SCRIPT2 DCP time ', 5.7, ' time step ', 57L)
> ('SCRIPT1 RDD time ', 5.800000000000001, ' time step ', 58L)
> ('SCRIPT2 RDD time ', 5.800000000000001, ' time step ', 58L)
> ('SCRIPT1 RDD time ', 5.800000000000001, ' time step ', 58L)
> ('SCRIPT1 DCP time ', 5.800000000000001, ' time step ', 58L)
> ('SCRIPT2 RDD time ', 5.800000000000001, ' time step ', 58L)
> ('SCRIPT2 DCP time ', 5.800000000000001, ' time step ', 58L)
> ('SCRIPT1 RDD time ', 5.9, ' time step ', 59L)
> ('SCRIPT2 RDD time ', 5.9, ' time step ', 59L)
> ('SCRIPT1 RDD time ', 5.9, ' time step ', 59L)
> ('SCRIPT1 DCP time ', 5.9, ' time step ', 59L)
> ('SCRIPT2 RDD time ', 5.9, ' time step ', 59L)
> ('SCRIPT2 DCP time ', 5.9, ' time step ', 59L)
> ('SCRIPT1 RDD time ', 6.0, ' time step ', 60L)
> ('SCRIPT2 RDD time ', 6.0, ' time step ', 60L)
> ('SCRIPT1 RDD time ', 6.0, ' time step ', 60L)
> ('SCRIPT1 DCP time ', 6.0, ' time step ', 60L)
> ('SCRIPT2 RDD time ', 6.0, ' time step ', 60L)
> ('SCRIPT2 DCP time ', 6.0, ' time step ', 60L)
> ('SCRIPT1 RDD time ', 6.1000000000000005, ' time step ', 61L)
> ('SCRIPT2 RDD time ', 6.1000000000000005, ' time step ', 61L)
> ('SCRIPT1 RDD time ', 6.1000000000000005, ' time step ', 61L)
> ('SCRIPT1 DCP time ', 6.1000000000000005, ' time step ', 61L)
> ('SCRIPT2 RDD time ', 6.1000000000000005, ' time step ', 61L)
> ('SCRIPT2 DCP time ', 6.1000000000000005, ' time step ', 61L)
> ('SCRIPT1 RDD time ', 6.2, ' time step ', 62L)
> ('SCRIPT2 RDD time ', 6.2, ' time step ', 62L)
> ('SCRIPT1 RDD time ', 6.2, ' time step ', 62L)
> ('SCRIPT1 DCP time ', 6.2, ' time step ', 62L)
> ('SCRIPT2 RDD time ', 6.2, ' time step ', 62L)
> ('SCRIPT2 DCP time ', 6.2, ' time step ', 62L)
> ('SCRIPT1 RDD time ', 6.300000000000001, ' time step ', 63L)
> ('SCRIPT2 RDD time ', 6.300000000000001, ' time step ', 63L)
> ('SCRIPT1 RDD time ', 6.300000000000001, ' time step ', 63L)
> ('SCRIPT1 DCP time ', 6.300000000000001, ' time step ', 63L)
> ('SCRIPT2 RDD time ', 6.300000000000001, ' time step ', 63L)
> ('SCRIPT2 DCP time ', 6.300000000000001, ' time step ', 63L)
> ('SCRIPT1 RDD time ', 6.4, ' time step ', 64L)
> ('SCRIPT2 RDD time ', 6.4, ' time step ', 64L)
> ('SCRIPT1 RDD time ', 6.4, ' time step ', 64L)
> ('SCRIPT1 DCP time ', 6.4, ' time step ', 64L)
> ('SCRIPT2 RDD time ', 6.4, ' time step ', 64L)
> ('SCRIPT2 DCP time ', 6.4, ' time step ', 64L)
> ('SCRIPT1 RDD time ', 6.5, ' time step ', 65L)
> ('SCRIPT2 RDD time ', 6.5, ' time step ', 65L)
> ('SCRIPT1 RDD time ', 6.5, ' time step ', 65L)
> ('SCRIPT1 DCP time ', 6.5, ' time step ', 65L)
> ('SCRIPT2 RDD time ', 6.5, ' time step ', 65L)
> ('SCRIPT2 DCP time ', 6.5, ' time step ', 65L)
> ('SCRIPT1 RDD time ', 6.6000000000000005, ' time step ', 66L)
> ('SCRIPT2 RDD time ', 6.6000000000000005, ' time step ', 66L)
> ('SCRIPT1 RDD time ', 6.6000000000000005, ' time step ', 66L)
> ('SCRIPT1 DCP time ', 6.6000000000000005, ' time step ', 66L)
> ('SCRIPT2 RDD time ', 6.6000000000000005, ' time step ', 66L)
> ('SCRIPT2 DCP time ', 6.6000000000000005, ' time step ', 66L)
> ('SCRIPT1 RDD time ', 6.7, ' time step ', 67L)
> ('SCRIPT2 RDD time ', 6.7, ' time step ', 67L)
> ('SCRIPT1 RDD time ', 6.7, ' time step ', 67L)
> ('SCRIPT1 DCP time ', 6.7, ' time step ', 67L)
> ('SCRIPT2 RDD time ', 6.7, ' time step ', 67L)
> ('SCRIPT2 DCP time ', 6.7, ' time step ', 67L)
> ('SCRIPT1 RDD time ', 6.800000000000001, ' time step ', 68L)
> ('SCRIPT2 RDD time ', 6.800000000000001, ' time step ', 68L)
> ('SCRIPT1 RDD time ', 6.800000000000001, ' time step ', 68L)
> ('SCRIPT1 DCP time ', 6.800000000000001, ' time step ', 68L)
> ('SCRIPT2 RDD time ', 6.800000000000001, ' time step ', 68L)
> ('SCRIPT2 DCP time ', 6.800000000000001, ' time step ', 68L)
> ('SCRIPT1 RDD time ', 6.9, ' time step ', 69L)
> ('SCRIPT2 RDD time ', 6.9, ' time step ', 69L)
> ('SCRIPT1 RDD time ', 6.9, ' time step ', 69L)
> ('SCRIPT1 DCP time ', 6.9, ' time step ', 69L)
> ('SCRIPT2 RDD time ', 6.9, ' time step ', 69L)
> ('SCRIPT2 DCP time ', 6.9, ' time step ', 69L)
> ('SCRIPT1 RDD time ', 7.0, ' time step ', 70L)
> ('SCRIPT2 RDD time ', 7.0, ' time step ', 70L)
> ('SCRIPT1 RDD time ', 7.0, ' time step ', 70L)
> ('SCRIPT1 DCP time ', 7.0, ' time step ', 70L)
> ('SCRIPT2 RDD time ', 7.0, ' time step ', 70L)
> ('SCRIPT2 DCP time ', 7.0, ' time step ', 70L)
> ('SCRIPT1 RDD time ', 7.1000000000000005, ' time step ', 71L)
> ('SCRIPT2 RDD time ', 7.1000000000000005, ' time step ', 71L)
> ('SCRIPT1 RDD time ', 7.1000000000000005, ' time step ', 71L)
> ('SCRIPT1 DCP time ', 7.1000000000000005, ' time step ', 71L)
> ('SCRIPT2 RDD time ', 7.1000000000000005, ' time step ', 71L)
> ('SCRIPT2 DCP time ', 7.1000000000000005, ' time step ', 71L)
> ('SCRIPT1 RDD time ', 7.2, ' time step ', 72L)
> ('SCRIPT2 RDD time ', 7.2, ' time step ', 72L)
> ('SCRIPT1 RDD time ', 7.2, ' time step ', 72L)
> ('SCRIPT1 DCP time ', 7.2, ' time step ', 72L)
> ('SCRIPT2 RDD time ', 7.2, ' time step ', 72L)
> ('SCRIPT2 DCP time ', 7.2, ' time step ', 72L)
> ('SCRIPT1 RDD time ', 7.300000000000001, ' time step ', 73L)
> ('SCRIPT2 RDD time ', 7.300000000000001, ' time step ', 73L)
> ('SCRIPT1 RDD time ', 7.300000000000001, ' time step ', 73L)
> ('SCRIPT1 DCP time ', 7.300000000000001, ' time step ', 73L)
> ('SCRIPT2 RDD time ', 7.300000000000001, ' time step ', 73L)
> ('SCRIPT2 DCP time ', 7.300000000000001, ' time step ', 73L)
> ('SCRIPT1 RDD time ', 7.4, ' time step ', 74L)
> ('SCRIPT2 RDD time ', 7.4, ' time step ', 74L)
> ('SCRIPT1 RDD time ', 7.4, ' time step ', 74L)
> ('SCRIPT1 DCP time ', 7.4, ' time step ', 74L)
> ('SCRIPT2 RDD time ', 7.4, ' time step ', 74L)
> ('SCRIPT2 DCP time ', 7.4, ' time step ', 74L)
> ('SCRIPT1 RDD time ', 7.5, ' time step ', 75L)
> ('SCRIPT2 RDD time ', 7.5, ' time step ', 75L)
> ('SCRIPT1 RDD time ', 7.5, ' time step ', 75L)
> ('SCRIPT1 DCP time ', 7.5, ' time step ', 75L)
> ('SCRIPT2 RDD time ', 7.5, ' time step ', 75L)
> ('SCRIPT2 DCP time ', 7.5, ' time step ', 75L)
> ('SCRIPT1 RDD time ', 7.6000000000000005, ' time step ', 76L)
> ('SCRIPT2 RDD time ', 7.6000000000000005, ' time step ', 76L)
> ('SCRIPT1 RDD time ', 7.6000000000000005, ' time step ', 76L)
> ('SCRIPT1 DCP time ', 7.6000000000000005, ' time step ', 76L)
> ('SCRIPT2 RDD time ', 7.6000000000000005, ' time step ', 76L)
> ('SCRIPT2 DCP time ', 7.6000000000000005, ' time step ', 76L)
> ('SCRIPT1 RDD time ', 7.7, ' time step ', 77L)
> ('SCRIPT2 RDD time ', 7.7, ' time step ', 77L)
> ('SCRIPT1 RDD time ', 7.7, ' time step ', 77L)
> ('SCRIPT1 DCP time ', 7.7, ' time step ', 77L)
> ('SCRIPT2 RDD time ', 7.7, ' time step ', 77L)
> ('SCRIPT2 DCP time ', 7.7, ' time step ', 77L)
> ('SCRIPT1 RDD time ', 7.800000000000001, ' time step ', 78L)
> ('SCRIPT2 RDD time ', 7.800000000000001, ' time step ', 78L)
> ('SCRIPT1 RDD time ', 7.800000000000001, ' time step ', 78L)
> ('SCRIPT1 DCP time ', 7.800000000000001, ' time step ', 78L)
> ('SCRIPT2 RDD time ', 7.800000000000001, ' time step ', 78L)
> ('SCRIPT2 DCP time ', 7.800000000000001, ' time step ', 78L)
> ('SCRIPT1 RDD time ', 7.9, ' time step ', 79L)
> ('SCRIPT2 RDD time ', 7.9, ' time step ', 79L)
> ('SCRIPT1 RDD time ', 7.9, ' time step ', 79L)
> ('SCRIPT1 DCP time ', 7.9, ' time step ', 79L)
> ('SCRIPT2 RDD time ', 7.9, ' time step ', 79L)
> ('SCRIPT2 DCP time ', 7.9, ' time step ', 79L)
> ('SCRIPT1 RDD time ', 8.0, ' time step ', 80L)
> ('SCRIPT2 RDD time ', 8.0, ' time step ', 80L)
> ('SCRIPT1 RDD time ', 8.0, ' time step ', 80L)
> ('SCRIPT1 DCP time ', 8.0, ' time step ', 80L)
> ('SCRIPT2 RDD time ', 8.0, ' time step ', 80L)
> ('SCRIPT2 DCP time ', 8.0, ' time step ', 80L)
> ('SCRIPT1 RDD time ', 8.1, ' time step ', 81L)
> ('SCRIPT2 RDD time ', 8.1, ' time step ', 81L)
> ('SCRIPT1 RDD time ', 8.1, ' time step ', 81L)
> ('SCRIPT1 DCP time ', 8.1, ' time step ', 81L)
> ('SCRIPT2 RDD time ', 8.1, ' time step ', 81L)
> ('SCRIPT2 DCP time ', 8.1, ' time step ', 81L)
> ('SCRIPT1 RDD time ', 8.200000000000001, ' time step ', 82L)
> ('SCRIPT2 RDD time ', 8.200000000000001, ' time step ', 82L)
> ('SCRIPT1 RDD time ', 8.200000000000001, ' time step ', 82L)
> ('SCRIPT1 DCP time ', 8.200000000000001, ' time step ', 82L)
> ('SCRIPT2 RDD time ', 8.200000000000001, ' time step ', 82L)
> ('SCRIPT2 DCP time ', 8.200000000000001, ' time step ', 82L)
> ('SCRIPT1 RDD time ', 8.3, ' time step ', 83L)
> ('SCRIPT2 RDD time ', 8.3, ' time step ', 83L)
> ('SCRIPT1 RDD time ', 8.3, ' time step ', 83L)
> ('SCRIPT1 DCP time ', 8.3, ' time step ', 83L)
> ('SCRIPT2 RDD time ', 8.3, ' time step ', 83L)
> ('SCRIPT2 DCP time ', 8.3, ' time step ', 83L)
> ('SCRIPT1 RDD time ', 8.4, ' time step ', 84L)
> ('SCRIPT2 RDD time ', 8.4, ' time step ', 84L)
> ('SCRIPT1 RDD time ', 8.4, ' time step ', 84L)
> ('SCRIPT1 DCP time ', 8.4, ' time step ', 84L)
> ('SCRIPT2 RDD time ', 8.4, ' time step ', 84L)
> ('SCRIPT2 DCP time ', 8.4, ' time step ', 84L)
> ('SCRIPT1 RDD time ', 8.5, ' time step ', 85L)
> ('SCRIPT2 RDD time ', 8.5, ' time step ', 85L)
> ('SCRIPT1 RDD time ', 8.5, ' time step ', 85L)
> ('SCRIPT1 DCP time ', 8.5, ' time step ', 85L)
> ('SCRIPT2 RDD time ', 8.5, ' time step ', 85L)
> ('SCRIPT2 DCP time ', 8.5, ' time step ', 85L)
> ('SCRIPT1 RDD time ', 8.6, ' time step ', 86L)
> ('SCRIPT2 RDD time ', 8.6, ' time step ', 86L)
> ('SCRIPT1 RDD time ', 8.6, ' time step ', 86L)
> ('SCRIPT1 DCP time ', 8.6, ' time step ', 86L)
> ('SCRIPT2 RDD time ', 8.6, ' time step ', 86L)
> ('SCRIPT2 DCP time ', 8.6, ' time step ', 86L)
> ('SCRIPT1 RDD time ', 8.700000000000001, ' time step ', 87L)
> ('SCRIPT2 RDD time ', 8.700000000000001, ' time step ', 87L)
> ('SCRIPT1 RDD time ', 8.700000000000001, ' time step ', 87L)
> ('SCRIPT1 DCP time ', 8.700000000000001, ' time step ', 87L)
> ('SCRIPT2 RDD time ', 8.700000000000001, ' time step ', 87L)
> ('SCRIPT2 DCP time ', 8.700000000000001, ' time step ', 87L)
> ('SCRIPT1 RDD time ', 8.8, ' time step ', 88L)
> ('SCRIPT2 RDD time ', 8.8, ' time step ', 88L)
> ('SCRIPT1 RDD time ', 8.8, ' time step ', 88L)
> ('SCRIPT1 DCP time ', 8.8, ' time step ', 88L)
> ('SCRIPT2 RDD time ', 8.8, ' time step ', 88L)
> ('SCRIPT2 DCP time ', 8.8, ' time step ', 88L)
> ('SCRIPT1 RDD time ', 8.9, ' time step ', 89L)
> ('SCRIPT2 RDD time ', 8.9, ' time step ', 89L)
> ('SCRIPT1 RDD time ', 8.9, ' time step ', 89L)
> ('SCRIPT1 DCP time ', 8.9, ' time step ', 89L)
> ('SCRIPT2 RDD time ', 8.9, ' time step ', 89L)
> ('SCRIPT2 DCP time ', 8.9, ' time step ', 89L)
> ('SCRIPT1 RDD time ', 9.0, ' time step ', 90L)
> ('SCRIPT2 RDD time ', 9.0, ' time step ', 90L)
> ('SCRIPT1 RDD time ', 9.0, ' time step ', 90L)
> ('SCRIPT1 DCP time ', 9.0, ' time step ', 90L)
> ('SCRIPT2 RDD time ', 9.0, ' time step ', 90L)
> ('SCRIPT2 DCP time ', 9.0, ' time step ', 90L)
> ('SCRIPT1 RDD time ', 9.1, ' time step ', 91L)
> ('SCRIPT2 RDD time ', 9.1, ' time step ', 91L)
> ('SCRIPT1 RDD time ', 9.1, ' time step ', 91L)
> ('SCRIPT1 DCP time ', 9.1, ' time step ', 91L)
> ('SCRIPT2 RDD time ', 9.1, ' time step ', 91L)
> ('SCRIPT2 DCP time ', 9.1, ' time step ', 91L)
> ('SCRIPT1 RDD time ', 9.200000000000001, ' time step ', 92L)
> ('SCRIPT2 RDD time ', 9.200000000000001, ' time step ', 92L)
> ('SCRIPT1 RDD time ', 9.200000000000001, ' time step ', 92L)
> ('SCRIPT1 DCP time ', 9.200000000000001, ' time step ', 92L)
> ('SCRIPT2 RDD time ', 9.200000000000001, ' time step ', 92L)
> ('SCRIPT2 DCP time ', 9.200000000000001, ' time step ', 92L)
> ('SCRIPT1 RDD time ', 9.3, ' time step ', 93L)
> ('SCRIPT2 RDD time ', 9.3, ' time step ', 93L)
> ('SCRIPT1 RDD time ', 9.3, ' time step ', 93L)
> ('SCRIPT1 DCP time ', 9.3, ' time step ', 93L)
> ('SCRIPT2 RDD time ', 9.3, ' time step ', 93L)
> ('SCRIPT2 DCP time ', 9.3, ' time step ', 93L)
> ('SCRIPT1 RDD time ', 9.4, ' time step ', 94L)
> ('SCRIPT2 RDD time ', 9.4, ' time step ', 94L)
> ('SCRIPT1 RDD time ', 9.4, ' time step ', 94L)
> ('SCRIPT1 DCP time ', 9.4, ' time step ', 94L)
> ('SCRIPT2 RDD time ', 9.4, ' time step ', 94L)
> ('SCRIPT2 DCP time ', 9.4, ' time step ', 94L)
> ('SCRIPT1 RDD time ', 9.5, ' time step ', 95L)
> ('SCRIPT2 RDD time ', 9.5, ' time step ', 95L)
> ('SCRIPT1 RDD time ', 9.5, ' time step ', 95L)
> ('SCRIPT1 DCP time ', 9.5, ' time step ', 95L)
> ('SCRIPT2 RDD time ', 9.5, ' time step ', 95L)
> ('SCRIPT2 DCP time ', 9.5, ' time step ', 95L)
> ('SCRIPT1 RDD time ', 9.600000000000001, ' time step ', 96L)
> ('SCRIPT2 RDD time ', 9.600000000000001, ' time step ', 96L)
> ('SCRIPT1 RDD time ', 9.600000000000001, ' time step ', 96L)
> ('SCRIPT1 DCP time ', 9.600000000000001, ' time step ', 96L)
> ('SCRIPT2 RDD time ', 9.600000000000001, ' time step ', 96L)
> ('SCRIPT2 DCP time ', 9.600000000000001, ' time step ', 96L)
> ('SCRIPT1 RDD time ', 9.700000000000001, ' time step ', 97L)
> ('SCRIPT2 RDD time ', 9.700000000000001, ' time step ', 97L)
> ('SCRIPT1 RDD time ', 9.700000000000001, ' time step ', 97L)
> ('SCRIPT1 DCP time ', 9.700000000000001, ' time step ', 97L)
> ('SCRIPT2 RDD time ', 9.700000000000001, ' time step ', 97L)
> ('SCRIPT2 DCP time ', 9.700000000000001, ' time step ', 97L)
> ('SCRIPT1 RDD time ', 9.8, ' time step ', 98L)
> ('SCRIPT2 RDD time ', 9.8, ' time step ', 98L)
> ('SCRIPT1 RDD time ', 9.8, ' time step ', 98L)
> ('SCRIPT1 DCP time ', 9.8, ' time step ', 98L)
> ('SCRIPT2 RDD time ', 9.8, ' time step ', 98L)
> ('SCRIPT2 DCP time ', 9.8, ' time step ', 98L)
> ('SCRIPT1 DCP time ', 9.9, ' time step ', 99L)
> ('SCRIPT2 DCP time ', 9.9, ' time step ', 99L)
>
>
> > 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 modified that example to use atm_input2d instead of input for the
> > input/grid identifier to make sure that wasn't the case. I've attached
> > this
> > example with the scripts modified to print out some debug information.
> >
> > Some questions (these are pretty basic things that you've probably
> already
> > gotten working properly but maybe there's some small thing that was
> > forgotten):
> >
> >    - Does your g_coprocessor only get created in your initialization
> >    routine and deleted in the finalization step? That should not be
> > created
> >    and deleted during each in situ processing step.
> >    - Do the vtkCPPythonScriptPipelines only get added during
> >    initialization? They should not be added and removed from
> g_coprocessor
> >    every time step.
> >
> > Also, could you try running with the scripts that I included in the
> > cat.tgz
> > tarball? The print statements there will print out the time and time
> steps
> > during the simulation run to help me diagnose (both need to be increasing
> > between calls to Catalyst). Also, if you share your adaptor code with me
> I
> > can take a quick look.
> >
> > Cheers,
> > Andy
> >
> >
> >
> > On Fri, Jul 7, 2017 at 7:30 AM, Ufuk Utku Turuncoglu (BE) <
> > u.utku.turuncoglu at be.itu.edu.tr> wrote:
> >
> >> 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
> >> (script_2.py). If i pass only one of them then the code is working
> >> without
> >> any problem and produces desired output.
> >>
> >> Thanks,
> >> Regards,
> >>
> >> --ufuk
> >>
> >>
> >>
> >> On 06/07/2017 18:09, Andy Bauer wrote:
> >>
> >> 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 running with
> >> "./CxxFullExample doubleoutputs.py output3.py image11.py" and got the
> >> correct output and no warnings.
> >>
> >> Cheers,
> >> Andy
> >>
> >> On Tue, Jul 4, 2017 at 7:04 AM, Ufuk Utku Turuncoglu (BE) <
> >> u.utku.turuncoglu at be.itu.edu.tr> wrote:
> >>
> >>> 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]);
> >>>         g_coprocessor->AddPipeline(pipeline);
> >>>       }
> >>>
> >>> When i run the simulation, i am getting following warning
> >>>
> >>> Warning: In
> >>> /okyanus/users/uturuncoglu/progs/paraview-5.3.0/src/ParaView
> >>> Core/VTKExtensions/Core/vtkPVTrivialProducer.cxx, line 66
> >>> vtkPVTrivialProducer (0x13816760): New time step is not after last time
> >>> step.
> >>>
> >>> the output seems not correct and it is zoom out version of second
> >>> pipeline (png file). The first pipeline is not even triggered. Do i
> >>> missing
> >>> something in here? BTW, i am using PV 5.3.
> >>>
> >>> Thanks,
> >>>
> >>> --ufuk
> >>>
> >>>
> >>> On 16/05/2017 16:08, Andy Bauer wrote:
> >>>
> >>> 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 Python
> >>> script to
> >>> see if it imports other scripts that are not part of ParaView (e.g.
> >>> paraview.simple) or Python (e.g. sys). That is why I recommended the
> >>> first
> >>> approach as opposed to the second approach above. Depending on the
> >>> compute
> >>> platform and how many MPI processes are in the run the difference may
> >>> be
> >>> negligible but having 100K processes or more trying to access the same
> >>> file
> >>> can seriously slow down an HPC machine.
> >>>
> >>> Cheers,
> >>> Andy
> >>>
> >>> On Tue, May 16, 2017 at 8:24 AM, Ufuk Utku Turuncoglu (BE) <
> >>> u.utku.turuncoglu at be.itu.edu.tr> wrote:
> >>>
> >>>> 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,
> >>>>
> >>>> 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 can
> >>>> do
> >>>> something like the following:
> >>>> ================
> >>>> import script_a
> >>>> import script_b
> >>>> import script_c
> >>>>
> >>>> def RequestDataDescription(datadescription):
> >>>>   script_a.RequestDataDescription(datadescription)
> >>>>   script_b.RequestDataDescription(datadescription)
> >>>>   script_c.RequestDataDescription(datadescription)
> >>>>
> >>>> def DoCoProcessing(datadescription):
> >>>>   script_a.DoCoProcessing(datadescription)
> >>>>   script_b.DoCoProcessing(datadescription)
> >>>>   script_c.DoCoProcessing(datadescription)
> >>>> ===================
> >>>>
> >>>> The first way is the recommended way though as that should be more
> >>>> efficient by having process 0 read the scripts and broadcasting the
> >>>> script
> >>>> contents to the other  processes for use. The second method will only
> >>>> do
> >>>> that for the master script.
> >>>>
> >>>> Please let me know if this doesn't answer your question.
> >>>>
> >>>> Cheers,
> >>>> Andy
> >>>>
> >>>> On Tue, May 16, 2017 at 5:46 AM, Ufuk Utku Turuncoglu (BE) <
> >>>> u.utku.turuncoglu at be.itu.edu.tr> wrote:
> >>>>
> >>>>> 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
> >>>>> plugin)
> >>>>> using higher level Python script to trigger multiple pipelines. So, i
> >>>>> think
> >>>>> that this will be much efficient way to look at different part of the
> >>>>> data
> >>>>> without writing to the disk. I am not sure but somebody else might do
> >>>>> it
> >>>>> before.
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> --ufuk
> >>>>>
> >>>>> _______________________________________________
> >>>>> Powered by www.kitware.com
> >>>>>
> >>>>> Visit other Kitware open-source projects at
> >>>>> http://www.kitware.com/opensource/opensource.html
> >>>>>
> >>>>> Please keep messages on-topic and check the ParaView Wiki at:
> >>>>> http://paraview.org/Wiki/ParaView
> >>>>>
> >>>>> Search the list archives at: http://markmail.org/search/?q=ParaView
> >>>>>
> >>>>> Follow this link to subscribe/unsubscribe:
> >>>>> http://public.kitware.com/mailman/listinfo/paraview
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170710/9bd5252b/attachment.html>


More information about the ParaView mailing list