Hi,

For some reason that is currently still beyond me, I can't bind to INADDR_ANY 
for more than 74 ports on a Cray compute node, without getting EADDRINUSE.
This impacts my use of the oob_tcp_listener.c:create_listen() code on that 
machine (through means of orte-submit).

I've implemented a proof of concept that gets the address from a hardcoded 
interface and uses that for the binding, and then everything is hunky dory.

Although I'm interested in the root cause also, that may likely be outside of 
my control, so I wonder whether the hack can be turned into something more 
appropriate.

So some questions:

- I can't stop to think that somewhere in the codebase there is probably some 
portable code to extract addresses from an interface.
- Is there already some MCA parameter that can be (re)used to specify the 
interface to use for this kind of purpose.
- (And why is the "client" listening on a socket in the first place?)

Thanks!

Mark

Reply via email to