Fedora Linux Support Community & Resources Center
  #1  
Old 20th April 2017, 09:43 AM
astrody Offline
Registered User
 
Join Date: Apr 2017
Location: world
Posts: 3
linuxchrome
[linear lagebra libraries] openblas as default

Many numerical software packages depend on BLAS/LAPACK.
There are several implementation of BLAS/LAPACK. The most commonly used are (except for MKL) in order of increasing performance:
- legacy NETLIB reference implementation
- ATLAS
- OpenBLAS
There are fedora packages for all of those.
However can you select at runtime which implementation is to be used by the numerical software in other fedora packages?
On Debian and derivatives, this is achieved by the alternatives system which manages symlinks to one of several libraries sharing the same ABI:
https://wiki.debian.org/DebianScienc...gebraLibraries
https://wiki.debian.org/DebianAlternatives
What is the best/cleanest way to achieve this in Fedora? The cleanest I can think of now is to make a libblas symlink in /usr/local/lib to the desired lib and configuring ld to look first in /usr/local under the assumption that the different implementations were built with the same ABI.

Also I am wondering why openblas is not default since Fedora is supposed to be bleeding edge and openblas is usually recommended for best performance.
Reply With Quote
  #2  
Old 20th April 2017, 10:32 PM
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 675
linuxfedorafirefox
Re: [linear lagebra libraries] openblas as default

Fedora includes an implementation of the Debian alternatives system, so you could use that. See "man alternatives" for the specific command options under Fedora.
Reply With Quote
  #3  
Old 22nd April 2017, 02:44 PM
astrody Offline
Registered User
 
Join Date: Apr 2017
Location: world
Posts: 3
linuxchrome
Re: [linear lagebra libraries] openblas as default

Quote:
Originally Posted by SteveGYBE View Post
Fedora includes an implementation of the Debian alternatives system, so you could use that. See "man alternatives" for the specific command options under Fedora.
Thank you for your reply. Unfortunately it looks like the alternatives for linear algebra libraries are not implemented in Fedora. There is this draft though:

https://fedoraproject.org/wiki/Packa...ts:BLAS_LAPACK
Reply With Quote
Reply

Tags
atlas, blas, lapack, linear algebra libraries, openblas

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-linear Workspaces & Configurations WorldsEndless Using Fedora 0 19th December 2013 01:28 PM
F14 (gnome) and non-linear sound nosource Using Fedora 11 4th February 2011 05:47 PM
sick of the non-linear audio control in F12... Chilly Willy Using Fedora 14 5th January 2010 02:03 AM
Default Location for Installed Libraries larry77 Using Fedora 1 23rd May 2006 03:53 PM
Default sink works, default source doesn't, Intel 845Gv2 Andy_Lapham Hardware & Laptops 1 1st April 2005 05:02 AM


Current GMT-time: 02:04 (Tuesday, 27-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat