From owner-bug-octave at bevo dot che dot wisc dot edu Wed Dec 4 02:19:35 1996 Subject: Eigen values calculation bug in 1.93 From: Daniel Tourde To: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 04 Dec 1996 09:18:57 +0100 This is a multi-part message in MIME format. --------------2FCA924384F596B50DED2C1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello John, I noticed you yesterday about a probem I have with the qzval function within Octave 1.93. I am using a Pentium Pro 200 with Slackware Linux 3.1. During the configure phase (I typed ./configure after a small modification of config.guess where I inserted the number 6 within I[345] or I[34]) I had some problems (I send you config.log) but however It compiled. Now I have little problems with the eigen values calculation. I give you here the test file (test.m) and the results obtained within Octave 1.1.1 (results_with_1.1.1) precompiled for a 486 machine with Linux and with my compiled version of Octave 1.93 (results_with_1.93). I hope it will help you to find the problem, if problem there is, or at least to guide me to solve my problem. Thank you in advance Best regards Daniel -- ********************************************************************* Daniel TOURDE E-mail : ted at ffa dot se The Aeronautical Research Institute of Sweden Tel : +46 8 634 13 44 P.O. Box 11021 S-161 11 BROMMA, Sweden Fax : +46 8 25 34 81 ********************************************************************* --------------2FCA924384F596B50DED2C1 Content-Type: text/plain; charset=us-ascii; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:827: c++ -E conftest.C configure:881: c++ -E conftest.C >/dev/null 2>conftest.out configure:1036: gcc -E conftest.c configure:1094: gcc -E conftest.c >/dev/null 2>conftest.out configure:1137: sgtty.h: No such file or directory configure:1389: gcc -E conftest.c >/dev/null 2>conftest.out configure:1385: minix/config.h: No such file or directory configure:1467: gcc -o conftest -g -O -g conftest.c -lsun 1>&5 /usr/i486-linux/bin/ld: cannot open -lsun: No such file or directory configure:1511: gcc -o conftest -g -O -g conftest.c -lsocket 1>&5 /usr/i486-linux/bin/ld: cannot open -lsocket: No such file or directory configure:1552: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1584: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1618: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1652: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1685: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1733: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1944: gcc -c -g -O conftest.c 1>&5 configure:2725: gcc -E conftest.c >/dev/null 2>conftest.out configure:2790: gcc -o conftest -g -O -g conftest.c 1>&5 configure:2827: gcc -c -g -O conftest.c 1>&5 configure:2870: gcc -o conftest -g -O -g conftest.c -ldir 1>&5 /usr/i486-linux/bin/ld: cannot open -ldir: No such file or directory configure:2944: gcc -c -g -O conftest.c 1>&5 configure:2985: gcc -c -g -O conftest.c 1>&5 configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3018: floatingpoint.h: No such file or directory configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3018: ieeefp.h: No such file or directory configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3018: ncurses.h: No such file or directory configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3018: sgtty.h: No such file or directory configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3018: sys/select.h: No such file or directory configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3022: gcc -E conftest.c >/dev/null 2>conftest.out configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca026141.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3123: undefined reference to `stricmp' configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca026421.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3123: undefined reference to `strnicmp' configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3129: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3213: gcc -o conftest -g -O -g conftest.c 1>&5 configure: In function `main': configure:3172: warning: assignment makes pointer from integer without a cast configure:3186: warning: assignment makes pointer from integer without a cast configure:3242: gcc -o conftest -g -O -g conftest.c 1>&5 configure: In function `t': configure:3238: parse error before `{' configure: At top level: configure:3239: parse error before `return' configure:3290: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 /usr/i486-linux/bin/ld: cannot open -ldl: No such file or directory configure:3345: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca027861.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3339: undefined reference to `dlopen' configure:3345: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca027981.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3339: undefined reference to `dlsym' configure:3345: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca028101.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3339: undefined reference to `dlerror' configure:3345: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca028221.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3339: undefined reference to `dlclose' configure:3414: gcc -o conftest -g -O -g conftest.c -ldld 1>&5 /usr/i486-linux/bin/ld: cannot open -ldld: No such file or directory configure:3469: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca028501.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3463: undefined reference to `shl_load' configure:3469: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca028621.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3463: undefined reference to `shl_findsym' configure:3557: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3578: gcc -c -g -O conftest.c 1>&5 configure:3624: gcc -o conftest -g -O -g conftest.c -lsunmath -lm 1>&5 /usr/i486-linux/bin/ld: cannot open -lsunmath: No such file or directory configure:3672: gcc -o conftest -g -O -g conftest.c -lm -lc 1>&5 configure:3664: warning: conflicting types for built-in function `sin' configure:3804: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3804: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3804: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3804: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 /tmp/cca029791.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3798: undefined reference to `infinity' configure:3804: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 /tmp/cca029911.o: In function `t': /home/eken/ffa/ted/test/octave-1.93/configure:3798: undefined reference to `quiet_nan' configure:3862: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3862: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3862: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3862: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3862: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm 1>&5 configure:3903: gcc -c -g -O conftest.c 1>&5 configure:3936: gcc -c -g -O conftest.c 1>&5 configure:3971: gcc -c -g -O conftest.c 1>&5 configure:4004: gcc -c -g -O conftest.c 1>&5 configure:4037: gcc -c -g -O conftest.c 1>&5 configure: In function `t': configure:4033: structure has no member named `tm_zone' configure:4071: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4105: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4138: gcc -c -g -O conftest.c 1>&5 configure:4180: gcc -o conftest -g -O -g conftest.c -ltermcap -lm 1>&5 configure:4227: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure: In function `t': configure:4223: dereferencing pointer to incomplete type configure:4223: dereferencing pointer to incomplete type configure:4266: gcc -c -g -O conftest.c 1>&5 configure:4301: gcc -c -g -O conftest.c 1>&5 configure: In function `t': configure:4297: warning: initialization discards `const' from pointer target type configure:4330: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4364: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4494: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4809: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4809: gcc -o conftest -g -O -g conftest.c -lm 1>&5 configure:4904: gcc -o conftest -g -O -g conftest.c -lfl -lm 1>&5 --------------2FCA924384F596B50DED2C1 Content-Type: text/plain; charset=us-ascii; name="test.m" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.m" A = [0, 0, 1, 0; 0, 0, 0, 1; -0.04762, -0.18853, -0.03312, 0.01550; 0.03810, -0.50237, 0, -0.01432] Z=qzval(A,[1,0,0,0;0,1,0,0;0,0,1,0;0,0,0,1]) --------------2FCA924384F596B50DED2C1 Content-Type: text/plain; charset=us-ascii; name="results_with_1.1.1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="results_with_1.1.1" pspc:~/outils/octave-1.1.1-binaries/bin> ./octave.bin Octave, version 1.1.1. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -0.00749 - 0.69708i -0.00749 + 0.69708i -0.01623 - 0.25248i -0.01623 + 0.25248i octave:2> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -0.00749 - 0.69708i -0.00749 + 0.69708i -0.01623 - 0.25248i -0.01623 + 0.25248i octave:3> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -0.00749 - 0.69708i -0.00749 + 0.69708i -0.01623 - 0.25248i -0.01623 + 0.25248i octave:4> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -0.00749 - 0.69708i -0.00749 + 0.69708i -0.01623 - 0.25248i -0.01623 + 0.25248i octave:5> --------------2FCA924384F596B50DED2C1 Content-Type: text/plain; charset=us-ascii; name="results_with_1.93" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="results_with_1.93" pspc:~> octave Octave, version 1.93 (i686-unknown-linux). Copyright (C) 1996 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -1.7671e-01 + 1.2911e-313i Inf + 6.8436e+43i -1.0866e+268 + 1.6977e+269i 6.4005e-02 + 1.0000e+00i octave:2> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -1.4623e-181 + 0.0000e+00i 7.3477e-172 + 4.1580e-171i -3.3472e+268 + 1.1499e-38i 6.4002e-02 + 9.9996e-01i octave:3> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -3.0001e+268 + 1.6977e+269i 1.7671e-01 + 1.2911e-313i -Inf + 4.5624e+43i 6.4005e-02 + 1.0001e+00i octave:4> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -Inf + 4.5624e+43i 3.0001e+268 + 1.6978e+269i -Inf + 2.9918e+03i 6.4005e-02 + 1.0000e+00i octave:5> test A = 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 1.00000 -0.04762 -0.18853 -0.03312 0.01550 0.03810 -0.50237 0.00000 -0.01432 Z = -Inf + 4.5624e+43i 3.0001e+268 + 1.6978e+269i -Inf + 2.9917e+03i 6.4005e-02 + 1.0000e+00i octave:6> --------------2FCA924384F596B50DED2C1--