Skip to content

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?

parsec_mca_param_reg_string_name("profile", "dot", "Prefix for the DOT file name containing the DAGs executed by parsec (one file per rank)",
idx = parsec_mca_param_reg_string_name("profile", "dot", "Prefix for the DOT file name containing the DAGs executed by parsec (one file per rank)",
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 ?

@abouteiller abouteiller modified the milestones: v4.0, v4.1 Nov 19, 2024
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.

MCA parameters that cannot be understood should cause warnings/errors

2 participants