From: <er...@he...> - 2004-02-23 22:25:59
|
On Mon, Feb 23, 2004 at 01:24:44PM -0800, Dale Harris wrote: > On Mon, Feb 23, 2004 at 09:22:47AM -0700, er...@he... elucidated: > > > > Hehe. You've discovered the wacky shell script hack that I put in a > > while ago. The problem with shell scripts is that then the kernel > > sees '#!/bin/sh' in a script called X it actually does > > execve("/bin/sh", "X", 0). X isn't going to exist on the nodes most > > of the time. This is true in my world anyway. BProc, in an attempt > > to be tricky and get around this, puts the script in the process's > > memory space and then gives you this file descriptor on fd 3 that > > magically just reads the file from your own memory space. This made a > > few perl users very happy a while ago. > > > > I wonder if that is what was getting in the way of PVM on 4.0? That was > the file it would complain about. Hrm. Could be.... Most of those things (PVM, MPI, etc.) tend to be very script-centric... - Erik |