rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Compiing lapack has many errors. #3163

Open rtoy opened 4 months ago

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:29 Created by richardgobeli on 2018-11-08 02:19:37 Original: https://sourceforge.net/p/maxima/bugs/3492


Delete the compiled binary area first so the lapack will be recompiled.

Try loading "LAPACK" it generates many errors. Some of the errors are the new compiler error of unused variable in a lisp function. I was using the release version 5.42.1 and entering load("lapack") in command line mode for Maxima.

Buildinfo from within Maxima in attached image.

Richard

Attachments:

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:30 Created by peterpall on 2018-11-08 05:40:07 Original: https://sourceforge.net/p/maxima/bugs/3492/#6c07


It also is broken on Linux and in the latest master.

But lapack only is broken in clisp => tell wxMaxima to add "-l sbcl" to maxima's command-line options or do the same when starting maxima by hand as a workaround.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:34 Created by peterpall on 2018-11-08 05:48:40 Original: https://sourceforge.net/p/maxima/bugs/3492/#3409


Wow... ...this time lapack compiled - and this time I wanted to post the error message here => Would you be so kind and attach the error message you get to this ticket? Thanks in advance!

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:38 Created by peterpall on 2018-11-08 05:50:13 Original: https://sourceforge.net/p/maxima/bugs/3492/#c5ac


Deleted my binary folder again. But all I get if I try to compile lapack is warnings and a apparently working lapack.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:41 Created by richardgobeli on 2018-11-08 12:43:42 Original: https://sourceforge.net/p/maxima/bugs/3492/#641b


I get warnings also, but my qinf files do not work correctly. Matrices do not come out correctly. (%i4) functions$ (%i5) x:ket(1,0); (x) matrix( [], [], [] ) (%i6) y:ket(0,1); (y) matrix( [0], [1] ) it should be like this: (%i4) functions$ (%i5) x:ket(1,0); (x) matrix( [1], [0] ) (%i6) y:ket(0,1); (y) matrix( [0], [1] )

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:44 Created by robert_dodier on 2018-11-26 06:39:05 Original: https://sourceforge.net/p/maxima/bugs/3492/#267b


Richard, I don't understand what is the connection with lapack in the above example. What is the definition of ket?

I'd like to second Gunter's suggestion that you post the error messages you are getting from trying to load lapack.

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:48 Created by robert_dodier on 2019-02-06 19:27:09 Original: https://sourceforge.net/p/maxima/bugs/3492/#2fbd


rtoy commented 4 months ago

Imported from SourceForge on 2024-07-07 15:49:51 Created by robert_dodier on 2019-02-06 19:27:10 Original: https://sourceforge.net/p/maxima/bugs/3492/#051c


I tried loading lapack with Maxima post-5.42 + Clisp on a Linux system, and it succeeded, so I can't replicate an error. In the absence of specific information about the error message or messages, I'm closing this report. Richard, feel free to open a new bug report if you want to post the error message or messages you get. Note that even when lapack is loaded successfully, Maxima prints out a lot of messages telling about how it is loading one file or another; perhaps it's not clear that those are not error messages.