Skip to content

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

Merged
merged 1 commit into from
Nov 1, 2019

Conversation

bosilca
Copy link
Member

@bosilca bosilca commented Oct 31, 2019

Remove duplicate error message in TCP help.

Signed-off-by: George Bosilca [email protected]

@ibm-ompi
Copy link

The IBM CI (GNU Compiler) build failed! Please review the log, linked below.

Gist: https://gist.github.com/ade4dbd8ec4062b0a3da9467e6154385

@ibm-ompi
Copy link

The IBM CI (XL Compiler) build failed! Please review the log, linked below.

Gist: https://gist.github.com/08d34295e83c7b382d9b573204fdb804

@@ -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);
Copy link
Member

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?

Copy link
Member Author

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.

@ggouaillardet
Copy link
Contributor

ggouaillardet commented Nov 1, 2019

@bosilca I just massaged the initial message :-)

@bosilca bosilca merged commit 6e3ff5e into open-mpi:master Nov 1, 2019
@bosilca bosilca deleted the fix/tcp_errors branch February 29, 2020 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants