Trilinos and scipy does not find umfpack from suitesparse

Bug #893753 reported by Martin Sandve Alnæs on 2011-11-22
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?

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
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  Edit
Everyone can see this information.

Other bug subscribers