Menu

load(lapack); doesn't work

2009-02-13
2012-09-10
  • Nobody/Anonymous

    Hi,

    load(lapack); and the interface freezes and maxima must be restarted. It works in command line maxima, and also in xmaxima.

    I was using (on WinXP):

    wxMaxima 0.8.1 http://wxmaxima.sourceforge.net
    Maxima 5.17.1 http://maxima.sourceforge.net
    Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)

    Best regards,
    Martin

     
    • Žiga Lenarčič

      Hi!

      I've also had some problems (Mac os x, cmucl) with load(lapack);, but the problem in my case was, that the first time you call load(lapack);, the lapack lisp files are compiled which takes quite some time to complete and produces a huge output. So I first ran the command load(lapack) in commandline maxima to get through the compilation and then I had no problem with load(lapack) in wxMaxima (though it still takes quite some time to load). Try giving it more time to load. wxMaxima is somewhat slow with huge outputs, so if a command produces a large output in commandline maxima, you might have problems in wxMaxima. I don't have windows so I can't try how load(lapack) works with gcl on winxp.

      Ziga

       
    • Nobody/Anonymous

      Thank you for your comment!

      It seems that the behavior was reported earlier on the maxima list
      http://www.math.utexas.edu/pipermail/maxima/2008/013703.html

      I will try to give more time to complete (currently, it's trying).

      Is the result of the first-time compilation persistent? I fear it is not. When I try in commandline maxims, the first load(lapack); command speaks a lot about loading .o files and so on. Then I could kill(all); and a new load(lapack); just gives

      (%i1) load(lapack);
      (%o1) C:/Programme/Maxima-5.17.1/share/maxima/5.17.1/share/lapack/lapack.mac

      so it seems that there is less need for further processing. However, starting a fresh maxima, the first time is verbose, as before (Same for two maximas started concurrently). Therefore, wxMaxima does not seem to benefit from a successful load(lapack); outside wxMaxima.

      Is there a way to suppress this output, in case the issue is related to the displaying speed of wxMaxima?

      Regards,
      Martin

       
    • Andrej Vodopivec

      I still do not know why lapack does not load on windows but here is a workaround:
      1) lapack is compiled only once - you should do this once in xmaxima.
      2) enter wxmaxima_debug_dump_output into wxmaxima (two dialogs pop up, jus close them). then load(lapack) should work.

      Andrej

       
    • Nobody/Anonymous

      This forum's really fast! Thank you for this workaround, Andrej!

      It works as you describe it, and I can live with the fact that this magic incantation disappears (clearing the cell) after entering it; for having a reminder, I just copy it unevaluated into the empty cell, to have it there the next time I open the worksheet.

      Best regards,
      Martin