-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update petsc solver #3
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe RAPIDpy project has streamlined its operation and setup. By simplifying the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (2)
- RAPIDpy/rapid.py (1 hunks)
- setup.py (2 hunks)
Files skipped from review due to trivial changes (1)
- setup.py
Additional comments: 2
RAPIDpy/rapid.py (2)
- 777-777: The change to use the Cygwin path conversion method for the
local_rapid_executable_location
variable is appropriate for ensuring compatibility with Windows systems using Cygwin. This adjustment ensures that the path format aligns with Cygwin's expectations, facilitating the execution of the RAPID executable in a Windows environment.- 781-786: The removal of the conditional logic for adjusting the
run_rapid_command
based on the number of processors and the hardcoding of-ksp_type
to 'preonly' align with the PR objectives to simplify the PETSc solver configuration and move away from MPI usages. However, this change could impact users who rely on parallel processing capabilities. It's important to ensure that documentation and release notes clearly communicate this change to users, highlighting the shift towards a simplified solver configuration and the implications for parallel processing.Consider adding documentation or release notes to clearly communicate the changes in solver configuration and the removal of MPI-based parallel processing capabilities to users. This will help manage expectations and guide users in adapting to the new configuration.
Remove usages of MPI and use the PETSc preonly solver insetad of richardson
Summary by CodeRabbit