help-octave
[Top][All Lists]
Advanced

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

Re: install not finding lapack (3.6.4)


From: Sergei Steshenko
Subject: Re: install not finding lapack (3.6.4)
Date: Thu, 23 Jan 2014 10:13:05 -0800 (PST)




----- Original Message -----
> From: lascott <address@hidden>
> To: address@hidden
> Cc: 
> Sent: Thursday, January 23, 2014 7:20 PM
> Subject: install not finding lapack (3.6.4)
> 
> I have tried to get ATLAS, LAPACK running again. :P
> 
> Even explicit setting of the blas and lapack does not get past the
> ax_lapack.m4 configure test.
> nm -D --defined-only liblapack.so shows that cheev is indeed there.
> cheev.f is a LAPACK eigenvalue routine.
> blas, lapapck and atlas all compile successfully with tests passed.
> 
> also tried the:
> --with-lapack="-ltmglib -llapack -lptcblas -lptf77blas -latlas -lgfortran
> -lgomp -lpthread -ldl -lquadmath"
> 
> 
>        export F77=gfortran
>        export LDFLAGS="-L/usr/local/lib -L/usr/local/atlas/lib"
>        export F1="-I/usr/local/include -I/usr/local/bin
> -I/usr/local/atlas/include -I/usr/local/atlas/bin -fPIC -DPIC -O2"
> 
>       ./configure --prefix=/usr/local/octave3.6 CPPFLAGS="$F1" 
> CFLAGS="$F1" 
> FFLAGS="$F1" \
>                       --enable-shared --enable-dl \
>                       --with-blas=/usr/local/atlas/lib/libtatlas.so \
>                       --with-lapack=/usr/local/lib/liblapack.so \
>                       --with-arpack-libdir=/usr/local/lib \
>                       LIBS="-lmetis -lgfortran -lpthread -ldl 
> -lquadmath"
> PTHREAD_LIBS="-lpthread" 
> 
> 
> checking for ATL_xerbla in -latlas... yes
> checking for sgemm_ in -lf77blas... yes
> checking for cblas_dgemm in -lcblas... yes
> checking whether LSAME is called correctly from Fortran... yes
> :
> checking for cheev_ in /usr/local/lib/liblapack.so... no
> checking for cheev_... no
> checking for cheev_ in -llapack... no
> checking for cheev_ in -llapack_rs6k... no
> 
> however,
> /usr/local/lib $ nm -D --defined-only liblapack.so >
> /home/louis/code/tmp/tmpnames.txt
> gedit of tmpnames.txt reveals:
> 
> 000000000009ea80 T cheev_
> 000000000009e0c0 T cheevd_
> 000000000009f130 T cheevr_
> 00000000000a0b60 T cheevx_
> 
> why not use the PPA package?
> https://bugs.launchpad.net/ubuntu/+source/atlas/+bug/604574
> 
> -------My setup 
> ---------------------------------------------------------------
> OS: Linux Mint 16 Cinammon (ubuntu 13.10)
> octave-3.6.4
> the script working dir : /home/louis/code/scripts/octave
> ATLAS version to use : 3.10.1
> LAPACK version to use : 3.4.2
> ARPACK version to use : 3.1.4
> GCC compiler version : 4.7
> ATLAS library for build : /usr/local/atlas
> BLAS, LAPACK library : /usr/local/lib
> Source builds : /media/louis/dtb/home/las/code
> gcc version is: 4.7.3
> 
> 
> 
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/install-not-finding-lapack-3-6-4-tp4661317.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>

I am aware of this problem (I am not an Octave developer), and to work around 
the problem I supply to 'configure'

-l:liblapack.a

in addition to the rest of the stuff.

Then I hack Makefiles (I build using my own tool, so this hacking is done by 
code) and delete from them '-l:liblapack.a'.

Regards,
  Sergei.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]