-
Notifications
You must be signed in to change notification settings - Fork 230
Curl2 matrix BC masks #6383
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
base: development
Are you sure you want to change the base?
Curl2 matrix BC masks #6383
Conversation
|
@EZoni I've added a new 2D CI tests that uses PETSc, but it doesn't work because the PETSc flag is not defined when building for the CI tests. What should we do about this? |
304f92e to
70096d6
Compare
d66c30e to
89a221a
Compare
89a221a to
59968ef
Compare
|
[ ] https://github.com/BLAST-WarpX/warpx/blob/development/.azure-pipelines.yml add https://packages.ubuntu.com/search?keywords=libpetsc&searchon=names&suite=questing§ion=all & flags @ax3l It's not clear to me what I'm supposed to do here. Can you elaborate? Here is how I would normally build with CMake when using PETSc: |
55ff657 to
4a4f253
Compare
|
Some info on the CI configuration topic. This is the step where we configure and compile WarpX before running the CI tests in the Azure pipelines: Lines 142 to 158 in 83cfdd0
You see that the configuration relies on the environment variables
Lines 39 to 53 in 83cfdd0
In your case it looks like the extra build options are
I would maybe add them to Lines 147 to 149 in 83cfdd0
The outstanding question for me is on the environment variables @ax3l Please feel free to chime in and comment/correct my suggestion. |
|
@EZoni Thanks for the explanation. I agree that the AMReX_PETSC flag should go in the AMReX_CMAKE_FLAGS. The other flags would be set depending on where PETSc is configured and compiled. It is still not clear to me how to accomplish that. Perhaps @ax3l @WeiqunZhang @debog can answer that. |
f24420c to
0d3298f
Compare
|
@JustinRayAngus Could you add this to your PR? It's unrelated to this PR. But it's just a one-line change that is needed for PETSc in debug mode. |
Sure. I believe there is also a PetscFunctionEndUser function. Should I add that too? |
c8f95fd to
2cffb10
Compare
No. The issue is there is a PetscFunctionEndUser already without Begin. |
Add masks to implement the boundary conditions in the curl curl matrix used for the PETSc preconditioner.