Skip to content
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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abouteiller
Copy link
Contributor

@abouteiller abouteiller commented Nov 17, 2024

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.

@abouteiller abouteiller added documentation Improvements or additions to documentation high priority This is an important feature labels Nov 17, 2024
@abouteiller abouteiller added this to the v4.0 milestone Nov 17, 2024
@abouteiller abouteiller self-assigned this Nov 17, 2024
"-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);
Copy link
Contributor

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.

Copy link
Contributor Author

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)

Copy link
Contributor Author

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parsec_profile_dot ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation high priority This is an important feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants