lapack error (example)
Globe Trotter
itsme_410 at yahoo.com
Tue Sep 27 15:05:18 UTC 2005
Here is an example: please try it and see what you get.
Included are files svdd-demo.c and array.h and test.dat
To compile, use
% gcc svdd-demo.c -ansi -Wall -pedantic -lm -llapack
% a.out
reading in matrix A from test.dat:
2.117079 2.992091
2.106365 1.970807
2.131384 3.130390
2.344235 2.667219
1.838804 3.243629
** On entry to DGESDD parameter number 12 had an illegal value
STOP 0
If you change m to <=4 it works fine. So there is an error for m "substantially
larger" than n (=2 here). Works fine on SuSE and RHEL3/4.
Thanks!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svdd-demo.c
Type: text/x-csrc
Size: 2579 bytes
Desc: 2612201649-svdd-demo.c
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050927/3979a7f8/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array.h
Type: text/x-chdr
Size: 9824 bytes
Desc: 1423983002-array.h
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050927/3979a7f8/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.dat
Type: video/mpeg
Size: 194 bytes
Desc: 2998025909-test.dat
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050927/3979a7f8/attachment-0001.mpeg>
More information about the fedora-list
mailing list