Set pressure PC in Taylor-Hood assembly test - #4370
Conversation
|
I don't see an inherent reason why the local ILU would fail. It doesn't in our tests. It would be good to know the root cause before we make a change. If there is an issue, it could lie elsewhere. |
876ce66 to
974f756
Compare
|
Thanks, agreed that the PR should not claim more root cause than the evidence supports. The first version used
both returned I updated the PR to set the pressure split to If the next CI run still fails, I agree the better next step is to dig into the matrix/preconditioner state rather than keep changing solver options. |
|
Additional CI triage: The current red checks appear to be blocked before this PR's solver path. The docs job and a local reproduction with the current dependency set both fail during I also ran a targeted local container reproduction against this PR head ( mpirun -np 3 python -m pytest -q python/test/unit/fem/test_assembler.py -k test_assembly_solve_taylor_hoodwith So the updated |
974f756 to
717a15f
Compare
|
Are you using macOS? If yes, try using dolfinx/.github/workflows/macos.yml Line 80 in 2fd387b |
|
Thanks for the pointer, and apologies for the delayed reply. The host machine is macOS, but the focused run I reported was inside the Linux image I also checked your resolution of #4359: The remaining proposal is simply to select |
The Taylor-Hood nested assembly test explicitly selects LU for the velocity sub-KSP but leaves the pressure preconditioner at PETSc's default. This change also selects
lufor the pressure sub-KSP, making both sub-solves explicit.Related to #4359. The reported macOS hang was resolved with PETSc's
--download-mumps-avoid-mpi-in-placebuild option, as confirmed in that issue. This PR is a test-configuration proposal; it does not establish an ILU defect or claim to fix the macOS build issue.Validation:
974f756passed all four Taylor-Hood cases with three MPI ranks,PETSC_ARCH=linux-gnu-real32-32, andnanobind==2.13.0.717a15ffollowing Adapt tonanobind@2.14.0#4371, all executed CI checks passed, including real32/OpenMPI and macOS. SonarCloud was skipped.AI assistance: OpenAI Codex assisted with the code change, testing, and PR text.