On 28/09/2013 10:30 PM, Wilhelm Haager wrote:
> David Billinghurst <dbmaxima <at> gmail.com> writes:
>
>> On 28/09/2013 5:36 PM, Wilhelm Haager wrote:
>>> Sorry, but that does not work for me.
>>> When I try to load the package "draw", wxMaxima hangs.
>>> (I'm using WindowsXP).
>>>
>>> The command-line version of Maxima works fine.
>>>
>>> Wilhelm
>> It works for me with wxmaxima and xmaxima on Windows XP. It is one of
>> the things I test. However, I have had another report of the same
>> problem from Jean-Fran?ois Maurel.
>>
>> Does compile work?
>> f(x):=x+2;
>> compile(f);
>
> Yes, that works.
>
>> Are there any files in C:/Documents and
>> Settings/username/maxima/binary/binary-gcl/share/draw/ (or
>> equivalent)? You can see the path from the command line maxima.
>> If so, does deleting them help?
>
> Yes, thea are a couple of files, obviously compiled object files
> with the extension ".o".
>
> Loading of package "draw" actually works, but the compilation
> requires almost 5 minutes,
> every time again, when the package is loaded - that is not satisfactory.
> (I just had not awaited the completion of the loading before).
> During the compilation a huge ammount of messages is produced;
> supposedly without any benefit for the user
>
> Regards, Wilhelm
>
There should be no change in behaviour from 5.31.1. The packages should
be identical except for the extra gnuplot files and a small change in
maxima.bat. They were built in the same directory, and most of the code
did not get recompiled.
For me, load(draw) - after deleting the .o files - takes 15s (on a
6-year old PC running windows xp). Subsequent runs take around 0.1s to
load the compiled object files. There are around 30 lines of output.
Maxima 5.31.1-1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) showtime:true;
Evaluation took 0.0000 seconds (0.0000 elapsed)
(%o1) true
(%i2) load(draw);
Compiling
/PROGRA~1/MAXIMA~1.1-1/share/maxima/5.31.1-1/share/draw/grcommon.lisp.
End of Pass 1.
End of Pass 2.
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/grcommon.o.
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/grcommon.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/grcommon.o
Compiling
/PROGRA~1/MAXIMA~1.1-1/share/maxima/5.31.1-1/share/draw/gnuplot.lisp.
End of Pass 1.
;; Note: Tail-recursive call of BIPART was replaced by iteration.
;; Note: Tail-recursive call of BIPART was replaced by iteration.
End of Pass 2.
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/gnuplot.o.
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/gnuplot.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/gnuplot.o
Compiling /PROGRA~1/MAXIMA~1.1-1/share/maxima/5.31.1-1/share/draw/vtk.lisp.
End of Pass 1.
End of Pass 2.
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/vtk.o.
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/vtk.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/vtk.o
Compiling
/PROGRA~1/MAXIMA~1.1-1/share/maxima/5.31.1-1/share/draw/picture.lisp.
End of Pass 1.
End of Pass 2.
OPTIMIZE levels: Safety=2, Space=3, Speed=3
Finished compiling C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/picture.o.
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/picture.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/picture.o
Evaluation took 15.0400 seconds (15.0400 elapsed)
(%o2) C:/PROGRA~1/MAXIMA~1.1-1/share/maxima/5.31.1-1/share/draw/draw.lisp
Maxima 5.31.1-1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (a.k.a. GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) showtime:true;
Evaluation took 0.0000 seconds (0.0000 elapsed)
(%o1) true
(%i2) load(draw);
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/grcommon.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/grcommon.o
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/gnuplot.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/gnuplot.o
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/vtk.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/vtk.o
Loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/picture.o
Finished loading C:/Documents and
Settings/dabilling/maxima/binary/binary-gcl/share/draw/picture.o
Evaluation took 0.1000 seconds (0.1000 elapsed)
(%o2) C:/PROGRA~1/MAXIMA~1.1-1/share/maxima/5.31.1-1/share/draw/draw.lisp