-
-
Notifications
You must be signed in to change notification settings - Fork 491
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 LinBox to version 1.1.7 #11718
Comments
Changed dependencies from 9511 to #9511 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Author: Martin Albrecht |
comment:5
Status update LinBox's Sage interface changed and this causes major problems. The attached patch is supposed to address this new interface but I cannot successfully link against I get 846 import matrix_complex_double_dense
847 return matrix_complex_double_dense.Matrix_complex_double_dense
--> 848 elif sage.rings.finite_rings.integer_mod_ring.is_IntegerModRing(R) and R.order() < matrix_modn_dense.MAX_MODULUS:
849 if R.order() == 2:
850 return matrix_mod2_dense.Matrix_mod2_dense
AttributeError: 'module' object has no attribute 'MAX_MODULUS' However, this is not a Python problem. If I remove everything from cdef class Foo:
pass and remove all references to LinBox except for one #include <iostream>
#include <gmp.h>
#include <cstdlib>
#include <vector>
#include <list>
#include "linbox-sage.h"
#include <linbox/util/commentator.h>
#include <linbox/blackbox/sparse.h>
#include "linbox/element/givaro-polynomial.h"
#include <linbox/matrix/blas-matrix.h>
#include <linbox/matrix/sparse.h>
#include <linbox/vector/sparse.h>
#include <linbox/algorithms/blas-domain.h>
#include <linbox/algorithms/echelon-form.h>
#include "linbox/algorithms/gauss.h"
#include "linbox/algorithms/smith-form-adaptive.h"
#include "linbox/ffpack/ffpack.h"
#include <linbox/solutions/rank.h>
#include <linbox/solutions/det.h>
#include <linbox/solutions/solve.h>
#include "linbox/solutions/methods.h"
#include <linbox/solutions/minpoly.h>
#include "linbox/algorithms/double-det.h"
#include <linbox/integer.h>
#include <linbox/field/gmp-rational.h>
#include <linbox/ring/givaro-polynomial.h> I still get this problem. Hence, I figure it should have something to do with the linking. That is, I assume LinBox overwrites some symbol or corrupts some memory somehow which makes it impossible to link against it from Sage. However, I am out of ideas and steam. Hence, I'll give up on fixing this for now. PS: We also get the same |
comment:7
The updated patch + SPKG seems to fix the issue, testing on sage.math now |
This comment has been minimized.
This comment has been minimized.
comment:8
The updated patch + SPKG seems to fix the issue, testing on sage.math now |
comment:9
Attachment: trac_11718_linbox_1_1_7.patch.gz Well, we further but we don't reach the finish line:
|
comment:11
Interestingly, a related change about "commentator" apparently was helpful in trying to get Sage to build on FreeBSD. |
Changed keywords from none to freebsd |
comment:12
Just for the record: There's a LinBox 1.1.6.p8 spkg with a couple of fixes at #12762 (currently still needing review). |
comment:13
Please close this ticket as a duplicate. |
Changed dependencies from #9511 to none |
Reviewer: Volker Braun |
Changed keywords from freebsd to none |
comment:15
Agreed |
Changed author from Martin Albrecht to none |
comment:16
Duplicate of what? |
Changed reviewer from Volker Braun to Volker Braun, Martin Albrecht |
comment:17
It's a duplicate of #12883 |
LinBox 1.1.7 was release in 2010, yet we are still running 1.1.6. It fixes a few issues which are relevant to Sage
NOTE This SPKG re-enables the Commentator and hence might break on OSX 10.4! Needs testing.
CC: @kiwifb @cschwan @vbraun @ClementPernet @kcrisman
Component: packages: standard
Reviewer: Volker Braun, Martin Albrecht
Issue created by migration from https://trac.sagemath.org/ticket/11718
The text was updated successfully, but these errors were encountered: