If this example is run with a single PE, then PE_size is 0. This is not allowed in active-set based collectives as per https://github.com/openshmem-org/specification/pull/209, and I think it's not allowed in team creation as well, correct? In the latest Teams API document, Section 10.9 (Collectives Routines) marks the requirement that PE_size > 0 as deprecated, so it may not be accounted for in shmem_team_split_strided.
A similar concern might exist for PE_stride: #209 requires logPE_stride to be greater than or equal to zero, so I presume PE_stride (linear) should be strictly greater than 0.
Should we update the #209 text to work for teams, and check for at least 2 PEs in the shmem_team_split_strided example?
https://github.com/gmegan/specification/blob/8961ba4b459b4be6fdd08aefcb8107e58de83f3a/example_code/shmem_team_split_strided.c#L21
If this example is run with a single PE, then
PE_size
is 0. This is not allowed in active-set based collectives as per https://github.com/openshmem-org/specification/pull/209, and I think it's not allowed in team creation as well, correct? In the latest Teams API document, Section 10.9 (Collectives Routines) marks the requirement thatPE_size > 0
as deprecated, so it may not be accounted for inshmem_team_split_strided
.A similar concern might exist for
PE_stride
: #209 requireslogPE_stride
to be greater than or equal to zero, so I presumePE_stride
(linear) should be strictly greater than 0.Should we update the #209 text to work for teams, and check for at least 2 PEs in the
shmem_team_split_strided
example?