-
Notifications
You must be signed in to change notification settings - Fork 868
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
communicator: add errhandler_type back #11818
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,8 @@ int main(int argc, char **argv) { | |
#else | ||
GAP_CHECK("error_handler", test_comm, error_handler, c_f_to_c_index, 1); | ||
#endif | ||
GAP_CHECK("errhandler_type", test_comm, errhandler_type, error_handler, 1); | ||
GAP_CHECK("c_pml_comm", test_comm, c_pml_comm, errhandler_type, 1); | ||
GAP_CHECK("c_coll", test_comm, c_coll, c_pml_comm, 1); | ||
|
||
/* Test Predefined group sizes */ | ||
|
@@ -125,7 +127,8 @@ int main(int argc, char **argv) { | |
GAP_CHECK("w_keyhash", test_win, w_keyhash, w_flags, 1); | ||
GAP_CHECK("w_f_to_c_index", test_win, w_f_to_c_index, w_keyhash, 1); | ||
GAP_CHECK("error_handler", test_win, error_handler, w_f_to_c_index, 1); | ||
|
||
GAP_CHECK("errhandler_type", test_win, errhandler_type, error_handler, 1); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here as well: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added |
||
GAP_CHECK("w_osc_module", test_win, w_osc_module, errhandler_type, 1); | ||
/* Test Predefined info sizes */ | ||
printf("=============================================\n"); | ||
printf("ompi_predefined_info_t = %lu bytes\n", sizeof(ompi_predefined_info_t)); | ||
|
@@ -145,6 +148,8 @@ int main(int argc, char **argv) { | |
GAP_CHECK("f_flags", test_file, f_flags, f_amode, 1); | ||
GAP_CHECK("f_f_to_c_index", test_file, f_f_to_c_index, f_flags, 1); | ||
GAP_CHECK("error_handler", test_file, error_handler, f_f_to_c_index, 1); | ||
GAP_CHECK("errhandler_type", test_file, errhandler_type, error_handler, 1); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and here too There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added |
||
GAP_CHECK("f_io_version", test_file, f_io_version, errhandler_type, 1); | ||
GAP_CHECK("f_io_selected_component", test_file, f_io_selected_component, f_io_version, 1); | ||
GAP_CHECK("f_io_selected_module", test_file, f_io_selected_module, f_io_selected_component, 1); | ||
GAP_CHECK("f_io_selected_data", test_file, f_io_selected_data, f_io_selected_module, 1); | ||
|
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.
I think there is another line that needs to be added back (in fact, looking at it now I am not sure the code was correct before, but I am not completely sure I understand how the debugger interfaces work). It seems that we are always checking for the distance from the previous element of the structure.
GAP_CHECK("c_pml_comm", test_comm, c_pml_comm, errhandler_type, 1);
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.
Thank you!
added in new revision