-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add deprecated synonyms to removed params #703
base: master
Are you sure you want to change the base?
Conversation
"-1: do not bind." | ||
"Warning: binding relies on HWLOC, be careful when using with cgroups", | ||
false, false, comm_binding_parameter, &comm_binding_parameter); | ||
parsec_mca_param_reg_syn_name(idx, "parsec", "bind_comm", true); |
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.
we have parsec_bin_main_thread
and parsec_bin_comm
? Make it parsec_bind_comm_thread
to be similar.
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 updated the description to explain: the synonyms are reintroduced for the only purpose of complaining if they are used, and they are expected to be inconsistent (reason they got removed in the first place)
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.
Since I get you, the synonym registration with deprecated=true
does not cause a warning to be issued when the mca is used, but only when calling mca_show_params does a warning get issued. Am I using this wrong?
false, false, dot_param, &dot_param); | ||
parsec_mca_param_reg_syn_name(idx, "parsec", "dot", true); |
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.
parsec_profile_dot
?
These synomyms are inconsistent (that's the reason they got removed in the first place). They are reintroduced only for the purpose of complaining when they are used instead of being silently ignored.