From: Eric Roman (eroman_at_lbl.gov)
Date: Thu Oct 24 2002 - 12:00:06 PDT
I checked in some (slightly less broken) PID and parentage restore code. I just tested exec() with pthreads after a restart, and it looks like it works correctly. So the LAM folks ought to be in a better spot. There are a number of caveats, this code hasn't been well tested, but works ok most of the time. One major caveat: cr_restart WILL NOT WORK if you have any other tasks in the background. If you do something like: xterm & cr_restart foo It will fail. (I'll fix this quicker if this is a showstopper for anyone, but for now, just make sure that cr_restart has no sibling processes when you run it.) -- Eric Roman Future Technologies Group 510-486-6420 Lawrence Berkeley National Laboratory