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

Closes #2672, #2662 - Update CommPrimitives functions and precision in test_str_repr #2673

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

arezaii
Copy link
Contributor

@arezaii arezaii commented Aug 15, 2023

This PR resolves #2672 by replacing the use of Chapel __primitive calls for performing bulk get/put operations with calls to the Chapel Communication module, introduced in Chapel 1.28.
This change is only for backend calls to PUT and GET, and should have no effect on any Arkouda interface.

While here, also updated the expected results in operator_tests::test_str_repr to resolve #2662.

TESTING:

  • make check
  • make test
  • make mypy
  • flake8 arkouda

Reviewer should note:
(also removed a bunch of trailing spaces)

* replace the use of primitives chpl_comm_get and chpl_comm_put
  with usage of the Communications module. This fixes problems
  uncovered by chapel-lang/chapel#22884.
* adds an expected answer that includes the improved precision
  for whole numbers printed as reals, as corrected by Chapel
  PR chapel-lang/chapel#22924
@arezaii arezaii changed the title closes #2672: change call sites of get/put to use refs closes #2672, #2662 Updates due to changes in Chapel Aug 15, 2023
Copy link
Member

@stress-tess stress-tess left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@stress-tess stress-tess changed the title closes #2672, #2662 Updates due to changes in Chapel Closes #2672, #2662 - Update 1CommPrimitives functions and precision in test_str_repr` Aug 15, 2023
@stress-tess stress-tess changed the title Closes #2672, #2662 - Update 1CommPrimitives functions and precision in test_str_repr` Closes #2672, #2662 - Update CommPrimitives functions and precision in test_str_repr Aug 15, 2023
@stress-tess stress-tess enabled auto-merge August 16, 2023 16:00
@stress-tess stress-tess added this pull request to the merge queue Aug 16, 2023
Merged via the queue into Bears-R-Us:master with commit 8a519ea Aug 16, 2023
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.

Replace primitive calls to chpl_comm_get and chpl_comm_put Update precision in test_str_repr test
5 participants