possibility to use multithread/multiprocessor ?

Hello, mathieu,
I have read the doc you post, if I understand correctly, I should run,
mpirun -np 4 pvserver
and then run:
mpirun -np 4 pvbatch script.py

but correct me if i am wrong,
but this will basically, divide my input data into 4 and treat each of the quarters separatly (more or less), no?

if I am correct with my previous question, this would not be helpful for my current issue, as what i require is that the way i divide the data, is driven by calculations i do previously (inside paraview), and once the calculations are done, i want to separate the data by these results.
for example, if i want to divide a wavelet filter, with this, it will divide it as in image 8.17 into 4 exact similar quarters (of your link), but instead i would like to divide the data by lets say different values of thresholds, such as lets say: with values of RTData between 20-100, values between 100-150, 150-200 and 200-280.
this will divide my data in 4 different sections:

is it possible to apply the function to each of the sections at same time?
the separation is more complex than simply applying a threshold with different values, but it is just to better exemplify my issue. each of the sections(outputs of the thresholds) are ‘independent’ to the other but at same time coming from same original data.

furthermore, i dont know with anticipation how many ‘sections’ i will have. what i am thinking is something more like, having a pool of filters, that a processor will pick up when it is free, do the calculation, return the value and after pick another of the sections if there is remaining ones.

from what i understand on the doc this is not faisable, as when i run pvbatch, paraview will divide the data as in image 8.17 and work on each block more or less ‘separatly’, no?
lastly, I see that you are active also on the support of the vtk for my current case (reason of this post) if it is not feasable what i require in paraview, would this be a possible solution? or would i find myself with same bottle neck? i am asking as i imagine that it is an issue of the paraview proxy? maybe not and i should look for another library such as scikit?

I would appreciate your input on this subject, as my current code works and does everything i expect to, but it takes too much time, as i can not parallelize this it is a big issue.