public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: fbissey@slingshot.co.nz
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] new blas infrastructure and prefix
Date: Mon, 05 Sep 2011 11:47:45 +1200	[thread overview]
Message-ID: <20110905114745.ge0w0o04wkgs0kgk@webmail.slingshot.co.nz> (raw)
In-Reply-To: <CAPtnn5G6YjkfC_QPrW2UcaUGqjW+FhCKW2LnZH=RjbcBzJC4fw@mail.gmail.com>

Quoting Andrea Arteaga <andyspiros@gmail.com>:

> Hi Francois.
> So, the package lapack-reference is emerged, but the test suite fails, right?
> Could you just write a very basic C or Fortran program using a routine
> of the LAPACK and compile it with the instruction of pkg-config
> lapack, after having emerged lapack-reference and skipped the tests?
>
Probably would work. I had a close look at one of the test programs:

frb15@BlueFerniMac1
~/Desktop/Gentoo/var/tmp/portage/sci-libs/lapack-reference-3.3.1-r1/work/lapack-reference-3.3.1_build/bin
$ ./xeigtstc
dyld: Library not loaded: /Users/frb15/Desktop/Gentoo/usr/lib/libtmglib.dylib
   Referenced from:
/Users/frb15/Desktop/Gentoo/var/tmp/portage/sci-libs/lapack-reference-3.3.1-r1/work/lapack-reference-3.3.1_build/bin/./xeigtstc
   Reason: image not found
Trace/BPT trap
frb15@BlueFerniMac1
~/Desktop/Gentoo/var/tmp/portage/sci-libs/lapack-reference-3.3.1-r1/work/lapack-reference-3.3.1_build/bin
$ ls ../lib/
libreflapack.dylib  libtmglib.dylib

In short it is linked as if it was installed. So it doesn't find one of its
essential library. I am not quite sure how to fix this - in a general fashion.
I think I may be able to do something on OS X. It may actually be easier on a
linux prefix by using LD_LIBRARY_PATH. But the real solution would be for the
test run to have different linking options.

Francois





  parent reply	other threads:[~2011-09-04 23:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30 19:49 [gentoo-science] new blas infrastructure and prefix fbissey
2011-08-30 21:33 ` Johan Hattne
2011-08-30 21:46   ` fbissey
2011-08-31  4:12     ` fbissey
2011-09-02 13:27   ` fbissey
2011-09-02 18:59     ` Andrea Arteaga
2011-09-02 20:33       ` fbissey
2011-09-04 23:47       ` fbissey [this message]
2011-09-06  2:23 ` fbissey
2011-09-06  4:39   ` fbissey
2011-09-09  2:51     ` [gentoo-science] new blas infrastructure on OS X prefix fbissey

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=20110905114745.ge0w0o04wkgs0kgk@webmail.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