-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add Lapack dependencies to meson.build for XSF #23593
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: main
Are you sure you want to change the base?
Conversation
new Mathieu impls which use a recursion matrix to compute the Mathieu Fourier coeffs.
Thanks for working on this @brorson! This is for scipy/xsf#60, right? I see the This change looks correct, but we shouldn't merge it separate from updating the
Does that work for you? |
Sorry for the late reply. Yes, your proposed plan of action is fine with me. The issue I encountered is that my code changes are in the xsf repo while the necessary changes to the build system are in the main scipy repo. It looks like the scipy stuff grabs the latest xsf stuff from the xsf repo when doing a checkout, but I don't understand how they are linked. That's my inexperience with the GitHub workflow. My goal is to include the build system changes along with the code changes in xsf/include/xsf. Whatever mechanism you have to achieve that is fine with me. |
It's always a little annoying to work on code that's split across repos. The way I usually do this is to work on the git submodule (
|
Thank you for the suggestion. I will try that -- I appreciate the advice since I have not dealt with this type of GitHub workflow before. I am busy with other stuff right now so I won't be able to get to it until next week, but please remain patient -- my goal is to see this through to completion. |
Sure, no hurry at all - please do ask if you need another pointer or run into an issue. We only recently split out |
I am working on an implementation of the Mathieu functions for xsf. The current impls have a number of bugs which I have fixed. @steppi and @lucascolley are aware of this work.
I have added my code to my GitHub repo https://github.com/brorson/xsf_mathieu. That's my fork of the xsf repo.
However, to do a build I also need to update the build dependencies for xsf. The meson.build file for xsf lives in the main Scipy trunk, not in the xsf subproject. Therefore, I am requesting this pull which will update the meson.build file so the xsf stuff will build.
Important note: Once the meson.build and the xsf stuff are put together and a build is performed, the CI tests will fail. See my test failures below. The tests fail since the old tests just checked some golden values generated from the buggy, old impl. The new impl returns correct values which are different from the old one so failing tests are expected.
I have students working on creating a Python test suite for this Mathieu fcn impl and will be happy to add that to Scipy once it is ready. If desired, you could create a branch where we could work to finalize the Mathieu implementation.
My pull requests should close these bugs (and others too):
#4479
#14526
https://stackoverflow.com/questions/28205127/mathieu-characteristics-cross-when-plotted
#14577
Failed tests:
================================================== short test summary info ==================================================
FAILED scipy/special/tests/test_basic.py::TestCephes::test_mathieu_cem - AssertionError:
FAILED scipy/special/tests/test_basic.py::TestCephes::test_mathieu_sem - AssertionError:
FAILED scipy/special/tests/test_basic.py::TestCephes::test_mathieu_modcem2 - AssertionError:
FAILED scipy/special/tests/test_basic.py::TestCephes::test_mathieu_modsem2 - AssertionError:
FAILED scipy/special/tests/test_basic.py::TestCephes::test_mathieu_ticket_1847 - AssertionError:
FAILED scipy/special/tests/test_data.py::test_gsl[] - AssertionError:
FAILED scipy/special/tests/test_data.py::test_gsl[] - AssertionError:
FAILED scipy/special/tests/test_data.py::test_gsl[] - AssertionError:
FAILED scipy/special/tests/test_data.py::test_gsl[] - AssertionError:
FAILED scipy/special/tests/test_data.py::test_gsl[] - AssertionError:
FAILED scipy/special/tests/test_specfun.py::test_cva2_cv0_branches - AssertionError:
=================== 11 failed, 7673 passed, 421 skipped, 184 deselected, 54 xfailed, 1 xpassed in 44.50s ====================