wmayner / pyphi

A toolbox for integrated information theory.
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006343
Other
372 stars 97 forks source link

Error in Multithreading? #16

Closed fischerdom closed 6 years ago

fischerdom commented 7 years ago

Hey guys,

It seems that pyphi isn't stable anymore. I got a multithreading exception:

Traceback (most recent call last): File "/usr/lib/python3.4/multiprocessing/queues.py", line 242, in _feed obj = ForkingPickler.dumps(obj) File "/usr/lib/python3.4/multiprocessing/reduction.py", line 50, in dumps cls(buf, protocol).dump(obj)

Could you maybe help me with this issue?

wmayner commented 7 years ago

Hi Dominik,

This should have been fixed a few days ago. What commit of the develop branch are you on? Try updating to the latest commit and see if the problem still comes up.

Cheers, Will

rlmv commented 7 years ago

Yes, @fischerdom this should be resolved with the latest code. Please let us know if this shows up again and I'll investigate further.

fischerdom commented 6 years ago

Hey,

many thanks for the answer. Yes it was an older version. I will make an update and tell you if the exception still occurs.

Cheers Dom

fischerdom commented 6 years ago

Unfortunately, I still get the exception. Somehow on a random manner.

I removed the package via pip and reinstalled it, before...

rlmv commented 6 years ago

Interesting. And this is with the head of the develop branch? (pip install git+https://github.com/wmayner/pyphi.git@develop?)

One workaround is to disable parallel computations - that's not great for speed but at least you won't have any errors. Would you be willing to share the code that's causing these issues?

fischerdom commented 6 years ago

Sorry, I missed this mail. Yes it was with the branch. I did an uninstall/install before running the experiments. Now I just returned to the last working version.

Schöne Grüße Dominik Fischer

2017-09-14 16:36 GMT+02:00 Bo Marchman notifications@github.com:

Interesting. And this is with the head of the develop branch? (pip install git+https://github.com/wmayner/pyphi.git@develop?)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wmayner/pyphi/issues/16#issuecomment-329502391, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJIMYLPXCjV02YR3Ov3nA7OlqDLo3woks5siTn9gaJpZM4PSxXE .

rlmv commented 6 years ago

Ok, thanks for the report. Would you be willing to share the code that's causing the issue?

rlmv commented 6 years ago

This should be fixed in the both the 0.9.0 and 1.0.0 releases.