Skip to content

SparseSuite does not build against OpenBLAS #660

@mleotta

Description

@mleotta

Describe the bug
SparesSuite on Linux requires LAPACK, which seems like it should be provided by OpenBLAS, but SparseSuite is not configured to use it. Note that the Ceres Solver documentation indicates that OpenBLAS can provide LAPACK for SparseSuite.

On this site it says:

On UNIX OSes other than macOS we recommend ATLAS, which includes BLAS and LAPACK routines. It is also possible to use OpenBLAS . However, one needs to be careful to turn off the threading inside OpenBLAS as it conflicts with use of threads in Ceres.

The symptom of this issue is that it is impossible to build SparseSuite in Fletch on Linux unless a system LAPACK is available. Our workout, for many years, has been to install a system package (e.g. on Ubuntu sudo apt-get install liblapack-dev is required). However, the point of fletch is to avoid such requirements. So we should fix this, especially if OpenBLAS is in Fletch and should fill this need.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions