Bug 1088256

Summary: Add 64-bit (ILP64) interface library
Product: [Fedora] Fedora Reporter: Milan Bouchet-Valat <nalimilan>
Component: openblasAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: orion, r.szalai, susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openblas-0.2.9-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-03 04:10:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Bouchet-Valat 2014-04-16 10:21:39 UTC
I'm in the process of making an RPM package for the Julia language (bug 1040517), and I'm linking to OpenBLAS. I'm using the 32-bit interface, but I'd rather use the 64-bit one (ILP64) like upstream.

This has also been requested by anoter person on the OpenBLAS package review bug: https://bugzilla.redhat.com/show_bug.cgi?id=739398#c21

In practice, I guess the easiest solution is to create a different library called e.g. libopenblas_ilp64.so, built with INTERFACE64=1. But you now much better than I do what's appropriate.

Comment 1 Susi Lehtola 2014-05-13 05:10:23 UTC
I'll see about this when 0.2.9 comes out.

Comment 2 Milan Bouchet-Valat 2014-05-13 09:44:01 UTC
Great!

Comment 3 Susi Lehtola 2014-06-12 13:28:16 UTC
Work is underway in bug #1043083. This will only hit Rawhide, though, because OpenBLAS 0.2.9 needs lapacke version 1.5.0.. and also some object files that haven't been packaged yet.

Comment 4 Fedora Update System 2014-07-02 01:50:55 UTC
openblas-0.2.9-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2014-7637/openblas-0.2.9-1.fc20

Comment 5 Fedora Update System 2014-07-03 04:10:03 UTC
openblas-0.2.9-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Orion Poplawski 2016-01-05 22:57:23 UTC
So, this doesn't work with julia, we get:

while loading /builddir/build/BUILD/julia-0.4.2/test/fft.jl, in expression starting on line 50On worker 29:
LoadError: test error in expression: norm(idct(dct(a)) - a) < 1.0e-8
ccall: could not find function zgesdd_64_ in library libopenblasp64_.so.0

This is because openblas doesn't implement all of the BLAS/LAPACK functions itself and so some come from the netlib lapack.  I've filed bug #1295965 to try to get similar symbols in netlib lapack.