-
-
Notifications
You must be signed in to change notification settings - Fork 570
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 cvxopt to 1.1.5 #13160
Comments
comment:1
I have a spkg almost ready to upload. Changes are uncommitted yet. There are some kinks to check in the installation of the documentation. |
comment:2
Experimental spkg now posted and linked in the description. The changes in the spkg have not been committed yet so I can still fiddle with it as necessary. |
This comment has been minimized.
This comment has been minimized.
comment:3
Looks good on OSX 10.6.8 and Sage 5.2.beta1 with #10508 applied. By the way, shouldn't #10508 be a dependence of this ticket? (I added it here, tentatively.) Also, I wonder if there is anything to report upstream here. |
Dependencies: #10508 |
comment:4
#10508 doesn't change the layout of the ATLAS libraries, the current atlas-3.8.4 already provides the cblas library. If the cvxopt spkg were to link to the correct libraries only, it would work with both atlas-3.8.4 and atlas-3.10.0 spkgs. |
Changed dependencies from #10508 to none |
comment:5
Replying to @vbraun:
When you closed #10509 you said it is fixed by atlas-3.10.0 spkg. And #10508 is the one the provides atlas-3.10.0 spkg. |
comment:6
The only thing really to check in this ticket is the installation of the documentation. Technically it needs sphinx to build but because up to date build documentation is shipped nothing is done. So the question is whether to require sphinx or just copy the already built documentation. Once I make an informed decision on that I'll finalize the spkg. |
comment:7
OK I pushed a new spkg on google code it install the already built documentation and has a section commented out on how to build it in spkg-install. |
comment:9
Replying to @kiwifb:
Shouldn't it install docs by default? (Currently, you need to set Also, I don't understand what you mean by "dependence" on sphinx. Isn't sphinx included in Sage? |
comment:10
Replying to @dimpase:
As far as I know, you only install documentation for spkg if that variable is set. I may be wrong. Yes sphinx is shipped with sage but if this spkg uses sphinx it has to be listed as one of its dependencies in spkg/standard/deps. In this particular case it is probably ok because cvxopt can be build after sage I think. But in the alternative there are problems as far as I remember from a previous upgrade of numpy way back. |
comment:11
Replying to @kiwifb: OK, I asked on sage-devel |
comment:12
Replying to @dimpase:
?? #11197 has sort of delayed most packages actually implementing #10823. I believe that we currently don't want docs installed by default outside of wherever the spkg lives. Or maybe I'm misunderstanding the point of this discussion, my apologies if that's so. |
comment:13
I didn't remember how the discussion had ended. Probably because I wasn't on the follow up ticket where things were discussed. Should I remove the section about documentation until one day we sort this out? We should note that some packages already put their doc in $SAGE_LOCAL/share/doc:
I am not even sure those obey SAGE_SPKG_INSTALL_DOCS and some are html. The cvxopt spkg linked in this ticket doesn't need sphinx because the doc is prebuilt in the tarball. |
comment:14
Replying to @kiwifb:
no, why, documentation is great to have. But why not remove the pre-built one and make it using sphynx? |
comment:15
Can do that but I don't think it will be much different from the one shipped. The first thing that sphinx does when it is run is check whether what is already built is up to date. Rebuilding it again is just a waste of cpu cycles. I don't really care about it that much myself. So if people are quite happy about rebuilding the doc I'll just remove the pre build from the spkg to save space and produce the other needed patch. |
comment:16
There are leftovers of debugging in src/src/C/blas.c, starting from line 295, which reads
This is very strange. EDIT: I checked the upstream, and they don't have these printfs... |
comment:17
Replying to @dimpase:
Moreover, the upstream files base.c, blas.c, and sparse.c in src/src/C have earlier dates (and different sizes) than the ones in spkg. |
comment:18
Sorry wrong spkg I was tracking something on power7 I will correct the source today - hopefully. |
comment:19
Corrected the source. Sorry for the inconvenience. |
This comment has been minimized.
This comment has been minimized.
comment:20
On Fedora 17 x86_64:
The header is in Sage but the include path is wrong:
The fix is to set If I edit I've updated the spkg (see description, only change is the |
comment:21
OK you beat me to it. I was going to post about it. I am guessing the problem is not visible if gsl is installed system wide. |
comment:22
Just saw that we discovered the same bug within ~5mins. Coincidence? ;-) |
comment:23
John was the pointer for me really. Didn't notice it before - all the system I tested it with had gsl as standard. I need a box with nothing interesting on it really. |
comment:25
shouldn't be -lblas but -lf77blas I guess. |
comment:26
should really be
I think it may have escaped because we had libblas before #10508 |
comment:27
I agree and just replaced the spkg (new md5sum = b155f7e4624c2869b9a0e5aa21803435) Builds on Fedora 17 |
comment:28
Builds and passes self-tests on hawk, both with the system ATLAS and the ATLAS spkg from #10508. |
comment:29
Looks good to me! |
Reviewer: Volker Braun |
Author: François Bissey |
comment:30
Thanks Volker for the last mile. I also just thought that we will need a follow up ticket if we allow people to use ATLAS on OS X. |
comment:31
So on OS X, if people use the ATLAS spkg, then is this using a mix of Sage's ATLAS and the system's blas? (I'm in the process of building on OS X, including ATLAS from #10508, and cvxopt has built and passes its self-tests. The build hasn't completed, so Sage's test suite hasn't run yet.) |
comment:32
Replying to @jhpalmieri:
I hope so. It would be a big speed digression to use GSL. |
comment:33
From what I put in the spkg cvxopt will use the OS X accelerate framework instead of ATLAS. You should note that it is not the only spkg for which it will be the case. linbox will do that as well for example. iml also comes to mind as well and numpy and scipy should be checked.
It should tell you against which library it was linked in some form. |
Merged: sage-5.3.beta1 |
Upgrading cvxopt to 1.1.5 we can get rid of a patch to correct a wrong behavior that is obvious on OS X. Also I want to simplify the setup.py patch which give rise to overlinking (and in fact potential linking of multiple cblas libraries - yuk!). I am also attempting to install the documentation.
Updated spkg at:
Component: packages: standard
Author: François Bissey
Reviewer: Volker Braun
Merged: sage-5.3.beta1
Issue created by migration from https://trac.sagemath.org/ticket/13160
The text was updated successfully, but these errors were encountered: