job migration

Daniel Ridge newt at scyld.com
Fri Mar 9 10:21:47 PST 2001


On Thu, 8 Mar 2001, Jag wrote:

> On Thu, 08 Mar 2001, Daniel Ridge wrote:

> > Why not just use fork()/bproc_execmove() ? You don't need then to have any
> > of the binaries installed remotely. You can (if you're clever) even
> > manage to get the dynamic link step to happen on the frontend. 
> 
> I didn't do that because I need to be able to redirect
> stdin/stdout/stderr.  BProc can't forward open file descriptors, so I
> have to rfork, open the new files, use the dup2 magic to redirect stdin
> and stdout, then exec() the process.  See my recent post on the bproc
> list if you actually want to see some code for that.

bpsh knows how to do this already. Would it be more helpful if I made bpsh
available as libbpsh?

Regards,
	Dan Ridge
	Scyld Computing Corporation





More information about the Beowulf mailing list