-
Notifications
You must be signed in to change notification settings - Fork 897
Correctly report TCP connect errors. #7131
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
Conversation
a589132
to
129119e
Compare
The IBM CI (GNU Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/ade4dbd8ec4062b0a3da9467e6154385 |
The IBM CI (XL Compiler) build failed! Please review the log, linked below. Gist: https://gist.github.com/08d34295e83c7b382d9b573204fdb804 |
opal/mca/btl/tcp/btl_tcp_endpoint.c
Outdated
@@ -848,7 +848,7 @@ static int mca_btl_tcp_endpoint_complete_connect(mca_btl_base_endpoint_t* btl_en | |||
opal_show_help("help-mpi-btl-tcp.txt", "client connect fail", | |||
true, opal_process_info.nodename, | |||
getpid(), msg, | |||
strerror(opal_socket_errno), opal_socket_errno); | |||
strerror(so_erro), so_erro); |
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.
Don't you need to call getsockopt()
to read the SO_ERROR
value?
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.
Yes, that's what we do about 20 lines above. The CI error was due to a typo (because I failed my copy/paste from another terminal). Should be fixed now.
Signed-off-by: George Bosilca <[email protected]>
129119e
to
4765627
Compare
@bosilca I just massaged the initial message :-) |
Remove duplicate error message in TCP help.
Signed-off-by: George Bosilca [email protected]