Bug 842663 - don't require lapack explicietely, atlas as dynamic R works fine too
don't require lapack explicietely, atlas as dynamic R works fine too
Product: Fedora
Classification: Fedora
Component: blacs (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-07-24 08:13 EDT by Thomas Spura
Modified: 2012-08-02 07:22 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-02 07:19:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Thomas Spura 2012-07-24 08:13:19 EDT
Description of problem:
blacs requires explicitely lapack on runtime. It's completely fine to build against it, but on runtime, when the atlas libraries are installed and lapack isn't, blacs seems to work fine too.

Version-Release number of selected component (if applicable):

Expected results:
No specific requirement of lapack, so any "liblapack.so.3" is picked up automatically.

Additional info:

Building a MPI-parallel version of cp2k seems to work fine without the explicit requires.

$ git diff
diff --git a/blacs.spec b/blacs.spec
index b4411b6..1756656 100644
--- a/blacs.spec
+++ b/blacs.spec
@@ -40,7 +40,6 @@ applications both easier to program and more portable.
 %package common
 Summary: Common files for blacs
 Group: Development/Libraries
-Requires: lapack, blas
 %description common
 The BLACS (Basic Linear Algebra Communication Subprograms) project is
Comment 1 Tom "spot" Callaway 2012-07-24 10:15:18 EDT
Seems sane. I'll take care of it. Thanks for the report.
Comment 2 Tom "spot" Callaway 2012-07-24 11:35:32 EDT
Hmm, looking at it deeper, I don't think blacs is actually picking up a "liblapack.so.3" dependency automatically. It doesn't seem to need to build against it either. :/

I'm just going to make an update that drops both the BuildRequires and the Requires. Please test and confirm that it still works correctly.
Comment 3 Thomas Spura 2012-07-24 12:33:16 EDT
Got the builds from:

But for cp2k there is blas needed, I have no lapack installed.
Basic testing works fine, cp2k builds.

Looks good to me. Thanks.
Comment 4 Fedora Update System 2012-07-24 13:01:52 EDT
blacs-1.1-46.fc17 has been submitted as an update for Fedora 17.
Comment 5 Fedora Update System 2012-07-24 13:02:10 EDT
blacs-1.1-46.fc16 has been submitted as an update for Fedora 16.
Comment 6 Fedora Update System 2012-07-24 19:27:08 EDT
Package blacs-1.1-46.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing blacs-1.1-46.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 7 Fedora Update System 2012-08-02 07:19:38 EDT
blacs-1.1-46.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2012-08-02 07:22:36 EDT
blacs-1.1-46.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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