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

Refactor of beamcon #59

Merged
merged 40 commits into from
Jul 31, 2024
Merged

Refactor of beamcon #59

merged 40 commits into from
Jul 31, 2024

Conversation

AlecThomson
Copy link
Owner

A relatively big refactor of the beamcon scripts. Mostly for internal sanity and doing away with dictionaries in favour of namedtuples.

A big change for the attention of @wasimraja81, @axshen and others is that I also remove MPI functionality here. In place, I use threading (through the built-in concurrent.futures API). This has a nice speed bonus, as well as reducing the code footprint. Since we use Numpy+Numba, or we wait on I/O, the Python GIL is mostly not an issue.

The CLI calls remain identical, with the exception of MPI options being removed. If you have big issues with this change, I'm happy to hear feedback.

This will target a major version bump.

Still got some documentation to finish up.

@AlecThomson AlecThomson mentioned this pull request May 21, 2024
@AlecThomson AlecThomson marked this pull request as ready for review May 21, 2024 03:57
@AlecThomson
Copy link
Owner Author

Documentation now in place

@AlecThomson AlecThomson added the enhancement New feature or request label May 21, 2024
@AlecThomson AlecThomson self-assigned this May 21, 2024
@AlecThomson AlecThomson merged commit faa15e2 into master Jul 31, 2024
10 checks passed
@AlecThomson AlecThomson deleted the refactor branch July 31, 2024 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants