#11444: optional package cbc-2.3.p2.spkg does not build on some platforms on
sage-4.7.1.alpha1
-------------------------------+--------------------------------------------
Reporter: mariah | Owner: tbd
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-duplicate/invalid/wontfix
Component: packages | Resolution:
Keywords: sd32 sd40.5 | Work issues:
Report Upstream: N/A | Reviewers: Karl-Dieter Crisman, Dan
Drake, John Perry
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by ddrake):
`sage -i cbc-2.7.5` works on skynet/eno (a Fedora machine, 64 bit, Linux
3.2.3, gcc 4.7.0) and almost all doctests pass -- there's one failure in
`cplex_backend.pyx` which I think is a typo.
{{{
[drake@eno sage-5.0]$ ./sage -tp 8 -only-optional=Coin
devel/sage/sage/numerical/backends/cplex_backend.pyx
Global iterations: 1
File iterations: 1
Using cached timings to run longest doctests first.
Doctesting 1 file using 1 thread
sage -t -only-optional=Coin
devel/sage/sage/numerical/backends/cplex_backend.pyx
**********************************************************************
File "/home/drake/sage-5.0/devel/sage-
main/sage/numerical/backends/cplex_backend.pyx", line 424:
sage: p.add_linear_constraints(2, None, 2, names=['foo','bar']) #
optional - Coin
Exception raised:
Traceback (most recent call last):
File "/home/drake/sage-5.0/local/bin/ncadoctest.py", line 1231, in
run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/home/drake/sage-5.0/local/bin/sagedoctest.py", line 38, in
run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/home/drake/sage-5.0/local/bin/ncadoctest.py", line 1172, in
run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[3]>", line 1, in <module>
p.add_linear_constraints(Integer(2), None, Integer(2),
names=['foo','bar']) # optional - Coin###line 424:
sage: p.add_linear_constraints(2, None, 2, names=['foo','bar']) #
optional - Coin
NameError: name 'p' is not defined
**********************************************************************
}}}
Should that test be "optional - CPLEX"?
If all we care about is building on eno with gcc 4.7, this works fine.
Here's info on eno: http://wiki.sagemath.org/skynet#Eno
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11444#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.