-
Notifications
You must be signed in to change notification settings - Fork 159
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
INSTALL: All tests are not passing after update on Mac (Intel-based) #3800
Comments
Unfortunately these are known issues with parallel MUMPS on Mac. This issue is the same as #3793. @Ig-dolci knows more. In general it should still be possible to run your code even with these failing tests:
This issue should probably be closed as a duplicate of #3793. |
This failure is in general happening only with pytest executions. Can you please execute this test:
If you encounter this error, it indicates that the parallel Python executions are working correctly on your machine. Again, this issue is related to the firedrake pytest and does not affect your Python code executions. @nhartney Please confirm if you are obtaining such results. |
Yes. This issue is duplicated with #3793. |
Interesting. I didn't realise it was exclusively an issue with My guess is that with the current parallel testing approach we initialise MPI twice and perhaps MUMPS is not set up for this. |
This is not a duplicate of issue 3793. The final part of Nell's message says that she tried the suggestions and it didn't work. @nhartney could you share exactly what you tried? I know you sent me the output:
But could you share the exact command you executed (which I assume is the method used in the afore mentioned issue something like There aren't many Intel Macs kicking around any more so reproducing this issue might be quite difficult! |
You are right @JDBetteridge . My suggestion to try fixing this python errors is also update petsc with firedrake-update —rebuild. |
Good idea, but |
After trying this test the output errors are not as given in step 4. Instead the output I get is:
|
It seems that even after updating Firedrake/PETSc, you are still encountering issues with parallel executions. To sort out this, try setting |
This worked - thank you very much! |
To summarise, it seems like the current MacOS + MUMPS situation is as follows:
In all cases the solution is to use For (1), as Intel Macs are phased out I think we are less and less likely to have users reporting this issue and so we probably don't need to do anything. For (2) I also think that users will stop hitting this because:
|
Describe the error
3 tests fail after a Firedrake update:
test_dg_advection_icosahedral_sphere_parallel
,test_dg_advection_cubed_sphere_parallel
andtest_poisson_analytic_linear_parallel
.Steps to Reproduce
firedrake-update --install gusto
pip uninstall -y h5py
pip uninstall -y mpi4py
firedrake-update --install gusto
firedrake-clean
cd $VIRTUAL_ENV/src/firedrake
pytest tests/regression/ -k "poisson_strong or stokes_mini or dg_advection"
Expected behavior
Expected all tests to pass.
Error message
Please also include either
firedrake-install.log
which is found inthe directory
firedrake-install
was run orfiredrake-update.log
found in the virtualenv directory.
firedrake-update.log
Additionally please include the PETSc configure log located in
$VIRTUAL_ENV/src/petsc/configure.log
.configure.log
Environment:
Additional context
I did
pip uninstall -y h5py
andpip uninstall -y mpi4py
after a first unsuccessful update, andfiredrake-clean
after the second update (which was more successful) when this was suggested. After the second update I still have some failing tests. I tried the suggestion from Issue #3793 but this did not work for me.The text was updated successfully, but these errors were encountered: