Skip to content

Set P4est preferences before MPIPreferences#90

Merged
ranocha merged 3 commits intotrixi-framework:mainfrom
JoshuaLampert:order_preferences
Oct 17, 2023
Merged

Set P4est preferences before MPIPreferences#90
ranocha merged 3 commits intotrixi-framework:mainfrom
JoshuaLampert:order_preferences

Conversation

@JoshuaLampert
Copy link
Member

@JoshuaLampert JoshuaLampert commented Oct 15, 2023

With #88 being merged, it might be necessary to first set the preferences and then the MPIPreferences if you want to use the new convenience functions because otherwise P4est.jl cannot be loaded if the MPIPreferences (with local OpenMPI) are set, but not the P4est preferences. This should not be necessary anymore once P4est_jll is correctly build for OpenMPI. For now I just adjust the instructions in the README. Additionally, the new functions are used to configure the packages for CI.

@JoshuaLampert
Copy link
Member Author

I enabled the debug mode for p4est since I observed this error also locally. This cannot be caused by this PR and looks like a bug in p4est? I try to reproduce this from C.

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

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

Thanks for noticing this! Can we maybe split this PR into two parts?

  1. The documentation fix can be merged immediately.
  2. The debug mode stuff can be investigated later.

@JoshuaLampert JoshuaLampert marked this pull request as ready for review October 16, 2023 19:37
Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

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

Thanks

@ranocha ranocha merged commit 8202433 into trixi-framework:main Oct 17, 2023
@JoshuaLampert JoshuaLampert deleted the order_preferences branch October 17, 2023 19:28
@ranocha ranocha mentioned this pull request Oct 19, 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.

2 participants