On Wed, Feb 20, 2013 at 11:27 AM, mmarco <mma...@unizar.es> wrote: > I am writing some complicated code to compute braid monodromy of plane > curves. In order to do so, i am using a @parallel decorator on some > function. But i am finding some strange behaviour: the first time that i run > it, it works ok. But after that, if i try to re-run the same computation, i > get no answer. After a long wait (much longer than the expected time for an > answer), i stop the computation (pressing ESC in the notebook), and i get > the message "killing any remaining workers". > > Has somebody experienced something like this? Is there any known solution?
@parallel is just a lightweight wrapper around the operating system fork -- it's a few hundred lines of code total. See http://hg.sagemath.org/sage-main/file/ec1fb07db6e2/sage/parallel/use_fork.py#l1 I have no clue what problem you're having, given the ambiguous nature of your description and that you did not provide any source code. However, a general issue with fork involves what happens file descriptors, e.g., open connections to subprocesses -- it's possible that could be relevant for you... William > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.