Would it be sufficient to link libosympenblas.so to liblapack.so in 
$SAGE_ROOT/local/lib/ ?

Thanks for the hint !

--
Emmanuel Charpentier

Le jeudi 20 octobre 2016 23:12:43 UTC+2, François a écrit :
>
> This is because automatic blas/lapack detection is a hopeless task. 
> You should pass your lapack libraries to the configuration script. 
> If you can’t, hack it. 
> And now that we have switched to openblas, -lopenblas provides lapack. 
>
> François 
>
> > On 21/10/2016, at 10:04, Emmanuel Charpentier <emanuel.c...@gmail.com 
> <javascript:>> wrote: 
> > 
> > Something just changed in the Sage build process : as of 7.4, LAPACK is 
> no longer available to programs running in the Sage shell. 
> > 
> > Case in point : I want to install JAGS (an MCMC sampler), which is 
> needed by the rjags R package, of some use to Bayesian R users... This 
> package compiled fine in the Sage shell up to Sage 7.4beta6. Now, the 
> --configure step fails with : 
> > 
> > checking for cheev_ in -llapack... no 
> > checking for cheev_ in -llapack_rs6k... no 
> > configure: error: "You need to install the LAPACK library" 
> > 
> > Indeed : 
> > 
> > charpent@asus16-ec:~$ find /usr/local/sage-7/ -iname "*lapack*so*" 
> > /usr/local/sage-7/local/lib/R/modules/lapack.so 
> > /usr/local/sage-7/local/lib/python2.7/site-packages/cvxopt/lapack.so 
> > 
> /usr/local/sage-7/local/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
>  
>
> > 
> /usr/local/sage-7/local/lib/python2.7/site-packages/scipy/linalg/_flapack.so 
>
> > 
> /usr/local/sage-7/local/lib/python2.7/site-packages/scipy/linalg/cython_lapack.so
>  
>
> > charpent@asus16-ec:~$ find /usr/local/sage-7/ -iname "*lapack*h*" 
> > /usr/local/sage-7/local/lib/R/include/R_ext/Lapack.h 
> > /usr/local/sage-7/local/include/lapacke_mangling.h 
> > 
> /usr/local/sage-7/local/include/linbox/algorithms/numeric-solver-lapack.h 
> > /usr/local/sage-7/local/include/lapacke_config.h 
> > /usr/local/sage-7/local/include/lapacke.h 
> > 
> > 
> > Short of forcing the Sage build process to use the system's LAPACK 
> (which can be done but, as far as I know, is not recommended), I don't see 
> how to force the creation of this library and its header file. 
> > 
> > Note that could be useful to reduce overhead : R (standard package) 
> creates its own version (probably for lack of finding it at build time...) 
> ; it also exists in the python package cvxopt. 
> > 
> > 1) What do you think ? 
> > 
> > 2) Should a ticket be filed ? 
> > 
> > HTH, 
> > 
> > -- 
> > Emmanuel Charpentier 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "sage-devel" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-devel+...@googlegroups.com <javascript:>. 
> > To post to this group, send email to sage-...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to