-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
Upgrade p_group_cohomology to version 3.1 #26001
Comments
Dependencies: #24735 |
comment:3
Replying to @simon-king-jena:
I ran the Sage testsuite with #24735 and didn't get any failures. But maybe you are talking about issues in p_group_cohomology which do not affect Sage doctests? |
comment:4
Replying to @jdemeyer:
Right, it seems that this one had a different reason. |
This comment has been minimized.
This comment has been minimized.
comment:7
The new version copes with the changes in Singular also adds a new method that allows to find filter regular parameters in very small degrees after the computation of the cohomology ring has been completed. This may be useful to verify a conjecture of Benson in some open case. Known problem In some Singular procedures, I use a Hilbert driven computation, which in older versions of Singular used to be a lot faster and less buggy than what Singular could offer (this is in the computation of intersections, quotients etc.). In the new p_group_cohomology version, I found that in one example, my Hilbert driven procedures would give a wrong result. So, I changed the procedures, using Singular's built-in functions. Now, all tests pass. However, some of these tests need a very long time, htop showing that the time is spent in Singular. Thus, I suppose it is because of dropping the Hilbert driven computations. So, for now I am changing the ticket to "needs_review" --- after all, the tests pass. Nonetheless, I am investigating whether the slowness persists with Singular-4.1.1.p3 (after all, p3 fixes a performance problem in |
Author: Simon King |
Commit: |
comment:8
It seems that there is another problem: Documentation. It seems that all pages except index.html are basically empty. Could a reviewer please have a look what is going wrong there that didn't go wrong before? |
comment:9
With Singular-4.1.1.p3, one test fails. Again, it is related with But actually that could be my own fault: The ideal Unfortunately, the "long time" problem persists in Singular-4.1.1.p3. So, I have to return to using my Hilbert driven computations. |
Work Issues: Work around Singular bugs and slowness |
comment:11
Can the documentation problem be caused by having a wrong version number in the conf.py?? I couldn't test yet whether building the docs during package installation works. But building the docs in a separate directory does work. |
comment:12
Not good at all.
|
comment:13
Concerning the timings, I am not sure what is happening. As part of the test suite, I get
In an interactive session, the same test becomes
which is the expected long times, but not as long as during the tests. |
comment:14
Even more extreme is that one:
versus
Could the problem lie in Sage's doctest framework? Are there known issues, maybe related with pexpect (which the computations heavily rely on) |
comment:15
Are these computations being run in parallel? Sage doctesting (done in parallel) can get into some thrashing issues when tests use parallel code not handled through Sage (I noticed similar behavior for some of my tests, which farmed out things to normaliz and ran code in parallel). |
comment:16
Replying to @tscrim:
I am not aware that the code uses threading. But that is maybe worth asking Hans Schönemann: It may be a possibility that the latest version of Singular uses parallel computations. |
comment:17
I don't think it's the doctest framework. Maybe the earlier doctests do something causing a slowdown later? |
comment:18
Replying to @tscrim:
That's an important point: do you get the problems with doctesting in parallel or also when doctesting a single file? |
comment:19
Replying to @jdemeyer:
If that is a question to me, in my case, it was whenever I did |
comment:20
From spgk-check:
I don't recall what I didn't try without |
comment:21
When running |
comment:62
The merge conflict has only been in the "dependencies" file: #26856 changed it so that gap is a dependency, I changed it so that gap isn't mentioned. I hope it is fine to take the "dependencies" version of #26856. Am I right that it needs another review? I am rebuilding Sage (with the latest develop) right now and will then try to rebuild and test the package. |
comment:63
I hate to think what could happen if a ticket merged in a beta-release stage gets unmerged before the release, while its branch is gone... Anyway, I merely illustrated a basic two-liner to check out a named branch using plain git, no more than that. New commits:
|
comment:64
Replying to @simon-king-jena:
I think the deps of an optional package ought to be as explicit as ones of a standard one, after all nothing prevents a user to try to install an optional package on an incomplete build of Sage, and then omitting deps would be lethal. So
I think you could run the package's tests and mark the ticket positively reviewed if everything is OK. |
comment:65
Sigh. It happened again. By some change, the package now fails completely. One cannot even import CohomologyRing. I have yet to find out what is happening there. |
Work Issues: Cope with a downstream change |
comment:66
|
comment:67
This is GAP (one of its packages, I guess) that is using
user GAP code should not use such generic variable names, as GAP has no proper namespaces---whereas you have
in |
comment:68
Replying to @dimpase:
OK. GroupName is a bad description of that function anyway. It takes a SmallGroup address (otherwise named So, I'll call it |
comment:69
I actually checked that with such a change (editing one GAP source file in like 4 places) the import above works. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:71
I have updated the tarball (same address as before). After the change, I get
Since the change hasn't been totally trivial, I leave it up to decide whether it can be "positive review". |
Changed work issues from Cope with a downstream change to none |
comment:73
Happy New Year, Simon :-) |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Dima Pasechnik |
comment:74
Replying to @dimpase:
To you as well, Dima! |
comment:75
Since the old package no longer works with Sage 8.6.rc0, this should be merged in 8.6 |
Changed branch from u/SimonKing/upgrade_p_group_cohomology_to_version_3_1 to |
A recent fix in Singular makes computing a certain invariant of modular cohomology rings of finite groups faster, but another recent fix in Singular makes the p_group_cohomology package fail.
The new version p_group_cohomology-3.0.1 is supposed to cope with the changes in Singular. I suggest to base it on top of #24735 and make it a dependency for #25993 (which contains the above mentioned changes in Singular).
While I was at it, I also improved more features of the package. Hence, I propose to upgrade to p_group_cohomology-3.1.
Upstream tarball v3.1
Depends on #24735
Depends on #22626
Depends on #26389
Depends on #26856
CC: @jdemeyer @tscrim @vbraun
Component: packages: optional
Keywords: group cohomology singular
Author: Simon King
Branch/Commit:
076cbf2
Reviewer: Travis Scrimshaw, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/26001
The text was updated successfully, but these errors were encountered: