pmix-standard icon indicating copy to clipboard operation
pmix-standard copied to clipboard

PMIx_Group_construct and related functions - need clarification on max length of grp argument

Open hppritcha opened this issue 3 years ago • 1 comments

There's been some discussion of whether the grp argument to PMIx_Group_construct and related functions really has a maximum length cap of PMIX_MAX_NSLEN bytes.

Open PMIx implementation doesn't seem to mind being given a grp string substantially longer than what it defines PMIX_MAX_NSLEN to be.

Suggested Clarification

Remove the wording about a maximum length limit for the grp argument to PMIx_Group_construct and related methods.

hppritcha avatar Oct 06 '22 18:10 hppritcha

23Q2: We think we need to discuss this further; this appears that it would be the first time we would have a arbitrary-sized char array parameter. Maybe we can bump the limit to 511 (same as KEYLEN)? Create a supplementary constant MAX_GROUPNAME_LEN?

So at this point this is a maybe v4.2.

abouteiller avatar May 11 '23 15:05 abouteiller