Bug 1222079 - Please install libcblas.a
Summary: Please install libcblas.a
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: atlas
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Frantisek Kluknavsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 17:15 UTC by Jaroslav Škarvada
Modified: 2015-05-25 09:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-20 14:33:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2015-05-15 17:15:01 UTC
Description of problem:
The libcblas.a is built, but not installed. Please install it. The header for cblas is already in the devel package, but it is unusable if there is no cblas library.

Version-Release number of selected component (if applicable):
atlas-3.10.2-1.fc23

How reproducible:
Always

Steps to Reproduce:
1. Check buildlog for libcblas.a
2. Check resultin RPMs for libcblas.a

Actual results:
libcblas is built but not packed to the RPM

Expected results:
libcblas is packed in the RPM

Additional info:

Comment 1 Jaroslav Škarvada 2015-05-15 17:15:54 UTC
It's blocking building of the hpl package on secondary arches.

Comment 2 Jaroslav Škarvada 2015-05-15 17:26:34 UTC
Also isn't possible to built the libs as shared?

Comment 3 Frantisek Kluknavsky 2015-05-19 15:53:21 UTC
Shared lib is built and shipped as customary in Fedora. Build log for x86_64 (https://kojipkgs.fedoraproject.org//packages/atlas/3.10.2/1.fc23/data/logs/x86_64/build.log) says:

"""
/usr/bin/gcc  -g -Wa,--noexecstack -fPIC -m64 -shared -o libsatlas.so.3.10  \
           \
           -Wl,-soname,"libsatlas.so.3" \
           -Wl,--whole-archive liblapack.a libf77blas.a libcblas.a libatlas.a /builddir/build/BUILD/ATLAS/liblapack_pic_pruned.a -Wl,--no-whole-archive -L/usr/lib/gcc/x86_64-redhat-linux/5.1.1 -lgfortran  -lc -lpthread -lm -lgcc
"""

Latest upstream decision is to link everything together and create only one big library to simplify linking. Actually there are two in Fedora, one single-threaded and one multithreaded, choose one (choose single-threaded if I can suggest).

You are right, atlas-static subpackage is useless with libcblas and other libraries missing.

Comment 4 Jaroslav Škarvada 2015-05-19 19:47:29 UTC
(In reply to Frantisek Kluknavsky from comment #3)
Thanks for info, I used libsatlas.so fallback on ARM.

Comment 5 Frantisek Kluknavsky 2015-05-20 14:33:21 UTC
http://koji.fedoraproject.org/koji/taskinfo?taskID=9805910
Included single-threaded interfaces.

Comment 6 Frantisek Kluknavsky 2015-05-24 21:39:04 UTC
Tried to benchmark the libraries to be sure that the correct optimal versions are packaged and not some artifacts from optimalization process. The results are not sure on my laptop. Could you please test that the static library gives the same performance as the dynamic library?

Comment 7 Jaroslav Škarvada 2015-05-25 09:34:48 UTC
Thanks.

Built-in check in hpl package returns the same results for both dynamic/static libraries and the non-optimized HPL benchmark also seems to return similar numbers.


Note You need to log in before you can comment on or make changes to this bug.