From: Luke <lo...@du...> - 2004-06-11 04:13:08
|
You may want to note that -3 means BPROC_NODE_NONE. From my debugging runs, on the first pass through that loop you're getting back garbage in the string from bproc_nodestatus. I definitely agree with Greg as well- Unless there's something about LAM on bproc that I'm missing, it would be bad to require that parallel processes are present on the master. -Luke Greg Watson wrote: > Brian, > > Actually BProc uses -1 to designate the master node. Slave nodes are > numbered starting from 0, and in the BProc world the master is treated > differently from the slaves. You could try calling bproc_nodeinfo() > with -1 for the first argument. > > I would try and avoid running any applications on the master, since it > is critical to the operation of the cluster. > > Also, your error messages seem to indicate you're trying to look up > node -3. This is probably wrong. > > Regards, > > Greg |