public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Francois Bissey <fbissey@slingshot.co.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] blas/lapack stuff
Date: Wed, 26 Sep 2012 23:20:40 +1200	[thread overview]
Message-ID: <5062E508.6080905@slingshot.co.nz> (raw)
In-Reply-To: <50629808.7060604@gentoo.org>

On 26/09/12 17:52, Kacper Kowalik wrote:
> On 09/26/2012 05:09 AM, Andrey G. Grozin wrote:
>> Hello *,
>>
>> I don't understand how the blas stuff (from the science overlay) works.
>> I have blas-reference and atlas (and also eigen) installed, atlas
>> eselected. But /usr/lib/libblas.so is a file (not symlink) owned by
>> blas-reference. So, a program demanding -lblas will be linked to this
>> library from blas-reference, right? And what eselect blas then is doing?
>>
>> This question is related to the new gsl-shell package. Its Makefile just
>> says -lblas. It works on my computer (linking to /usr/lib/libblas.so
>> from blas-reference, I suppose). But what should I write as the
>> dependency? virtual/blas? (docs say that atlas should be OK).
> Change -lblas into $(pkg-config --libs blas)
> Cheers,
> Kacper
> 
Just to add to Kacper's answer. eselect changes the link to the blas
pkg-config file. Any ebuild using blas/cblas/lapack should be configured
using the values from pkg-config.
If Sebastian had pushed it a little bit more we could have had
/usr/lib(64)/libblas-reference.so and no libblas whatsoever. Which may
be an idea just to catch packages that just do -lblas.

Francois


  reply	other threads:[~2012-09-26 12:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11  4:42 [gentoo-science] blas/lapack stuff Andrey G. Grozin
2011-10-11  7:43 ` Andrea Arteaga
2011-12-21 10:39   ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin
2011-12-21 11:01     ` Kacper Kowalik
2011-12-21 11:13       ` Miguel de Val-Borro
2011-12-21 13:53         ` Andrey G. Grozin
2011-12-21 14:24           ` Burcin Erocal
2011-12-21 14:57             ` Andrey G. Grozin
2011-12-21 14:35         ` Christopher Schwan
2012-09-26  3:09   ` [gentoo-science] blas/lapack stuff Andrey G. Grozin
2012-09-26  5:52     ` Kacper Kowalik
2012-09-26 11:20       ` Francois Bissey [this message]
2012-09-26 14:09         ` Sébastien Fabbro
2012-10-10 12:28           ` denis cohen
2012-10-10 15:10             ` justin
2012-10-26 21:53               ` Thomas Kahle
2012-10-27  8:50                 ` Francois Bissey
2012-10-27 17:42                   ` Thomas Kahle
2012-10-27 18:27                     ` Francois Bissey
2011-10-11  9:25 ` My Th

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5062E508.6080905@slingshot.co.nz \
    --to=fbissey@slingshot.co.nz \
    --cc=gentoo-science@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox