Open huskebasi opened 8 years ago
Parallel uses workers to work on each piece of input, for example you have 10 chunks of work and want to run them in 2 processes, then each of these processes gets 5 pieces of work if they are the same size. For unknown reasons one of these workers seems to die (process is killed / kills itself ...) and then when the main process is trying to read what the worker has calculated it raises this exception.
To debug this you could:
sorry for the late reply, but this issue is kind of intimidating and I needed a few calm minutes to wrap my had around what's going on :)
The only thing I can say is that your work is amazing! Thank you so much for the effort. I'll use the serial version of the code for the moment.
Thanks again. Regards Riccardo
Il giorno dom 24 gen 2016 alle ore 02:45 Michael Grosser < notifications@github.com> ha scritto:
sorry for the late reply, but this issue is kind of intimidating and I needed a few calm minutes to wrap my had around what's going on :)
— Reply to this email directly or view it on GitHub https://github.com/grosser/parallel/issues/154#issuecomment-174241466.
Just ordered the T-shirt, ping if you need one.
Hi Everyone! I loved parallel since I discovered it and it allowed me to speedup my simulations in my academic research. I'm now using it to perform some optimization on a graph representing purchase journeys for customers buying a product. I have to perform a scoring process (based on some criteria e.g.entropy, frequency, etc) on all the subset of the nodes of the graph (the enumeration of its powerset) and then choose the best set based on this score. I've implemented with success a call to parallel.map method and 99% of the times the code flows with an awesome speedup but on a specific data set (read from a DB) it gives me this error:
I've looked a lot online to find solutions or description of this error but I've only found other examples of it in very different contexts. What exactly does it mean? How can I prevent this from happening?
Here's the core of the code that raise the error, if it could help:
Thanks infintely.