Trilinos and scipy does not find umfpack from suitesparse

Bug #893753 reported by Martin Sandve Alnæs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dorsal
Fix Released
Medium
Johannes Ring

Bug Description

As Johannes mentioned in answer to a recent question, adding
-DUMFPACK_INCLUDE_DIRS=/usr/include/suitesparse to trilinos.package
is a platform specific fix for letting trilinos know where umfpack is.
I believe dorsal previously detected this without problem, so I'd call this a bug.

But scipy doesn't find UMFPACK either:

swig -python -I/usr/include/suitesparse -I/usr/include/suitesparse -I/usr/include/suitesparse -o build/src.linux-x86_64-2.6/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c -outdir build/src.linux-x86_64-2.6/scipy/sparse/linalg/dsolve/umfpack scipy/sparse/linalg/dsolve/umfpack/umfpack.i
scipy/sparse/linalg/dsolve/umfpack/umfpack.i:192: Error: Unable to find 'suitesparse/umfpack.h'

As a short term fix, how do I set the equivalent of -DUMFPACK_INCLUDE_DIRS=/usr/include/suitesparse for scipy.package?

Revision history for this message
Johannes Ring (johannr) wrote :

I have fixed this now on the Debian based platforms and on Mac OS X. Can someone look at what's needed on the other platforms?

Changed in dorsal:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Harish Narayanan (hnarayanan) wrote :

I've marked this as fixed for now. Let others report particular broken cases separately.

Changed in dorsal:
status: In Progress → Fix Committed
Changed in dorsal:
milestone: none → 1.0
assignee: nobody → Johannes Ring (johannr)
Changed in dorsal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.