-
Notifications
You must be signed in to change notification settings - Fork 58
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
Update FLINT_jll #1568
Update FLINT_jll #1568
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1568 +/- ##
==========================================
+ Coverage 84.90% 84.93% +0.03%
==========================================
Files 95 95
Lines 37255 37250 -5
==========================================
+ Hits 31631 31638 +7
+ Misses 5624 5612 -12 ☔ View full report in Codecov by Sentry. |
Eventually we will do this, but we first need to rebuild all binaries in Oscar that link against flint to use 3.0.0. So we have to put this on hold here for the moment. |
We could merge this in a branch and let flint test against that branch. What do you think? |
What's the time frame of the new binaries for Oscar? In the mean time we can just test against my branch in my repo. |
There is no real urgency on our side, since there is nothing new in 3.0. So maybe weeks, months? |
Just to note it here: Before any merging is done, flintlib/flint#1719 would have to be solved. |
is it complicated to fix? |
No, not really. We align by pages, so we either have to use the user-assigned |
So FLINT 3.0 should not be used with Nemo due to the GC problem, but the upcoming 3.1 should work! |
It seems FLINT 3.1 is now out and in a JLL, and as far as I know, this is now supposed to be useable within OSCAR. Unfortunately this PR now has many conflicts. @albinahlback would you be willing to update it? |
Sorry, I completely missed this. Will do. |
Hopefully this works. Edit: There were some new(?) functions that did not push any reference to the contexts, should hopefully be fixed now. |
@thofma can you check that the fix I made is correct according to the GC? |
Btw, how do I run a specific test in Nemo? |
Seems to work fine. Let me know if it is and I will squash the commits. |
Looks good, thanks |
Once upon a time, one could do something like
but this is broken. |
I took the liberty of splitting this into two commits: one with the "actual" changes, and a second one which takes care of replacing libantic, libarb, libcalcium by libflint. The second commit was made by modifying
This way it is much easier to see what the "real" changes are. |
I am trying this with Hecke. It is not looking good. @albinahlback any hint what
|
I think I found out what the problem is, but it would still be good to know what the "Impossible conversion" hints at. |
I will try my best to fix this. But why doesn't this show up in the tests for Nemo? |
I don't think there is anything that needs to be changed in order to work? I will just make |
The tests are not that extensive. I reduced it to the following change in behavior: Before:
With the PR here:
Note that |
This includes: * Reduce size of fq_default_ctx_struct to match the synonymous gr_ctx_struct. * Adjust for FLINT 3.1 fq_nmod where ulongs are now encouraged within this module. * Adjust for FLINT 3.1 fmpz_mod_mat changes where context objects should be part of the argument.
@fredrik-johansson do you know why this is? |
P.S.: This is just calling |
Next error/question: What is the recommended substitute for |
nmod_poly_powmod_fmpz_binexp should work. I have tried to remove functions with |
Thanks |
Thanks! |
Co-authored-by: Tommy Hofmann <[email protected]>
BTW, we will have to push a new patch for this you found, i.e. v3.1.3. (Just one more patch until vπ) |
Hm, what happend to |
Fredrik rewrote some code to utilize GR instead. I think it should be replaced with |
I see, thanks |
Who should I contact for FLINT_jll? Will soon create 3.1.3. |
I created v3.1.3. Please check it out if you have time. |
Yes, thanks, I can confirm that the But even with this fix, we are still experiencing segfaults in the Hecke tests, which we are investigating. Not sure yet whose fault it is. |
What versions of each package should I use to check? Nemo and Hecke have different versions required for AA |
I can't get the testing of Hecke to work at all on my system. |
There is no need for you to look into it. I will let you know if I find something related. |
And remove dependencies of
Arb_jll
,Antic_jll
andCalcium_jll
.Solves #1567