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
Modular group cohomology, version 2.1.4 #14492
Comments
comment:1
I did not test the package on OS X yet, but only on my The new package version should be able to compute the mod-3 cohomology of the third Janko group without manual intervention, but the verification will take a couple of more days. In any case, it needs review! |
This comment has been minimized.
This comment has been minimized.
comment:3
I get this error with the doctests:
Maybe something wrong with the temp directory? The actual functionality seems to work, though. |
comment:4
Hm. This should work. But there is something much more urgent concerning "should work": I tested the package on my laptop by running the test script explicitly, which worked. But When I run it as part of the installation procedure (i.e., by Reason:
I don't know where the "-o" comes from. To be investigated. |
Work Issues: Fix test script |
comment:5
Replying to @vbraun:
Aha. So, here I check against an error that is supposed to occur in certain settings. Hm. I don't understand why the result is just a blank line, not the error that is actually due in this case. The line preceding this test removes the existing cohomology ring from memory but not from disk; and a computation from scratch should then fail, because it does not like to find the data in a location in which new data are supposed to be written. |
comment:6
I think here is the problem:
Could it be that in the most recent Sage version one should instead write |
Changed work issues from Fix test script to none |
comment:7
OK, I have just posted a new spkg which uses double-minus for the command line options, and just started re-installation and test. |
comment:8
No. Still all tests fail. This is with sage-5.9.rc0. |
comment:9
The failures that I get for every single test looks like this:
So, does this look like an error in the doctest framework? I can reproduce it when I directly run the spkg-check script under sage-5.9.rc0. I tried to run the tests verbously, but it didn't help, the tests won't even start, but no reason is given. |
comment:10
The tests of each function are written into a temporary file. One of the files looks like this:
without a line break at the end. I am testing now if the missing line break is to blame. |
comment:11
No, adding the line break did change nothing. |
comment:12
One could say that I was misusing the "# optional" tag: The tests were supposed to be part of the test suite, but the tag was only in order to tell the user (not to tell the test bot): "If you don't have internet access then this test is supposed to fail; don't worry". In the new version, that I just put on-line, the tag is replaced by "# needs internet access", which is informative to the user in case of an error, but will not interfere with the test framework. |
comment:13
And I forgot to mention one thing: In contrast to previous versions of the spkg, it is now not required to have internet access for running the test suite. The only exceptions are the tests of two methods whose actual purpose is internet access. |
comment:14
In spkg-check, |
comment:15
Replying to @jhpalmieri:
Thank you for spotting this! I have already been wondering why setting |
comment:16
OK, fixed, and setting |
comment:17
On my OS X 10.8 machine, all tests passed! |
comment:18
Replying to @vbraun:
Is it reproducible? |
comment:19
Replying to @jhpalmieri:
And on my |
Changed reviewer from Volker Braun to Volker Braun, Jeroen Demeyer |
comment:83
It has turned out that, with the increased optimization level, the package won't build with old compiler versions (e.g., not with gcc 4.4.5). Since this spkg version does not seem to be copied to the "official" list of optional spkgs: Is there still time to add a test that makes sure to install the package only when it works with the available gcc? In later versions (but not in 2.1.4 yet), I could imagine to make the optimization level depend on the available compiler. |
comment:84
I did preserve a copy of the spkg that has been reviewed here. But I am now posting a new version that tests whether some underlying programs appear to work. If they don't, I am printing a hint concerning gcc version, and exit with an error. If you think that this should better be done on a new ticket, then I'll do so. But I think it would be simpler to keep it here, because p_group_cohomology-2.1.4.spkg has not been put in the official repository of optional packages, yet. |
comment:85
It seems to work (i.e., to fail) correctly. When installing the updated spkg version in a Sage version that was built with gcc 4.4.5, it ends with
But it installs fine on a system with gcc 4.6. If you think that we can include this last minute change, then please review it. Otherwise, please tell me to put back the previous spkg. |
comment:86
Sorry, one small file is still missing. |
comment:87
OK, the spkg is updated. I verified that it does build on two systems with gcc 4.6 resp. 4.7.2, but correctly refuses to build with gcc 4.4.5, reporting a segmentation fault in
The difference to the previous test is this: The test is now creating the previously missing data file p002.zzz before calling |
Changed author from SimonKing to Simon King |
comment:89
It doesn't seem to work, due to the file
|
comment:90
Perhaps you meant
instead of
|
comment:91
Replying to @jdemeyer:
I have updated my spkg accordingly. Could you try it again? I guess the problem on my machine has been that there was a |
comment:93
Seems to work now. |
comment:94
i've put the spkg on the server. |
Because of several backward incompatible internal changes in Sage (e.g., removing SAGE_DATA and moving it to SAGE_SHARE), the current version of the optional group cohomology package
p_group_cohomology
did not work.Moreover, tmp_dir used to return a string, but now it also creates a directory; for this reason, many tests failed.
And also some random generators (in GAP?) seem to have changed. For this reason, some ring presentations have changed (i.e., the rings are isomorphic, but a different presentation is obtained with an old or with a new Sage version). Hence, doctests needed to change.
In any case: The new group cohomology spkg copes with these changes. However, it will therefore not work with old Sage versions.
Further implementation changes
os.path.join
andos.path.split
, rather than string concatenation using a non-portable path separator'/'
.Change of algorithms
The first change: If no new relation has been found in degree n-1, then a complete Gröbner basis of the relation ideal is computed, even if a completeness criterion can not be applied yet. This simple change reduces the computation time for the mod-3 cohomology of J3 by several days.
The second change: By mistake, the old version would attempt to prove completeness with the Hilbert-Poincaré criterion, even if the Symonds criterion has already shown that the ring is incomplete. Now, the Hilbert-Poincaré criterion is only used if the Symonds criterion has not been conclusive.
The third change: In the old version, it was first tested that the current ring approximation contains parameters for the complete cohomology ring, and then such parameters have been constructed using the relations in the ring approximation. These relations can be rather complicated. Therefore, we now compute parameters via restriction to maximal elementary abelian subgroups. It is known that a set of elements of the ring approximation yields parameters for the cohomology ring, if and only if the cohomology of the maximal elementary abelian subgroups is finite over the restriction of these elements.
Hence, we can detect parameters even if the ring approximation is far from being complete, and we can compute in rings that are much easier to deal with. By consequence, it is now in most cases possible to prove completeness by the Symonds criterion, which relies on the explicit construction of parameters in small degrees. Our other criteria, which are able to use an existence proof for parameters of small degrees (without the need of their explicit construction) are of course still part of the package, but it became difficult to show examples in which they are actually used.
New features
There is no substantially new functionality. However, depending on how fast the reviewing goes, I could imagine to soon add a method so that
gap(H)
returns an algebra in the GAP interface, isomorphic to a cohomology ring H.Documentation
The documentation can be built locally. It should look as here
SPKG
p_group_cohomology-2.1.4.spkg
CC: david.green@uni-jena.de @jhpalmieri
Component: packages: optional
Keywords: group cohomology
Author: Simon King
Reviewer: Volker Braun, Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/14492
The text was updated successfully, but these errors were encountered: