-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--bind-to check prioritized. Use iface address instead of loopback if available. #6030
Conversation
On this branch the julia> addprocs(["127.0.0.1", "127.0.0.1"])
ssh: connect to host 127.0.0.1 port 22: Connection refused
ssh: connect to host 127.0.0.1 port 22: Connection refused
^C
Program received signal SIGINT, Interrupt.
0x000000010012d4c9 in add_page (p=0x100cfc200) at gc.c:460
460 v = (gcval_t*)((char*)v + p->osize); |
you need to be running the ssh daemon on localhost since you are using the ssh mode of addprocs to launch workers on localhost. |
gdb also does not print a stack
|
Oh right, duh. |
# Currently disabled since this caused processes to spin instead of | ||
# exit when process 1 shut down. Don't yet know why. | ||
#redirect_stderr(STDOUT) | ||
redirect_stderr(STDOUT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uncommented the above since it does not seem to be a problem now.
@JeffBezanson - please have a look. |
Updated to ensure that |
this PR fixes my problems doing an addprocs() followed by an addprocs_sge() on a cluster whose nodes have two NICs. thanks amit. i tried merging into this branch the latest commits from master, and got a couple conflicts... |
Good. I'll rebase once @JeffBezanson takes a look and is OK with this approach. |
Looks good. |
--bind-to check prioritized. Use iface address instead of loopback if available.
This PR does the following:
--bind-to
command line option is used to solve the multi-homed node issue. It is is processed before other arguments andLPROC.bind_addr
is set the ip-address suggested on the command line (if present), else it is set to whatever is returned bygetipaddr()
.--machinefile
file format (as alsoaddprocs(machines::Vector)
), is now of the form[user@]host[:port] [bind_addr]
. i.e., it supports an optionalbind_addr
field that is passed as a command line argument to the started workers.Closes #5995