From: Daniel G. <dg...@ti...> - 2004-06-11 11:41:53
|
LAM runs fine on bproc 3.x, and it does NOT use the master to run the parallel jobs, so no need to worry about that. LAM just needs to know who the master is, in order to submit the parallel stuff on the slave nodes. Brian's problem is that the bproc API has changed sufficiently that all sorts of things have broken in LAM, and one must make sure what it is that functions such as bproc_nodeinfo() bproc_nodestatus actually return. Daniel On Thu, Jun 10, 2004 at 11:13:36PM -0500, Luke wrote: > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > BProc-users mailing list > BPr...@li... > https://lists.sourceforge.net/lists/listinfo/bproc-users -- Dr. Daniel Gruner dg...@ti... Dept. of Chemistry dan...@ut... University of Toronto phone: (416)-978-8689 80 St. George Street fax: (416)-978-5325 Toronto, ON M5S 3H6, Canada finger for PGP public key |