Opened 4 years ago
Closed 13 months ago
#21736 closed enhancement (duplicate)
Offer openblas's lapack to programs run under Sage
Reported by: | charpent | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | sage-duplicate/invalid/wontfix |
Component: | numerical | Keywords: | |
Cc: | fbissey, dimpase | Merged in: | |
Authors: | Reviewers: | Dima Pasechnik | |
Report Upstream: | N/A | Work issues: | |
Branch: | u/charpent/offer_openblas_s_lapack_to_programs_run_under_sage (Commits, GitHub, GitLab) | Commit: | cb5df83339637bc894b3c328ee9dcc381daf3fe2 |
Dependencies: | Stopgaps: |
Description
Rationale : Openblas offers LAPACK, but there is no lapack.so file available in the current installation. Programs called by (something in) Sage can't use it.
Case in point : jags (an MCMC sampler of some use to Bayesian users of R) doesn't install under the Sage shell ; however, this is necessary : a system installation called from Sage (i. e. from Sage's R) will detect a conflict between system's LAPACK and Sage's Openblas.
The simple expedient of linking libopenblas.so to liblapack.so in $SAGE_ROOT is suffocient for installing and using JAGS.
Plan : patch Openblas' spkg-install to create this link.
Timetable : whenever I can recreate a distinct Sage installation for creation of a "clean" patch (i. e. not on the next few days...).
Change History (7)
comment:1 Changed 4 years ago by
- Branch set to u/charpent/offer_openblas_s_lapack_to_programs_run_under_sage
comment:2 Changed 4 years ago by
- Cc fbissey added
- Commit set to cb5df83339637bc894b3c328ee9dcc381daf3fe2
- Status changed from new to needs_review
comment:4 Changed 13 months ago by
I guess not, our (or system) lapack.pc should take care of this.
comment:5 Changed 13 months ago by
- Milestone changed from sage-7.5 to sage-duplicate/invalid/wontfix
comment:6 Changed 13 months ago by
- Reviewers set to Dima Pasechnik
- Status changed from needs_review to positive_review
comment:7 Changed 13 months ago by
- Resolution set to duplicate
- Status changed from positive_review to closed
Builds OK. Passes ptestlong with two transient failures (both tests pass when run standalone) :
Forgot to add : the same patch in another private branch allows the normal use of LAPACK : jags buils and runs fine.
==>
needs_review
New commits:
Trivially symlink liblapack.so to libopenblas.so.