thegooglecodearchive / sfepy

Automatically exported from code.google.com/p/sfepy
0 stars 0 forks source link

live plotting hangs on Ctrl-C sometimes #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes, Ctrl-C causes problems requiring an explicit kill.
It may be related to [1].

[1] http://codespeak.net/pipermail/cython-dev/2008-November/003081.html

Original issue reported on code.google.com by robert.c...@gmail.com on 27 Nov 2008 at 4:01

GoogleCodeExporter commented 9 years ago
On multicore CPUs it seems to hang always. We have got a problem here.

Original comment by robert.c...@gmail.com on 20 Feb 2009 at 10:22

GoogleCodeExporter commented 9 years ago
It seems to me now that, instead of using the low-level modules like threading 
or
multiprocessing, the ipython parallel capabilities [1] are the way to go.

The docs say it explicitly:

"Start a parallel job on your cluster and then have a remote collaborator 
connect to
it and pull back data into their local IPython session for plotting and 
analysis."

Moreover, everybody working with Python seriously uses ipython :)

[1] http://ipython.scipy.org/doc/stable/html/parallel/parallel_intro.html

Original comment by robert.c...@gmail.com on 30 Mar 2009 at 3:02

GoogleCodeExporter commented 9 years ago
So all that was needed was to change multiprocessing.Queue() to Pipe(), no 
ipython or
other external packages were needed.

Original comment by robert.c...@gmail.com on 6 May 2009 at 1:18

GoogleCodeExporter commented 9 years ago
Migrated to http://github.com/sfepy/sfepy/issues/67

Original comment by robert.c...@gmail.com on 30 Jan 2012 at 10:25