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
cvxopt: fix illegal BLAS call and fix Solaris build #12011
Comments
comment:2
In a related matter, we should patch spkg-check to exit with a nonzero return value if tests fail. We can either exit immediately once there's a failure, or we can run all tests and then exit. I'm not sure which of these is better. In general I would suggest the latter, but since it's actually hanging on OS X Lion (after at least one failed test), I might lean toward the former... Also, should we upgrade to version 1.1.4? |
comment:3
See #12519 for a new cvxopt spkg. I fixed |
comment:4
Dima: any ideas about the self-test failures? |
comment:5
Replying to @jhpalmieri:
I just asked upstream here. Dima |
Upstream: Reported upstream. Little or no feedback. |
comment:6
Replying to @dimpase:
here it is written that it's probably a bug in Apple's blas/lapack. A workaround is to use Atlas. I have no way to check this at the moment, but it looks very reasonable to me. It would be great if you tested this with the newest Xcode... |
comment:7
Replying to @dimpase:
Do you mean Apple's ATLAS? We don't build ATLAS on Mac OS X, we just use the system's libraries. What should I do to try this out? Can I just make some changes in the spkg-install script?
I've tried this with various versions of Xcode, including the newly released 4.3, and I get failures in all of them. |
comment:8
By the way, it might make sense to base further discussion on the new cvxopt package at #12519. |
comment:9
Replying to @jhpalmieri:
Well, no. We need to build ATLAS spkg (or get some other non-Apple lapack/blas somehow) and use it.
|
Changed keywords from Lion Darwin cvxopt to Lion Darwin cvxopt atlas blas |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:12
doesnt work on OSX10.6:
|
comment:13
You're using a too old version of Sage. |
comment:14
Replying to @jdemeyer:
/me bangs head on the kbd... |
comment:15
Does this only build ATLAS in Lion, or all Mac? Seems silly to do it from scratch on others, maybe we can check Dima's program mentioned at #12519 on older versions... |
comment:16
Replying to @kcrisman:
Only on Lion. |
comment:17
After more than 3 hours, it finally managed to fail to build on
Weird that it reported that the build succeeded, but still it failed somehow. |
comment:18
Replace a "rm -f" by "rm -rf" probably will solve this problem. This explain the dSYM directories: http://stackoverflow.com/questions/584825/dsym-directories-while-compiling-c-code-in-macos |
comment:19
Aah, you beat me by five seconds! I concur. |
comment:20
I put up a new version hopefully fixing this, currently building on |
comment:21
:-(
|
Dependencies: #12519 |
comment:55
Any news from upstream CVXOPT? |
Changed upstream from Reported upstream. Developers acknowledge bug. to Fixed upstream, in a later stable release. |
comment:58
I'm posting a new spkg, but not a perfect one. The flaw is that it is version 1.1.4 rather than 1.1.5. I looked at 1.1.4 and 1.1.5, and (using The other change was to |
Changed author from Jeroen Demeyer to Jeroen Demeyer, John Palmieri |
This comment has been minimized.
This comment has been minimized.
patch for cvxopt spkg; for review only |
comment:59
Attachment: trac_12011-cvxopt.patch.gz Unfortunately, I don't have access anymore to a OS X 10.7 machine. |
comment:60
This spkg is included in http://boxen.math.washington.edu/home/jdemeyer/release/sage-5.0.beta12-gcc/ for testing. |
Diff for the cvxopt spkg (p0->p1). For review only |
Reviewer: Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
Changed keywords from Lion Darwin cvxopt atlas blas to Lion Darwin cvxopt atlas blas Solaris |
comment:61
Attachment: cvxopt-1.1.4.p1.diff.gz Reviewer spkg: http://boxen.math.washington.edu/home/jdemeyer/spkg/cvxopt-1.1.4.p1.spkg Changes: attachment: cvxopt-1.1.4.p1.diff John, if you confirm that my spkg builds with SAGE_CHECK=yes on OS X Lion and you agree with my changes, you may set this to positive review. |
Changed reviewer from Jeroen Demeyer to Jeroen Demeyer, John Palmieri |
comment:62
Changes look good and this passes tests on OS X Lion (and OpenSolaris, which I tried just for fun). |
Merged: sage-5.0.beta13 |
On OS X Lion, if you set
SAGE_CHECK=yes
and build cvxopt, some tests fail and then it hangs before completing the tests. See http://sage.math.washington.edu/home/palmieri/misc/cvxopt-1.1.3.log for the install log.CVXOPT devs claimed that Apple shipped a broken BLAS. But it turned out that they cannot provide valid examples showing this; they did not adhere to a de facto BLAS standard, and they agreed to fix the corresponding CVXOPT bug quickly.
This spkg also fixes an issue building with GCC on Solaris 10. There already was a fix for this in the spkg, but it was only enabled for GCC versions < 4.5 (without any mention of why). Enable this fix for all GCC versions.
New spkg: http://boxen.math.washington.edu/home/jdemeyer/spkg/cvxopt-1.1.4.p1.spkg
Depends on #12519
Upstream: Fixed upstream, in a later stable release.
CC: @dimpase @vbraun
Component: packages: standard
Keywords: Lion Darwin cvxopt atlas blas Solaris
Author: Jeroen Demeyer, John Palmieri
Reviewer: Jeroen Demeyer, John Palmieri
Merged: sage-5.0.beta13
Issue created by migration from https://trac.sagemath.org/ticket/12011
The text was updated successfully, but these errors were encountered: