no ('NTIMER', '1') in amd config?

20 views
Skip to first unread message

Dima Pasechnik

unread,
Dec 21, 2015, 6:27:37 PM12/21/15
to CVXOPT
We wonder if this is by design that
in setup.py the amd extension is built with
 
define_macros = MACROS,

rather than with

define_macros = MACROS + [('NTIMER', '1')],

The latter would disable SuiteSparse timer, and also fix a bug
we get on older Ubuntu systems, as absence of ('NTIMER', '1') triggers
calls to clock_gettime, for which on said systems one needs to link with -lrt.
(i.e. one needs to set libraries=['rt'],), resulting in an import error.

See http://trac.sagemath.org/ticket/19687 for details.

Thanks,
Dima

Martin

unread,
Dec 22, 2015, 10:39:18 AM12/22/15
to CVXOPT
Hi Dima,

Thanks for pointing this out. We recently fixed this in the dev branch on Github:

Dima Pasechnik

unread,
Dec 24, 2015, 3:16:07 PM12/24/15
to CVXOPT
Thanks Martin!
Reply all
Reply to author
Forward
0 new messages