Thread overview
Error calling geqrs function from lubeck package.
2 days ago
Jamie
2 days ago
Jamie
1 day ago
jmh530
2 days ago
I'm attempting to use the lubeck package, as described here https://forum.dlang.org/post/axacgiisczwvygyefhwy@forum.dlang.org

I have lubeck, mir-algorithm, mir-blas, mir-lapack downloaded and accessible by the compiler, and I have installed liblapack-dev and libblas-dev.

When I attempt to run the example for geqrs, https://github.com/libmir/mir-lapack/blob/master/examples/geqrs/source/app.d , I get the following error

    undefined reference to 'dgeqrs_'

Note that the issue comes from the line
    geqrs(A_, B_, tau_, work_);

but the previous line works
    geqrf(A_, tau_, work_);

After following the calls between the different packages and files, I find that the issue is likely the fact that
    sgeqrf.o
    dgeqrf.o
    cgeqrf.o
    zgeqrf.o

all exist in the liblapack-dev library and are hence callable, but
    sgeqrs.o
    dgeqrs.o
    cgeqrs.o
    zgeqrs.o

do not exist, and hence are not callable.

Is this an issue with mir-lapack? The fact that it is calling files/ functions that do not exist? Or is my version of liblapack-dev the incorrect one, as it doesn't contain the files/ functions being called?

Note that if I don't call the function geqrs(..); my code works, so I believe that I have set-up the mir- files correctly.
2 days ago
On Tuesday, 17 April 2018 at 03:26:25 UTC, Jamie wrote:
> 
Sorry it's really an error calling geqrs function from mir-lapack package.


1 day ago
On Tuesday, 17 April 2018 at 03:30:45 UTC, Jamie wrote:
> On Tuesday, 17 April 2018 at 03:26:25 UTC, Jamie wrote:
>> 
> Sorry it's really an error calling geqrs function from mir-lapack package.

If you don't get an answer here, you can always file an issue at mir-lapack with a simple example.