Thread overview
Error calling geqrs function from lubeck package.
Apr 17
Jamie
Apr 17
Jamie
Apr 18
jmh530
Jul 05
9il
April 17
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.
April 17
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.


April 18
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.
July 05
On Tuesday, 17 April 2018 at 03:26:25 UTC, Jamie wrote:
> 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_'
>

dgeqrs does not exists in many LAPACK implementations. It is quite new addition to LAPACK. -- Ilya