I have a function to do computation, here is a simple one as an example,
def add(a,b):
return a+b
And then I execute this function 100 times in a embarrassingly parallel way,
output = [delayed(add)(i,i+1) for i in range(100)]
compute(*output)
My question is the above code will start 100 process? If so, is there a way to make it start say 10 process, so to reduce the time to start process?