On Sun, 14 Apr 2013, Ahmadou Dicko wrote:
I already use the experimental version of OpenBLAS and it's
really fast.
For now, I use R and Julia with openblas and use the normal blas for gretl.
I just hope that I'll be able to build gretl using openblas soon I'll try
from time to time.
How are you configuring gretl (and building openblas)?
If you do a default "make" of openblas, this builds a library
that includes both lapack and blas. In that case you must not
link against the standard liblapack: you should do something
like the following when configuring gretl
LAPACK_LIBS='-lopenblas' ./configure <options>
I've tested that here (on 32-bit Linux) with openblas 0.2.6
and it works fine.
Your valgrind log showed
==26438== Bad permissions for mapped region at address 0x9EBD000
==26438== at 0x55E1CC4: idamax_k (in /usr/lib/libopenblas_sandybridgep-r0.2.6.so)
==26438== by 0x5B275A6: dgetf2_ (in /usr/lib/liblapack.so)
which suggests you're mixing incompatible libraries.
libopenblas should be providing dgetf2_
waverley:~$ nm /usr/lib/libopenblas_sandybridgep-r0.2.6.so \
| grep dgetf
00072ab0 T dgetf2_
00981cc0 T LAPACKE_dgetf2
00981d70 T LAPACKE_dgetf2_work
Allin Cottrell