Re: Error calling geqrs function from lubeck package.

2018-07-05 Thread 9il via Digitalmars-d-learn

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/axacgiisczwvygyef...@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




Re: Error calling geqrs function from lubeck package.

2018-04-20 Thread chuoiit18 via Digitalmars-d-learn

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.


, This is a great article. It gave me a lot of useful 
information. thank you very much. Link profile: 
http://dakhoaauahcm.vn


Re: Error calling geqrs function from lubeck package.

2018-04-18 Thread jmh530 via Digitalmars-d-learn

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.


Re: Error calling geqrs function from lubeck package.

2018-04-16 Thread Jamie via Digitalmars-d-learn

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.





Error calling geqrs function from lubeck package.

2018-04-16 Thread Jamie via Digitalmars-d-learn
I'm attempting to use the lubeck package, as described here 
https://forum.dlang.org/post/axacgiisczwvygyef...@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.