sfepy/sfepy — Issue #67: live plotting hangs on Ctrl-C sometimes
Author: rc
Created: 2012-01-30 10:25:18+00:00
State: open

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

Migrated from http://code.google.com/p/sfepy/issues/detail?id=63

earlier comments

robert.cimrman said, at 2009-02-20T10:22:47.000Z:

On multicore CPUs it seems to hang always. We have got a problem here.

robert.cimrman said, at 2009-03-30T15:02:56.000Z:

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

robert.cimrman said, at 2009-05-06T13:18:33.000Z:

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