From: allchemist on

> That is funny (lately I am finding google stochastic).  I found
> `f2c_ctrmv' mentioned here:
>
> http://www.netlib.org/clapack/clapack-3.2.1-CMAKE/INCLUDE/blaswrap.h
>
> Can you check (use `nm') whether libcblas has the `f2c_ctrmv'?
>

nm says nothing for `nm libcblas.a | grep f2c_ctrmv`. btw, blaswrap is
needed only if i build clapack with existing fortran libblas.

> > Mirko, was you problem dependent on sbcl version?
>
> I did not check it across multiple versions.
>
Now I'm trying CC (not GCC), then check out sbcl 1.0.38.


> > May be, somebody has a working build of libclapack.so?
>
> Did you check lla, Tamas Papp's lappack port?  AFAIK he has it running
> on sbcl and is not porting it to other systems.

I saw it and some time tried to use. But now it is modifying
quickly. :)
LLA uses fortran lapack, and I really need C lapack for checking some
ideas.

> (expt 'good-luck 2)

(1+ 'thanks)
From: allchemist on
> That is funny (lately I am finding google stochastic).  I found
> `f2c_ctrmv' mentioned here:
>
> http://www.netlib.org/clapack/clapack-3.2.1-CMAKE/INCLUDE/blaswrap.h
>
> Can you check (use `nm') whether libcblas has the `f2c_ctrmv'?

f2c_ctrmv exists in static lapack_LINUX.a. Then I convert it into
shared library

ar x lapack_LINUX.a
cc -shared *.o -o libclapack.so
nm libclapack.so | grep f2c_ctrmv # this finds the symbol in
libclapack.so

but (load-shared-object "libclapack.so")
brings 'undefined symbol "f2c_ctrmv"' again.

:(
From: allchemist on
clisp refuses to open, using ffi:open-foreign-library.
cmucl warns about unresolved symbol, but loads the library with load-
foreign.

it seems not to be a problem of sbcl

From: Mirko on
On May 26, 1:25 pm, allchemist <hohlovi...(a)gmail.com> wrote:
> > That is funny (lately I am finding google stochastic).  I found
> > `f2c_ctrmv' mentioned here:
>
> >http://www.netlib.org/clapack/clapack-3.2.1-CMAKE/INCLUDE/blaswrap.h
>
> > Can you check (use `nm') whether libcblas has the `f2c_ctrmv'?
>
> f2c_ctrmv exists in static lapack_LINUX.a. Then I convert it into
> shared library
>
> ar x lapack_LINUX.a
> cc -shared *.o -o libclapack.so
> nm libclapack.so | grep f2c_ctrmv # this finds the symbol in
> libclapack.so
>
> but (load-shared-object "libclapack.so")
> brings 'undefined symbol "f2c_ctrmv"' again.
>
> :(

Here is another thing to try: make sure libraries are loaded in the
correct order. Load explicitly the blas library first.

(by the way (expt 'good-luck 2) would throw an exception. duh.)

From: Mirko on
On May 26, 1:25 pm, allchemist <hohlovi...(a)gmail.com> wrote:
> > That is funny (lately I am finding google stochastic).  I found
> > `f2c_ctrmv' mentioned here:
>
> >http://www.netlib.org/clapack/clapack-3.2.1-CMAKE/INCLUDE/blaswrap.h
>
> > Can you check (use `nm') whether libcblas has the `f2c_ctrmv'?
>
> f2c_ctrmv exists in static lapack_LINUX.a. Then I convert it into
> shared library
>
> ar x lapack_LINUX.a
> cc -shared *.o -o libclapack.so
> nm libclapack.so | grep f2c_ctrmv # this finds the symbol in
> libclapack.so
>
> but (load-shared-object "libclapack.so")
> brings 'undefined symbol "f2c_ctrmv"' again.
>
> :(

Here is another thing to try: make sure libraries are loaded in the
correct order. Load explicitly the blas library first.

(by the way (expt 'good-luck 2) would throw an exception. duh.)