-
Notifications
You must be signed in to change notification settings - Fork 23
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
test_save_deg2 fails for FEniCS stable #94
Comments
The error seems to come from MPI, but it’s a bit weird since we are not using MPI in the test. I don’t know how to fix this immediately but maybe using updated version of container might help? or @jorgensd might know how to fix this. |
That is for the tests that are run against FEniCS master ( |
I see. It seems like there were some updates on conda-forge fenics last couple of weeks, so that might be related... |
The conda envs are using PETSc 3.20, which could cause many issues for us, as PETSc no longer does garbage collection in Python (since 3.16). |
If it's related to PETSc version, I'm guessing there's little we can do to fix. One way is to simply remove the test for save_deg=2. I guess the problem might be related to 'PETScDMCollection.create_transfer_matrix' function. |
This problem affects conda-forge as you can see here. Should we simply deactivate test for |
@keiyamamo - I don't think the issue with turtle on conda-forge is related to this issue. When looking at the logs, you can see that all the tests are failing due to a segfault. This is the same problem I see when restarting the tests for Python 3.10. The first test, I'm not sure whether we should consider disabling the Note that all the various Python versions we test use the same PETSc version (3.20.0), so the issue doesn't look to be related to the PETSc version. |
I saw a related issue yesterday, due to using the latest version of mpi4py. Maybe try to pin it to a sensible version? @MariusCausemann, what version did you end up using? |
I solved my problem by using mpi4py 3.1.4, but I'm not sure if it's the same problem. Good luck! |
Thank you @MariusCausemann ! I tried with 3.1.4 but did not solve the problem keiyamamo#3 |
Using PETSc 3.19.6 fixed the problem with Python 3.8, but it did not fix the problem with segfaults with Python 3.10. |
I tested with |
Failure of |
I don't understand the interactions enough, but the segfault in conda-forge/fenics-feedstock#192 is because PetscInitialize is never called. This seems to clearly be a bug in fenics, as PetscInitialize seems like it should be required before using petsc at all. Fixing that seems ot be easy, and requires calling |
Thank you @minrk for the explanation! I lowered version of @johannesring @jorgensd Do you think it would be okay to specify |
@keiyamamo - Yes, I think that is okay for now. |
The test
test_save_deg2
fails for FEniCS stable with the following output:The test only fails for
ubuntu-latest
and for Python 3.8 and 3.10, while the test runs fine for Python 3.9 and 3.11.The complete output is available here.
The text was updated successfully, but these errors were encountered: