From: P Purkayastha <ppurka@gmail.com>
To: gentoo-science <gentoo-science@lists.gentoo.org>
Subject: [gentoo-science] sage on gentoo -- only use system atlas
Date: Wed, 21 Aug 2013 20:02:02 +0800 [thread overview]
Message-ID: <CADZU3NbnB7FKVE0=cZMqVOvPPYZo4khq+YeO=FkZrZf8-+NgrQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2344 bytes --]
Hi all,
I need to have a personal installation of Sage to do development work.
However, I also want to reduce my upgrade times by installing a system
atlas.
To do so, I added the science overlay and emerged
sci-libs/atlas[lapack,fortran,threads]. Thereafter, I added the environment
variable
SAGE_ATLAS_LIB=/usr/lib
and proceeded to compile sage in my home directory. Atlas fails with the
error that it can not find liblapack. The exact error message is given
below:
Cannot find liblapack.* in /usr/lib
Unable to find one of liblapack, libcblas, libatlas or libf77blas
in the directory None
Set SAGE_ATLAS_LIB to the directory containing liblapack, libcblas,
libatlas and libf77blas (either .a, .so, .dylib extensions) if
you wish to use existing ATLAS libraries. For more details, see
http://sagemath.org/doc/installation/source.html#environment-variables
Unset SAGE_ATLAS_LIB to build ATLAS from source.
I looked at the dependencies of sci-mathematics/sage in the sage-on-gentoo
overlay, and I see that virtual/cblas and virtual/lapack is pulled in by
sci-libs/fflas-ffpack. This ebuild is pulled in by sci-libs/linbox, and
finally linbox is pulled in by sage.
However, the following command only pulls in the virtual packages, which
means that I already have lapack installed, but probably under a different
library name.
~/tmp/sage-on-gentoo» emerge -pvq virtual/cblas virtual/lapack
[ebuild N ] virtual/cblas-2.0
[ebuild N ] virtual/lapack-3.4 USE="-doc"
Can anyone tell me which library name corresponds to liblapack.so? I can
then make a symlink and proceed with building my personal copy of sage.
Here is an output of equery files:
~/tmp/sage-on-gentoo» equery files atlas | grep '/usr/lib.*lapack'
/etc/env.d/alternatives/lapack/atlas-threads/usr/lib64/pkgconfig/lapack.pc
/etc/env.d/alternatives/lapack/atlas/usr/lib64/pkgconfig/lapack.pc
/usr/lib64/libatlclapack.so
/usr/lib64/libatlclapack.so.3
/usr/lib64/libatllapack.so
/usr/lib64/libatllapack.so.3
/usr/lib64/libptclapack.so
/usr/lib64/libptclapack.so.3
/usr/lib64/libptlapack.so
/usr/lib64/libptlapack.so.3
/usr/lib64/pkgconfig/atlas-clapack-threads.pc
/usr/lib64/pkgconfig/atlas-clapack.pc
/usr/lib64/pkgconfig/atlas-lapack-threads.pc
/usr/lib64/pkgconfig/atlas-lapack.pc
Thanks and regards,
basu.
[-- Attachment #2: Type: text/html, Size: 2817 bytes --]
next reply other threads:[~2013-08-21 12:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 12:02 P Purkayastha [this message]
2013-08-21 12:19 ` [gentoo-science] sage on gentoo -- only use system atlas Burcin Erocal
2013-08-22 0:39 ` François Bissey
2013-08-22 8:11 ` P Purkayastha
2013-08-22 15:36 ` Sébastien Fabbro
2013-08-22 21:17 ` François Bissey
2013-08-23 15:30 ` P Purkayastha
2013-08-24 10:57 ` François Bissey
2013-08-25 9:52 ` P Purkayastha
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='CADZU3NbnB7FKVE0=cZMqVOvPPYZo4khq+YeO=FkZrZf8-+NgrQ@mail.gmail.com' \
--to=ppurka@gmail.com \
--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