[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please help upgrading eigensoft



Hi Tomasz,

On Tue, Jul 19, 2016 at 08:31:24AM +0200, Tomasz Buchert wrote:
> > ...
> > cc -Wl,-z,relro  pca.o eigensrc/eigsubs.o eigx.o nicksrc/libnick.a  -lgsl -lblas -lgfortran -lrt -lm -o pca
> > eigx.o: In function `eigx_':
> > /build/eigensoft-6.1.2+dfsg/src/eigx.c:100: undefined reference to `dspev_'
> 
> Hi Andreas,
> just a few thoughts. The symbols you are looking for are in liblapack:
> 
>    $ sudo apt install eigensoft pax-utils
>    $ symtree /usr/bin/pca
>    ...
>    liblapack.so.3 => dgetrf_,dgetri_,dsygv_,dgetrs_,dspev_,dpotrf_
>    ...
> 
> If you add -llapack to the list of libraries, it will pass this step. It will fail
> later, but adding also -lpthread and -llapacke will make it build.

You are right.  It was simply me since I forgot to activate + adapt a
quilt patch.
 
> That said, it sounds tricky, because there is zero guarantee that
> these dgetrf_ functions have the prototype that is in src/eigx.c (they
> don't seem to be public). This looks very error-prone.

+1

Would you propose a patch we could forward upstream?

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: