[Numpy-discussion] Recovering from a STOP ?
Wed Mar 14 15:49:38 CDT 2012
On Wed, Mar 14, 2012 at 9:25 AM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> Or, maybe the whole Fortran stuff can be run in a separate process, so
> that crashing doesn't matter.
That's what I was going to suggest -- even if you can get it not to
crash, it may well be in a bad state -- memory leaks, and who know
We did something similar with some C code that called the system
exit() function when it encountered errors -- it may not have been too
hard to replace those calls, but making sure the memory was all
cleaned up was going to be a trick -- so we just used the multiprocess
module to call it in another process.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the NumPy-Discussion