From: Brian W. B. <brb...@la...> - 2004-04-21 00:37:35
|
On Apr 20, 2004, at 3:06 PM, Greg Watson wrote: > None that I know of. The file clients/sys/bproc.h documents all the > interfaces that are available. > > In order to get the node number from the IP address, you now use: <snip> > In order to look up a node by it's name, you first convert the name to > an IP address, then use the above. If you're running the latest beonss > then you can look up nodes using the names "master", "self", "n0", > "n1", etc. using the standard gethostbyname() routines. Ok, that makes sense and I think I could fix up the bproc support in LAM to deal with these changes no problem. Can I assume that anyone running bproc 4.0 is using the beonss package? If not, is there any way to convert from name to IP address other than the functions that disappeared for bproc 4.0? I guess what I'm asking is if it is safe to look for bproc_getnodebyname() and if I don't find that, assume I can call gethostbyname("n0") and get a reasonable result? Daniel, We (the LAM team) don't have any access to BProc 4.0 clusters. Given that this looks fairly simple to hack up, I can probably fix something up for LAM 7.1, but would need a volunteer to do some testing (hint, hint). Brian -- Brian Barrett LAM/MPI developer and all around nice guy Have a LAM/MPI day: http://www.lam-mpi.org/ |