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

Re: Please help upgrading eigensoft



Hi,

El Dimarts, 19 de juliol de 2016, a les 09:27:10, Christian Seiler va 
escriure:

[....]
> 
> DSPEV etc. are LAPACK routines, but you only link against BLAS. [1]
> You also need to link against LAPACK for this to work. Add -llapack
> before -lblas in your Makefile and it should work.
> 
> (Note that LAPACKE is not the same as LAPACK: LAPACKE is a C wrapper
> around LAPACK, and it appears your package needs both, because it
> calls some Fortran LAPACK routines directly, but it also calls some
> LAPACKE routines in other places. Put -llapacke before -llapack in
> the linker line, and everything should work though.)

I have done it after at it build, however, I see that it's very sensitive in 
order, so follow Christian advice.
 
> Hope that helps.
> 
> Regards,
> Christian
> 
> PS: You're git URI is wrong, there's a /git/ missing after
>     https://anonscm.debian.org/; this is also wrong in the package's
>     debian/control file.

right ...


Christian is right. I have tested it. The Makefile should be, after your 
patches:

diff --git a/src/Makefile b/src/Makefile
index 187e4ec..70cda95 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
 CFLAGS += -I../include
-LDLIBS += -lgsl -lblas -lgfortran -lrt -lm
+LDLIBS += -lgsl -llapacke -llapack -lblas -lgfortran -lrt -lm -lpthread 
 
 ifeq ($(OPTIMIZE), 1)
        CFLAGS += -O2


Regards,

Leopold

-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: