Bug 842663 - don't require lapack explicietely, atlas as dynamic R works fine too
Summary: don't require lapack explicietely, atlas as dynamic R works fine too
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blacs
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-24 12:13 UTC by Thomas Spura
Modified: 2012-08-02 11:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-02 11:19:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thomas Spura 2012-07-24 12:13:19 UTC
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 14:15:18 UTC
Seems sane. I'll take care of it. Thanks for the report.

Comment 2 Tom "spot" Callaway 2012-07-24 15:35:32 UTC
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 16:33:16 UTC
Got the builds from:
http://koji.fedoraproject.org/koji/buildinfo?buildID=343831

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 17:01:52 UTC
blacs-1.1-46.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/blacs-1.1-46.fc17

Comment 5 Fedora Update System 2012-07-24 17:02:10 UTC
blacs-1.1-46.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/blacs-1.1-46.fc16

Comment 6 Fedora Update System 2012-07-24 23:27:08 UTC
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:
https://admin.fedoraproject.org/updates/FEDORA-2012-11032/blacs-1.1-46.fc16
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-08-02 11:19:38 UTC
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 11:22:36 UTC
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.