Skip to content

Fix distributed array creation and sorting issues - #4242

Merged
ajpotts merged 4 commits into
Bears-R-Us:masterfrom
ShreyasKhandekar:make-dist-array-always-dist
Apr 22, 2025
Merged

ajpotts merged 4 commits into
Bears-R-Us:masterfrom
ShreyasKhandekar:make-dist-array-always-dist

Conversation

@ShreyasKhandekar

@ShreyasKhandekar ShreyasKhandekar commented Apr 16, 2025 •

Copy link
Copy Markdown
Contributor

Ensure makeDistArray consistently creates distributed arrays and update sorting implementations to utilize the new makeDistArray.
Address build issues caused by the previous sorting method by refactoring the sorting logic into a dedicated module.

Closes #4233

The new implementation of makeDistArray exposed that we were using a non
distributed sort in SegStringSort.chpl and this replaces that with the
dynamicRadixSort.

That in term caused issues with the module initialzation order which
cased build failures. This factors out the dynamicTwoArrayRadixSort into
it's own small module to avoid this issue

Signed-off-by: Shreyas Khandekar <[email protected]>
Comment thread src/MultiTypeSymbolTable.chpl Resolved
Comment thread src/SymArrayDmap.chpl Resolved
Comment thread src/SymArrayDmap.chpl Resolved
Signed-off-by: Shreyas Khandekar <[email protected]>
@ShreyasKhandekar
ShreyasKhandekar force-pushed the make-dist-array-always-dist branch from e4cec8d to 73356c2 Compare April 18, 2025 21:14

@ajpotts ajpotts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this!

@ajpotts
ajpotts added this pull request to the merge queue Apr 21, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Apr 21, 2025
@ajpotts
ajpotts added this pull request to the merge queue Apr 22, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Apr 22, 2025
@ajpotts
ajpotts added this pull request to the merge queue Apr 22, 2025
Merged via the queue into Bears-R-Us:master with commit 38dc33f Apr 22, 2025
ajpotts added a commit that referenced this pull request Apr 23, 2025
@e-kayrakli e-kayrakli mentioned this pull request Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

makeDistArray can return a non-distributed array

3 participants