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
SPKG for bliss #17552
Comments
Commit: |
New commits:
|
Branch: u/azi/blissSPKG |
comment:2
Let me instantly mention that I have no idea how to test if this thing actually works. How is this usually done? |
This comment has been minimized.
This comment has been minimized.
comment:3
Yooooooooooooo ! I fixed a couple of things, like long lines and the changelog (we shouldn't have a changelog anymore in those files. It was only useful in the Mercurial era). Some other modifications later, the branch seems to work:
http://www.steinertriples.fr/ncohen/tmp/bliss-0.72.tar.bz2 Now that you have a working example, perhaps it will be easier to understand. Also, perhaps you can link your bliss patch without any problem once this is installed Nathann New commits:
|
Changed branch from u/azi/blissSPKG to public/17552 |
comment:4
Use |
comment:5
And quote
(funny that you quote |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
It seems that bliss supports gmp but this is not compiled in. Any reason? |
comment:9
Yes, if this option is enabled then bliss can compute the order of the automorphism group. By default this option is not enabled in bliss. As far as I am concerned I don't think we need this feature since the performance crucial part is to get the generators of the group and once we have them PermuationGroup.order does a pretty good job. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:11
I am not a SPKG expert but as far as I've checked (making sure the spkg is installed and all the components are available to sage) this branch looks OK to me. I've just added a final line to make sure the headers are copied as well and as far as I am concerned that does it for this ticket. |
comment:12
Yoooooooo ! Well, I don't see anything wrong with it either. Jeroen, is that okay for you too ? Then we can get this in and Jernej will be able to continue the "real" patch, i.e. the one that uses the spkg. Nathann |
Reviewer: Jeroen Demeyer, Nathann Cohen |
Author: Jernej Azarija |
comment:13
Replying to @sagetrac-azi:
I find that a very weak reason to disable GMP support. Perhaps somebody else really cares about that feature. If it doesn't break anything, why not enable it? |
comment:15
Well the motivation for this patch is the work that I am doing in which I've found that computing the automorphism group of a graph in Sage is quite inefficient. The order itself is never a big computational problem. That said I'd like this to be as efficient as possible and hence avoid computing the order of the group and just return the generators as quickly as possible. Hence I would suggest we leave this as is for now and if someone starts to struggle computing orders of the automorphism group of a graph we can easily include it at that point. My comment "i don't think we need this feature" is based on the fact that I work with graphs in Sage on a daily basis and I honestly think this is not useful at this point. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:19
You are not checking the result of
|
comment:20
Replying to @sagetrac-azi:
I get your point but ---like I already said--- I don't think that's a good reason to disable GMP support. Note: for me, this isn't a "needs_work" issue, I'm just commenting... |
comment:21
Alternatively to adding manual checks, you could also use |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:23
I have added a patch to this SPKG fixing a newly found bug in bliss. As for the error check. Is it actually necessary given that && is used to glue the statements together? |
comment:25
Replying to @sagetrac-azi:
When you do
a check is needed between |
comment:26
The checking is fine now, I'll let Nathann judge the patch. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits: |
comment:29
A commit was added then removed in the meantime, and as a result I have nothing new to mention. Seems to do the job (well, we'll see that in #17464 Nathann |
Changed branch from public/17552 to |
This ticket adds support for a bliss spkg, available at: http://www.steinertriples.fr/ncohen/tmp/bliss-0.72.tar.bz2
CC: @nathanncohen
Component: packages: optional
Author: Jernej Azarija
Branch/Commit:
85719d7
Reviewer: Jeroen Demeyer, Nathann Cohen
Issue created by migration from https://trac.sagemath.org/ticket/17552
The text was updated successfully, but these errors were encountered: