Adam Majewski | 7 Jun 18:54 2012
Picon

limit of series

Hi,

I have a series of values which seems to converge to some values.
Is it possible to find its limit ?

like limit( series) ?

I can take minimal value here, but maybe is better solution.

TIA

Adam

======= series ===============
a[1]=0.7
a[2]=0.69538710991732
a[3]=0.69365664877215
a[4]=0.69247726184666
a[5]=0.69157884978817
a[6]=0.69085382183369
a[7]=0.69024707577233
a[8]=0.68972632465923
a[9]=0.68927094148622
a[10]=0.68886691943684
a[11]=0.6885043028296
a[12]=0.68817575897638
a[13]=0.68787573034783
a[14]=0.68759990448676
a[15]=0.68734486836705
a[16]=0.6871078750334
(Continue reading)

Evgeniy Maevskiy | 7 Jun 20:36 2012
Picon

Re: limit of series

Hello, Adam!

You mean not SERIES, bat SEQUENCE.

The problem is not correct from a mathematical point of view. See the 
mathematical definition of LIMIT.

For a finite sequence a[1],...,a[N] you can compute MAX and MIN, bat not 
LIMIT.

Evgeniy

07.06.2012 19:54, Adam Majewski пишет:
> Hi,
>
> I have a series of values which seems to converge to some values.
> Is it possible to find its limit ?
>
> like limit( series) ?
>
> I can take minimal value here, but maybe is better solution.
>
> TIA
>
> Adam
>
> ======= series ===============
> a[1]=0.7
> a[2]=0.69538710991732
> a[3]=0.69365664877215
(Continue reading)

Andrey G. Grozin | 7 Jun 20:00 2012
Picon

Re: limit of series

On Thu, 7 Jun 2012, Evgeniy Maevskiy wrote:
> You mean not SERIES, bat SEQUENCE.
>
> The problem is not correct from a mathematical point of view. See the 
> mathematical definition of LIMIT.
This is a reply from a pure mathematician :-)

From the point of view of physics (or other applied sciences), the 
question is absolutely meaningful. And people do this sort of things 
often.

It would be useful to have some theoretical guesses about how this 
sequence converges to a limit - exponentially, by a power law, or 
something. If, for example, we suppose a power-law convergence, then a 
reasonable procedure is to use the anzatz

x_n = c_0 + c_1/n + c_2/n^2 + ...

and fit the coefficients c_0, c_1, ... to the data (probably, omitting 
an initial part of the sequence where this asymptotics is not yet valid). 
Then c_0 is the limit.

Another often situation is exponential:

x_n = c_0 + c_1 \exp(-a_1 n) + c_2 \exp(-a_2 n) + ...

(for example, x_n is an activity of a sample with several isotopes with 
different life times). Again, fit the data, and you have the limit 
(perhaps, the percentage of uranium, which has nearly infinite life time).

(Continue reading)

Evgeniy Maevskiy | 7 Jun 21:20 2012
Picon

Re: limit of series

Andrey,

in this case the value of the "limit" is highly dependent on the chosen 
approximation

07.06.2012 21:00, Andrey G. Grozin пишет:
> On Thu, 7 Jun 2012, Evgeniy Maevskiy wrote:
>> You mean not SERIES, bat SEQUENCE.
>>
>> The problem is not correct from a mathematical point of view. See the
>> mathematical definition of LIMIT.
> This is a reply from a pure mathematician :-)
>
>> From the point of view of physics (or other applied sciences), the
> question is absolutely meaningful. And people do this sort of things often.
>
> It would be useful to have some theoretical guesses about how this
> sequence converges to a limit - exponentially, by a power law, or
> something. If, for example, we suppose a power-law convergence, then a
> reasonable procedure is to use the anzatz
>
> x_n = c_0 + c_1/n + c_2/n^2 + ...
>
> and fit the coefficients c_0, c_1, ... to the data (probably, omitting
> an initial part of the sequence where this asymptotics is not yet
> valid). Then c_0 is the limit.
>
> Another often situation is exponential:
>
> x_n = c_0 + c_1 \exp(-a_1 n) + c_2 \exp(-a_2 n) + ...
(Continue reading)

Andrey G. Grozin | 7 Jun 20:42 2012
Picon

Re: limit of series

On Thu, 7 Jun 2012, Evgeniy Maevskiy wrote:
> in this case the value of the "limit" is highly dependent on the chosen 
> approximation
Not highly. Usually, just a little. And an estimate of this dependence is 
usually attached to the result as a "model error" (in addition to 
statistical errors and various kinds of systematical errors).

It's easy to check if the convergence is ~ 1/n or ~ \exp(-a n). So, only a 
limited class of models can describe the data (numbers in the sequence) 
well enough.

By the way, such tricks are often used in mathematics, too (applied 
mathematics, not pure). For example, methods of acceleration of 
convergence. Suppose you have a slowly convergent series, and want to know 
its sum (numerically). Just by summing x_1 + x_2 + ... + x_{1000} + ... 
x_{1000000} + ... + x_{1000000000} + ... you will get the required 
accuracy after 100 years. If you fit your x_n to c_2/n^2 + c_3/n^3 + (a 
few more terms), you will get the same accuracy of the sum in 1 second.

Andrey
(theoretical high energy physicist)
Adam Majewski | 9 Jun 14:19 2012
Picon

Re: limit of series

...

"By the way, such tricks are often used in mathematics, too (applied 
mathematics, not pure). For example, methods of acceleration of 
convergence. "

Similar problem was analyzed by Mark Braverman ( he accelerated 
divergence =Giant steps).

http://wwwmayr.informatik.tu-muenchen.de/konferenzen/ACA2007/braverman.pdf
in case of parabolic Julia sets
http://en.wikibooks.org/wiki/Fractals/Iterations_in_the_complex_plane/parabolic

Here is my naive page about slow attractors :
http://fraktal.republika.pl/period.html

Adam
Adam Majewski | 10 Jun 09:08 2012
Picon

Re: limit of series

http://arxiv.org/abs/math.DS/0505036

better link

On 09.06.2012 14:19, Adam Majewski wrote:
> ...
>
> "By the way, such tricks are often used in mathematics, too (applied
> mathematics, not pure). For example, methods of acceleration of
> convergence. "
>
> Similar problem was analyzed by Mark Braverman ( he accelerated
> divergence =Giant steps).
>
> http://wwwmayr.informatik.tu-muenchen.de/konferenzen/ACA2007/braverman.pdf
> in case of parabolic Julia sets
> http://en.wikibooks.org/wiki/Fractals/Iterations_in_the_complex_plane/parabolic
>
>
>
> Here is my naive page about slow attractors :
> http://fraktal.republika.pl/period.html
>
> Adam
Dmitry Shkirmanov | 13 Jun 12:04 2012
Picon

./configure options and speed of execution.

Hello, list. By accident i found that maxima built from source with default ./configure options works very slow in comparison with maxima built with this(default archlinux  configure options):
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ --libexecdir=/usr/lib --enable-sbcl --with-default-lisp=sbcl For example, maxima built with default configure options  needs about 20 seconds to run attached maple_V_N_test.wxm program. Maxima built with default archlinux options takes about 3 seconds to run this program.(Maple, needs 0.89 seconds to run this program(of course, program must be accordingly changed) )

So question is: what is the best ./configure options for program execution speed?
/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 12.04.0 ] */

/* [wxMaxima: input   start ] */
kill(all);
assume(m>0);
N:2;
showtime:true;
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
f :(1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2+m^2)-m)^2/(sigma^2*rho[0,
0]))/(Pi^(3/2)*sigma*sqrt(rho[0, 0]*d)*sqrt(k[1]^2+k[2]^2+k[3]^2+m^2));
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
C[0] : 1/(2*Pi^(3/2)*sqrt(rho[0, 0]*d)*m*sigma);
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
Z[0] : f/C[0];
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
for j: 0 thru  N do(
d11 : diff(Z[j],k[1],2),
d22 : subst([Sigma[1,1]=S11, Sigma[2,2]=S22, k[1]=k1, k[2]=k2], d11),
d22 : subst([S11=Sigma[2,2], S22=Sigma[1,1], k1=k[2], k2=k[1]], d22),

d33 : subst([Sigma[2,2]=S22, Sigma[3,3]=S33, k[2]=k2, k[3]=k3], d22),
d33 : subst([S22=Sigma[3,3], S33=Sigma[2,2], k2=k[3], k3=k[2]], d33),
Z[j+1]   : Sigma[1,1]*d11+Sigma[2,2]*d22+Sigma[3,3]*d33,

Z0[j+1] :subst([k[1]=0,k[2]=0,k[3]=0], Z[j+1]),

Z0[j+1] : subst([Sigma[1,1]=sigma^2*rho[1], Sigma[2,2]=sigma^2*rho[2], Sigma[3,3]=sigma^2*rho[3],
                 Sigma[0,0]=sigma^2*rho[0,0]], Z0[j+1]),

C[j+1] :limit(Z0[j+1]/((j+1)!), T[0,0],0)
);
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
facsum(Z0[3]),m;
/* [wxMaxima: input   end   ] */

/* Maxima can't load/batch files which end with a comment! */
"Created with wxMaxima"$
_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Dmitry Shkirmanov | 13 Jun 12:53 2012
Picon

compile_file() error

Hello. I am trying to learn to compile maxima files  to get the maximal speed of execution.
For first experience i am using the maple_V_N_test.wxm file that is attached.
But maxima returns an error. What i am doing wrong?

ya <at> debian:~/Downloads$ maxima
Maxima 5.27.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.40.0.debian
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) batchload("maple_V_N_test.wxm");
Evaluation took 3.5920 seconds (3.6070 elapsed) using 254.244 MB.
(%o0)                /home/ya/Downloads/maple_V_N_test.wxm
(%i1) compile_file("maple_V_N_test.wxm");
translator: begin translating /home/ya/Downloads/maple_V_N_test.wxm.

; compiling file "/home/ya/Downloads/maple_V_N_test.LISP" (written 13 JUN 2012 02:32:50 PM):
; compiling (IN-PACKAGE :MAXIMA)
; compiling (MAPPLY (QUOTE $KILL) ...)
; compiling (SIMPLIFY (LIST # ...))
; compiling (IF (NOT #) ...)
; compiling (DEFPARAMETER $N ...)
; compiling (IF (NOT #) ...)
; compiling (DEFPARAMETER $SHOWTIME ...);
; compilation unit aborted
;   caught 1 fatal ERROR condition
;
; compilation aborted because of fatal error:
;   SB-INT:SIMPLE-READER-ERROR at 1343 (line 48, column 59) on #<SB-SYS:FD-STREAM
;                                                                for "file /home/ya/Downloads/maple_V_N_test.LISP"
;                                                                {1005927D21}>:
;     illegal sharp macro character: #\
;
; compilation aborted after 0:00:00.007
Evaluation took 0.0200 seconds (0.0200 elapsed) using 1.667 MB.
(%o1) [/home/ya/Downloads/maple_V_N_test.wxm,
/home/ya/Downloads/maple_V_N_test.LISP,
/home/ya/Downloads/maple_V_N_test.UNLISP, false]
(%i2)

/* [wxMaxima batch file version 1] [ DO NOT EDIT BY HAND! ]*/
/* [ Created with wxMaxima version 12.04.0 ] */

/* [wxMaxima: input   start ] */
kill(all);
assume(m>0);
N:2;
showtime:true;
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
f :(1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2+m^2)-m)^2/(sigma^2*rho[0,
0]))/(Pi^(3/2)*sigma*sqrt(rho[0, 0]*d)*sqrt(k[1]^2+k[2]^2+k[3]^2+m^2));
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
C[0] : 1/(2*Pi^(3/2)*sqrt(rho[0, 0]*d)*m*sigma);
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
Z[0] : f/C[0];
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
for j: 0 thru  N do(
d11 : diff(Z[j],k[1],2),
d22 : subst([Sigma[1,1]=S11, Sigma[2,2]=S22, k[1]=k1, k[2]=k2], d11),
d22 : subst([S11=Sigma[2,2], S22=Sigma[1,1], k1=k[2], k2=k[1]], d22),

d33 : subst([Sigma[2,2]=S22, Sigma[3,3]=S33, k[2]=k2, k[3]=k3], d22),
d33 : subst([S22=Sigma[3,3], S33=Sigma[2,2], k2=k[3], k3=k[2]], d33),
Z[j+1]   : Sigma[1,1]*d11+Sigma[2,2]*d22+Sigma[3,3]*d33,

Z0[j+1] :subst([k[1]=0,k[2]=0,k[3]=0], Z[j+1]),

Z0[j+1] : subst([Sigma[1,1]=sigma^2*rho[1], Sigma[2,2]=sigma^2*rho[2], Sigma[3,3]=sigma^2*rho[3],
                 Sigma[0,0]=sigma^2*rho[0,0]], Z0[j+1]),

C[j+1] :limit(Z0[j+1]/((j+1)!), T[0,0],0)
);
/* [wxMaxima: input   end   ] */

/* [wxMaxima: input   start ] */
facsum(Z0[3]),m;
/* [wxMaxima: input   end   ] */

/* Maxima can't load/batch files which end with a comment! */
"Created with wxMaxima"$
_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Barton Willis | 13 Jun 13:46 2012

Re: compile_file() error

________________________________________

> (%i1) compile_file("maple_V_N_test.wxm");

You need to compile the *.mac file, not the  *.wxm file.   A *.wxm file is used by the wxMaxima user interface to
store Maxima code, text, and some formatting
information. If you only have the *.wxm file,  try saving as a *.mac file (File --> Save As).

--Barton 
Dmitry Shkirmanov | 13 Jun 14:05 2012
Picon

Re: compile_file() error

Thanks for answer, i saved file as .mac file, but maxima gives the same 
error:

ya <at> debian:~/Downloads$ maxima
Maxima 5.27.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.40.0.debian
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) compile_file("maple_V_N_test.mac");
translator: begin translating /home/ya/Downloads/maple_V_N_test.mac.

; compiling file "/home/ya/Downloads/maple_V_N_test.LISP" (written 13 JUN 2012 04:02:28 PM):
; compiling (IN-PACKAGE :MAXIMA)
; compiling (MAPPLY (QUOTE $KILL) ...)
; compiling (SIMPLIFY (LIST # ...))
; compiling (IF (NOT #) ...)
; compiling (DEFPARAMETER $N ...)
; compiling (IF (NOT #) ...)
; compiling (DEFPARAMETER $SHOWTIME ...);
; compilation unit aborted
;   caught 1 fatal ERROR condition
;
; compilation aborted because of fatal error:
;   SB-INT:SIMPLE-READER-ERROR at 1343 (line 48, column 59) on #<SB-SYS:FD-STREAM
;                                                                for "file /home/ya/Downloads/maple_V_N_test.LISP"
;                                                                {1005E73991}>:
;     illegal sharp macro character: #\
;
; compilation aborted after 0:00:00.007
(%o1) [/home/ya/Downloads/maple_V_N_test.mac,
/home/ya/Downloads/maple_V_N_test.LISP,
/home/ya/Downloads/maple_V_N_test.UNLISP, false]
(%i2)

> ________________________________________
>
>    
>> (%i1) compile_file("maple_V_N_test.wxm");
>>      
> You need to compile the *.mac file, not the  *.wxm file.   A *.wxm file is used by the wxMaxima user interface to
store Maxima code, text, and some formatting
> information. If you only have the *.wxm file,  try saving as a *.mac file (File -->  Save As).
>
>
> --Barton
>
>
>
>    


kill(all);
assume(m>0);
N:2;
showtime:true;

f :(1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2+m^2)-m)^2/(sigma^2*rho[0,
0]))/(Pi^(3/2)*sigma*sqrt(rho[0, 0]*d)*sqrt(k[1]^2+k[2]^2+k[3]^2+m^2));

C[0] : 1/(2*Pi^(3/2)*sqrt(rho[0, 0]*d)*m*sigma);

Z[0] : f/C[0];

for j: 0 thru  N do(
d11 : diff(Z[j],k[1],2),
d22 : subst([Sigma[1,1]=S11, Sigma[2,2]=S22, k[1]=k1, k[2]=k2], d11),
d22 : subst([S11=Sigma[2,2], S22=Sigma[1,1], k1=k[2], k2=k[1]], d22),

d33 : subst([Sigma[2,2]=S22, Sigma[3,3]=S33, k[2]=k2, k[3]=k3], d22),
d33 : subst([S22=Sigma[3,3], S33=Sigma[2,2], k2=k[3], k3=k[2]], d33),
Z[j+1]   : Sigma[1,1]*d11+Sigma[2,2]*d22+Sigma[3,3]*d33,

Z0[j+1] :subst([k[1]=0,k[2]=0,k[3]=0], Z[j+1]),

Z0[j+1] : subst([Sigma[1,1]=sigma^2*rho[1], Sigma[2,2]=sigma^2*rho[2], Sigma[3,3]=sigma^2*rho[3],
                 Sigma[0,0]=sigma^2*rho[0,0]], Z0[j+1]),

C[j+1] :limit(Z0[j+1]/((j+1)!), T[0,0],0)
);

facsum(Z0[3]),m;

_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Rupert Swarbrick | 13 Jun 16:04 2012
Picon

Re: compile_file() error

Dmitry Shkirmanov <piminusmeson <at> bk.ru> writes:
> Thanks for answer, i saved file as .mac file, but maxima gives the
> same error:

> <snip>

> ; compilation aborted because of fatal error:
> ;   SB-INT:SIMPLE-READER-ERROR at 1343 (line 48, column 59) on #<SB-SYS:FD-STREAM
> ;                                                                for "file /home/ya/Downloads/maple_V_N_test.LISP"
> ;                                                                {1005E73991}>:
> ;     illegal sharp macro character: #\
> ;
> ; compilation aborted after 0:00:00.007

Ok, there's definitely a bug here. A more minimal example is a .mac file
containing just:

f :(1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2)-m)^2 / (sigma)) / (Pi^(3/2));

Chopping the definition down further doesn't seem to trigger it any
more. I haven't time to debug this more completely now, but maybe this
hint will be useful for someone else.

Rupert
_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Richard Fateman | 13 Jun 16:28 2012
Picon

Re: compile_file() error


Compiling an assignment of a symbolic expression to a name will not make 
it run faster.

You can compile a function this way:

  f (x) :=  (1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2)-m)^2 / (sigma)) 
/ (Pi^(3/2));

compile(f);

You don't need a separate file, a special command to compile files, a 
separate "compile-time"
operation, etc.  The compiler is there all the time.

You might mean %pi instead of Pi, by the way.

RJF
Rupert Swarbrick | 13 Jun 23:37 2012
Picon

Re: compile_file() error

Richard Fateman <fateman <at> eecs.berkeley.edu> writes:
> Compiling an assignment of a symbolic expression to a name will not
> make it run faster.
>
> You can compile a function this way:
>
>  f (x) :=  (1/2)*exp(-(1/4)*(sqrt(k[1]^2+k[2]^2+k[3]^2)-m)^2 /
> (sigma)) / (Pi^(3/2));
>
> compile(f);

I'm a bit confused about why you wrote this email. The message that you
appear to be replying to (although you don't quote any of it) is from me
and demonstrates the smallest cut-down example that I can make
triggering the bug in the Maxima translator.

It isn't intended to speed up anything.

Rupert
Richard Fateman | 13 Jun 15:50 2012
Picon

Re: compile_file() error

On 6/13/2012 3:53 AM, Dmitry Shkirmanov wrote:
> Hello. I am trying to learn to compile maxima files  to get the 
> maximal speed of execution.
> For first experience i am using the maple_V_N_test.wxm file that is 
> attached.
> But maxima returns an error. What i am doing wrong?
>
Most people do not compile files, but individual function definitions.
It is unlikely that any item in your file will benefit from compilation, 
since you
have not declared any types.  Even so, there is nothing to speed up other
than  the increment of the index in for j:0 thru N.   The body of the 
loop consists
of calls to functions that are already as compiled as they can be.

My suggestion is that you ignore compilation unless you are trying to do
numerical calculations, and find that it is too slow.

RJF
Robert Dodier | 13 Jun 16:16 2012
Picon

Re: compile_file() error

On 2012-06-13, Dmitry Shkirmanov <piminusmeson <at> bk.ru> wrote:

> Hello. I am trying to learn to compile maxima files  to get the maximal speed of execution.

Bear in mind that you are likely to encounter other bugs in the
Maxima->Lisp translator. Sorry about that.

> ;   SB-INT:SIMPLE-READER-ERROR at 1343 (line 48, column 59) on #<SB-SYS:FD-STREAM
> ;                                                                for "file /home/ya/Downloads/maple_V_N_test.LISP"
> ;                                                                {1005927D21}>:
> ;     illegal sharp macro character: #\

I can't tell for sure without looking at the .LISP file, but I suspect
the code generated in the .LISP file is not readable: the printing
parameters have been set so that code is not too messy for humans
looking at it. In particular, deeply nested expressions are represented
by # in the output. 

The attached patch disables such measures in the translation code. I'll
push it out for the next Maxima release (August 2012).

Thanks for bringing it to our attention.

Robert Dodier

PS.
diff --git a/src/transs.lisp b/src/transs.lisp
index 036c36f..d192f42 100644
--- a/src/transs.lisp
+++ b/src/transs.lisp
 <at>  <at>  -169,6 +169,7  <at>  <at> 
   ;; we want the thing to start with a newline..
   (newline in-stream)
   (let ((*readtable* (copy-readtable nil))
+        (*print-circle* nil) (*print-level* nil) (*print-length* nil)
        #-gcl (*print-pprint-dispatch* (copy-pprint-dispatch)))
     #-gcl
     (progn
Rupert Swarbrick | 13 Jun 13:18 2012
Picon

Re: ./configure options and speed of execution.

Dmitry Shkirmanov <piminusmeson <at> bk.ru> writes:
> Hello, list. By accident i found that maxima built from source with
> default ./configure options works very slow in comparison with maxima
> built with this(default archlinux  configure options):
>
> |  ./configure--prefix=/usr--mandir=/usr/share/man--infodir=/usr/share/info \
> 	--libexecdir=/usr/lib--enable-sbcl--with-default-lisp=sbcl
> |
>
> For example, maxima built with default configure options  needs about
> 20 seconds to run attached maple_V_N_test.wxm program. Maxima built
> with default archlinux options takes about 3 seconds to run this
> program.(Maple, needs 0.89 seconds to run this program(of course,
> program must be accordingly changed) )

Can you tell us what the configure script chooses for its options when
you go for the defaults? For example, which lisp implementation is it
using? If you could attach your config.log, we might be able to work out
what's going on more easily.

Rupert
_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Dmitry Shkirmanov | 13 Jun 13:56 2012
Picon

Re: ./configure options and speed of execution.

Can you tell us what the configure script chooses for its options when you go for the defaults? For example, which lisp implementation is it using? If you could attach your config.log, we might be able to work out

I attached both config.log files. One for default configure options, second for configure with
./configure--prefix=/usr--mandir=/usr/share/man--infodir=/usr/share/info \ --libexecdir=/usr/lib--enable-sbcl--with-default-lisp=sbcl
Dmitry Shkirmanov <piminusmeson <at> bk.ru> writes:
Hello, list. By accident i found that maxima built from source with default ./configure options works very slow in comparison with maxima built with this(default archlinux configure options): | ./configure--prefix=/usr--mandir=/usr/share/man--infodir=/usr/share/info \ --libexecdir=/usr/lib--enable-sbcl--with-default-lisp=sbcl | For example, maxima built with default configure options needs about 20 seconds to run attached maple_V_N_test.wxm program. Maxima built with default archlinux options takes about 3 seconds to run this program.(Maple, needs 0.89 seconds to run this program(of course, program must be accordingly changed) )
_______________________________________________ Maxima mailing list Maxima <at> math.utexas.edu http://www.math.utexas.edu/mailman/listinfo/maxima

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--libexecdir=/usr/lib --enable-sbcl --with-default-lisp=sbcl

## --------- ##
## Platform. ##
## --------- ##

hostname = debian
uname -m = x86_64
uname -r = 3.2.0-0.bpo.2-amd64
uname -s = Linux
uname -v = #1 SMP Sun Jun 3 21:40:57 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
PATH: /home/ya/myzapusk

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1334: checking for a BSD-compatible install
configure:1389: result: /usr/bin/install -c
configure:1400: checking whether build environment is sane
configure:1443: result: yes
configure:1508: checking for gawk
configure:1524: found /usr/bin/gawk
configure:1534: result: gawk
configure:1544: checking whether make sets $(MAKE)
configure:1564: result: yes
configure:1735: checking for git
configure:1751: found /usr/bin/git
configure:1762: result: true
configure:1780: result: git describe failed so let VERSION be 5.27.0
configure:1795: checking for emacs
configure:1811: found /usr/bin/emacs
configure:1821: result: emacs
configure:1845: checking where .elc files should go
configure:1858: $EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq
load-path (cdr load-path)))' </dev/null >conftest.out
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50asymptote.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50git-core.el (source)...
Loading /etc/emacs/site-start.d/50global.el (source)...
Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
Loading /etc/emacs/site-start.d/50lilypond-data.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Loading /etc/emacs/site-start.d/50slime.el (source)...
Loading /usr/share/emacs23/site-lisp/slime/slime-autoloads.elc...
configure:1861: $? = 0
configure:1874: result: ${datadir}/emacs/site-lisp
configure:1888: checking build system type
configure:1906: result: x86_64-unknown-linux-gnu
configure:1914: checking host system type
configure:1928: result: x86_64-unknown-linux-gnu
configure:2364: checking for sbcl
configure:2380: found /usr/bin/sbcl
configure:2391: result: true
configure:2401: checking for sbcl
configure:2428: result: true
configure:3068: checking for iconv
configure:3084: found /usr/bin/iconv
configure:3095: result: true
configure:3104: checking for recode
configure:3131: result: false
configure:3851: checking POSIX shell to see that it contains getopts
configure:3872: result: POSIX shell is /bin/sh
configure:3917: checking for egrep
configure:3927: result: grep -E
configure:4217: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on debian

config.status:792: creating maxima-local
config.status:792: creating xmaxima-local
config.status:792: creating src/share-subdirs.lisp
config.status:792: creating Makefile
config.status:792: creating maxima.spec
config.status:792: creating maxima.iss
config.status:792: creating admin/Makefile
config.status:792: creating src/Makefile
config.status:792: creating src/maxima
config.status:792: creating src/maxima.bat
config.status:792: creating src/rmaxima
config.status:792: creating src/autoconf-variables.lisp
config.status:792: creating lisp-utils/Makefile
config.status:792: creating tests/Makefile
config.status:792: creating doc/Makefile
config.status:792: creating doc/emaxima/Makefile
config.status:792: creating doc/info/Makefile
config.status:792: creating doc/info/include-maxima.texi
config.status:792: creating doc/info/de/Makefile
config.status:792: creating doc/info/de.utf8/Makefile
config.status:792: creating doc/info/es/Makefile
config.status:792: creating doc/info/es.utf8/Makefile
config.status:792: creating doc/info/pt/Makefile
config.status:792: creating doc/info/pt.utf8/Makefile
config.status:792: creating doc/info/pt_BR/Makefile
config.status:792: creating doc/info/pt_BR.utf8/Makefile
config.status:792: creating doc/intromax/Makefile
config.status:792: creating doc/man/Makefile
config.status:792: creating doc/man/maxima.1
config.status:792: creating doc/man/ru/maxima.1
config.status:792: creating doc/share/Makefile
config.status:792: creating interfaces/Makefile
config.status:792: creating interfaces/emacs/Makefile
config.status:792: creating interfaces/emacs/emaxima/Makefile
config.status:792: creating interfaces/emacs/imaxima/Makefile
config.status:792: creating interfaces/emacs/misc/Makefile
config.status:792: creating interfaces/xmaxima/Makefile
config.status:792: creating interfaces/xmaxima/autoconf-variables.tcl
config.status:792: creating interfaces/xmaxima/Tkmaxima/Header.tcl
config.status:792: creating interfaces/xmaxima/doc/Makefile
config.status:792: creating interfaces/xmaxima/doc/figures/Makefile
config.status:792: creating interfaces/xmaxima/msgs/Makefile
config.status:792: creating interfaces/xmaxima/win32/Makefile
config.status:792: creating plotting/mgnuplot
config.status:792: creating share/Makefile
config.status:792: creating demo/Makefile
config.status:792: creating plotting/Makefile
config.status:792: creating locale/Makefile
config.status:792: creating src/lisp

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_EMACSLOADPATH_set=
ac_cv_env_EMACSLOADPATH_value=
ac_cv_env_EMACS_set=
ac_cv_env_EMACS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_EMACS=emacs
ac_cv_prog_egrep='grep -E'
ac_cv_prog_git_found=true
ac_cv_prog_iconv_found=true
ac_cv_prog_make_make_set=yes
ac_cv_prog_recode_found=false
ac_cv_prog_sbcl_found=true
am_cv_lispdir='${datadir}/emacs/site-lisp'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/ya/mylibs/source/maxima-5.27.0/missing --run aclocal-1.9'
ACL_FALSE=''
ACL_NAME='lisp'
ACL_TRUE='#'
AMTAR='${SHELL} /home/ya/mylibs/source/maxima-5.27.0/missing --run tar'
AUTOCONF='${SHELL} /home/ya/mylibs/source/maxima-5.27.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/ya/mylibs/source/maxima-5.27.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/ya/mylibs/source/maxima-5.27.0/missing --run automake-1.9'
AWK='gawk'
CLISP_FALSE=''
CLISP_NAME='clisp'
CLISP_RUNTIME='lisp.run'
CLISP_RUNTIME_PATH=''
CLISP_TRUE='#'
CMUCL_EXEC='false'
CMUCL_EXEC_FALSE=''
CMUCL_EXEC_TRUE='#'
CMUCL_FALSE=''
CMUCL_NAME='lisp'
CMUCL_RUNTIME='lisp'
CMUCL_RUNTIME_PATH=''
CMUCL_TRUE='#'
CYGPATH_W='echo'
DEFAULTLISP='sbcl'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"maxima\" -DVERSION=\"5.27.0\" '
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ECL_FALSE=''
ECL_NAME='ecl'
ECL_TRUE='#'
EGREP='grep -E'
EMACS='emacs'
EMACSLOADPATH=''
ENABLE_GETTEXT_FALSE=''
ENABLE_GETTEXT_TRUE='#'
GCL_ALT_LINK_FALSE=''
GCL_ALT_LINK_TRUE='#'
GCL_FALSE=''
GCL_NAME='gcl'
GCL_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LANG_DE_FALSE=''
LANG_DE_TRUE='#'
LANG_DE_UTF8_FALSE=''
LANG_DE_UTF8_TRUE='#'
LANG_ES_FALSE=''
LANG_ES_TRUE='#'
LANG_ES_UTF8_FALSE=''
LANG_ES_UTF8_TRUE='#'
LANG_PT_BR_FALSE=''
LANG_PT_BR_TRUE='#'
LANG_PT_BR_UTF8_FALSE=''
LANG_PT_BR_UTF8_TRUE='#'
LANG_PT_FALSE=''
LANG_PT_TRUE='#'
LANG_PT_UTF8_FALSE=''
LANG_PT_UTF8_TRUE='#'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/ya/mylibs/source/maxima-5.27.0/missing --run makeinfo'
OPENMCL_FALSE=''
OPENMCL_NAME='openmcl'
OPENMCL_TRUE='#'
PACKAGE='maxima'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSIX_SHELL='/bin/sh'
SBCL_FALSE='#'
SBCL_NAME='sbcl'
SBCL_TRUE=''
SCL_FALSE=''
SCL_NAME='scl'
SCL_RUNTIME='lisp'
SCL_RUNTIME_PATH=''
SCL_TRUE='#'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_RECODE_FALSE=''
USE_RECODE_TRUE='#'
VERSION='5.27.0'
WIN32_FALSE=''
WIN32_TRUE='#'
WISH='wish'
ac_ct_STRIP=''
acl_found=''
am__leading_dot='.'
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
clisp_found=''
cmucl_found=''
datadir='${prefix}/share'
default_layout_autotools='true'
default_sharedirs='"affine" "algebra" "algebra/charsets" "algebra/solver" "amatrix" "bernstein"
"calculus" "cobyla" "cobyla/ex" "cobyla/lisp" "colnew" "colnew/lisp" "combinatorics" "contrib"
"contrib/Grobner" "contrib/Zeilberger" "contrib/altsimp" "contrib/bitwise" "contrib/boolsimp"
"contrib/diffequations" "contrib/diffequations/tests" "contrib/format" "contrib/fresnel"
"contrib/gentran" "contrib/gentran/man" "contrib/gentran/test" "contrib/gf"
"contrib/integration" "contrib/levin" "contrib/lurkmathml" "contrib/maximaMathML"
"contrib/mcclim" "contrib/namespaces" "contrib/noninteractive" "contrib/prim" "contrib/rand"
"contrib/rkf45" "contrib/sarag" "contrib/state" "contrib/unit" "contrib/vector3d"
"descriptive" "diff_form" "diffequations" "distrib" "draw" "dynamics" "ezunits" "finance"
"fourier_elim" "fractals" "graphs" "hypergeometric" "integequations" "integer_sequence"
"integration" "lapack" "lapack/blas" "lapack/lapack" "lbfgs" "linearalgebra" "lsquares" "macro"
"matrix" "minpack" "minpack/lisp" "misc" "mnewton" "multiadditive" "numeric" "numericalio"
"orthopoly" "pdiff" "physics" "simplex" "simplex/Tests" "simplification" "solve_rat_ineq"
"solve_rec" "stats" "stringproc" "sym" "tensor" "to_poly_solve" "trigonometry" "utils" "vector"
"z_transform" '
ecl_found=''
exec_prefix='${prefix}'
expanded_datadir='/usr/share'
expanded_exec_prefix='/usr'
expanded_infodir='/usr/share/info'
expanded_libdir='/usr/lib'
expanded_libexecdir='/usr/lib'
expanded_top_srcdir='/home/ya/mylibs/source/maxima-5.27.0'
gcl_found=''
git_found='true'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
iconv_found='true'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/home/ya/mylibs/source/maxima-5.27.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='/usr/lib'
lispdir='${datadir}/emacs/site-lisp'
localstatedir='${prefix}/var'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
openmcl_found=''
prefix='/usr'
program_transform_name='s,x,x,'
recode_found='false'
sbcl_found='true'
sbindir='${exec_prefix}/sbin'
scl_found=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
win32='false'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "maxima"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "5.27.0"

configure: exit 0
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = debian
uname -m = x86_64
uname -r = 3.2.0-0.bpo.2-amd64
uname -s = Linux
uname -v = #1 SMP Sun Jun 3 21:40:57 UTC 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
PATH: /home/ya/myzapusk

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1334: checking for a BSD-compatible install
configure:1389: result: /usr/bin/install -c
configure:1400: checking whether build environment is sane
configure:1443: result: yes
configure:1508: checking for gawk
configure:1524: found /usr/bin/gawk
configure:1534: result: gawk
configure:1544: checking whether make sets $(MAKE)
configure:1564: result: yes
configure:1735: checking for git
configure:1751: found /usr/bin/git
configure:1762: result: true
configure:1780: result: git describe failed so let VERSION be 5.27.0
configure:1795: checking for emacs
configure:1811: found /usr/bin/emacs
configure:1821: result: emacs
configure:1845: checking where .elc files should go
configure:1858: $EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq
load-path (cdr load-path)))' </dev/null >conftest.out
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50asymptote.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50git-core.el (source)...
Loading /etc/emacs/site-start.d/50global.el (source)...
Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)...
Loading /etc/emacs/site-start.d/50lilypond-data.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Loading /etc/emacs/site-start.d/50slime.el (source)...
Loading /usr/share/emacs23/site-lisp/slime/slime-autoloads.elc...
configure:1861: $? = 0
configure:1874: result: ${datadir}/emacs/site-lisp
configure:1888: checking build system type
configure:1906: result: x86_64-unknown-linux-gnu
configure:1914: checking host system type
configure:1928: result: x86_64-unknown-linux-gnu
configure:3068: checking for iconv
configure:3084: found /usr/bin/iconv
configure:3095: result: true
configure:3104: checking for recode
configure:3131: result: false
configure:3165: checking for clisp
configure:3181: found /usr/bin/clisp
configure:3192: result: true
configure:3201: checking for gcl
configure:3228: result: false
configure:3237: checking for lisp
configure:3264: result: false
configure:3273: checking for scl
configure:3300: result: false
configure:3309: checking for sbcl
configure:3325: found /usr/bin/sbcl
configure:3336: result: true
configure:3345: checking for lisp
configure:3372: result: false
configure:3381: checking for openmcl
configure:3408: result: false
configure:3417: checking for ecl
configure:3444: result: false
configure:3851: checking POSIX shell to see that it contains getopts
configure:3872: result: POSIX shell is /bin/sh
configure:3917: checking for egrep
configure:3927: result: grep -E
configure:4217: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on debian

config.status:792: creating maxima-local
config.status:792: creating xmaxima-local
config.status:792: creating src/share-subdirs.lisp
config.status:792: creating Makefile
config.status:792: creating maxima.spec
config.status:792: creating maxima.iss
config.status:792: creating admin/Makefile
config.status:792: creating src/Makefile
config.status:792: creating src/maxima
config.status:792: creating src/maxima.bat
config.status:792: creating src/rmaxima
config.status:792: creating src/autoconf-variables.lisp
config.status:792: creating lisp-utils/Makefile
config.status:792: creating tests/Makefile
config.status:792: creating doc/Makefile
config.status:792: creating doc/emaxima/Makefile
config.status:792: creating doc/info/Makefile
config.status:792: creating doc/info/include-maxima.texi
config.status:792: creating doc/info/de/Makefile
config.status:792: creating doc/info/de.utf8/Makefile
config.status:792: creating doc/info/es/Makefile
config.status:792: creating doc/info/es.utf8/Makefile
config.status:792: creating doc/info/pt/Makefile
config.status:792: creating doc/info/pt.utf8/Makefile
config.status:792: creating doc/info/pt_BR/Makefile
config.status:792: creating doc/info/pt_BR.utf8/Makefile
config.status:792: creating doc/intromax/Makefile
config.status:792: creating doc/man/Makefile
config.status:792: creating doc/man/maxima.1
config.status:792: creating doc/man/ru/maxima.1
config.status:792: creating doc/share/Makefile
config.status:792: creating interfaces/Makefile
config.status:792: creating interfaces/emacs/Makefile
config.status:792: creating interfaces/emacs/emaxima/Makefile
config.status:792: creating interfaces/emacs/imaxima/Makefile
config.status:792: creating interfaces/emacs/misc/Makefile
config.status:792: creating interfaces/xmaxima/Makefile
config.status:792: creating interfaces/xmaxima/autoconf-variables.tcl
config.status:792: creating interfaces/xmaxima/Tkmaxima/Header.tcl
config.status:792: creating interfaces/xmaxima/doc/Makefile
config.status:792: creating interfaces/xmaxima/doc/figures/Makefile
config.status:792: creating interfaces/xmaxima/msgs/Makefile
config.status:792: creating interfaces/xmaxima/win32/Makefile
config.status:792: creating plotting/mgnuplot
config.status:792: creating share/Makefile
config.status:792: creating demo/Makefile
config.status:792: creating plotting/Makefile
config.status:792: creating locale/Makefile
config.status:792: creating src/lisp

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_EMACSLOADPATH_set=
ac_cv_env_EMACSLOADPATH_value=
ac_cv_env_EMACS_set=
ac_cv_env_EMACS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_EMACS=emacs
ac_cv_prog_acl_found=false
ac_cv_prog_clisp_found=true
ac_cv_prog_cmucl_found=false
ac_cv_prog_ecl_found=false
ac_cv_prog_egrep='grep -E'
ac_cv_prog_gcl_found=false
ac_cv_prog_git_found=true
ac_cv_prog_iconv_found=true
ac_cv_prog_make_make_set=yes
ac_cv_prog_openmcl_found=false
ac_cv_prog_recode_found=false
ac_cv_prog_sbcl_found=true
ac_cv_prog_scl_found=false
am_cv_lispdir='${datadir}/emacs/site-lisp'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/ya/Downloads/maxima-5.27.0/missing --run aclocal-1.9'
ACL_FALSE=''
ACL_NAME='lisp'
ACL_TRUE='#'
AMTAR='${SHELL} /home/ya/Downloads/maxima-5.27.0/missing --run tar'
AUTOCONF='${SHELL} /home/ya/Downloads/maxima-5.27.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/ya/Downloads/maxima-5.27.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/ya/Downloads/maxima-5.27.0/missing --run automake-1.9'
AWK='gawk'
CLISP_FALSE='#'
CLISP_NAME='clisp'
CLISP_RUNTIME='lisp.run'
CLISP_RUNTIME_PATH='/usr/lib/clisp-2.48/base/lisp.run'
CLISP_TRUE=''
CMUCL_EXEC='false'
CMUCL_EXEC_FALSE=''
CMUCL_EXEC_TRUE='#'
CMUCL_FALSE=''
CMUCL_NAME='lisp'
CMUCL_RUNTIME='lisp'
CMUCL_RUNTIME_PATH=''
CMUCL_TRUE='#'
CYGPATH_W='echo'
DEFAULTLISP='clisp'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"maxima\" -DVERSION=\"5.27.0\" '
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ECL_FALSE=''
ECL_NAME='ecl'
ECL_TRUE='#'
EGREP='grep -E'
EMACS='emacs'
EMACSLOADPATH=''
ENABLE_GETTEXT_FALSE=''
ENABLE_GETTEXT_TRUE='#'
GCL_ALT_LINK_FALSE=''
GCL_ALT_LINK_TRUE='#'
GCL_FALSE=''
GCL_NAME='gcl'
GCL_TRUE='#'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LANG_DE_FALSE=''
LANG_DE_TRUE='#'
LANG_DE_UTF8_FALSE=''
LANG_DE_UTF8_TRUE='#'
LANG_ES_FALSE=''
LANG_ES_TRUE='#'
LANG_ES_UTF8_FALSE=''
LANG_ES_UTF8_TRUE='#'
LANG_PT_BR_FALSE=''
LANG_PT_BR_TRUE='#'
LANG_PT_BR_UTF8_FALSE=''
LANG_PT_BR_UTF8_TRUE='#'
LANG_PT_FALSE=''
LANG_PT_TRUE='#'
LANG_PT_UTF8_FALSE=''
LANG_PT_UTF8_TRUE='#'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/ya/Downloads/maxima-5.27.0/missing --run makeinfo'
OPENMCL_FALSE=''
OPENMCL_NAME='openmcl'
OPENMCL_TRUE='#'
PACKAGE='maxima'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
POSIX_SHELL='/bin/sh'
SBCL_FALSE=''
SBCL_NAME='sbcl'
SBCL_TRUE='#'
SCL_FALSE=''
SCL_NAME='scl'
SCL_RUNTIME='lisp'
SCL_RUNTIME_PATH=''
SCL_TRUE='#'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_RECODE_FALSE=''
USE_RECODE_TRUE='#'
VERSION='5.27.0'
WIN32_FALSE=''
WIN32_TRUE='#'
WISH='wish'
ac_ct_STRIP=''
acl_found='false'
am__leading_dot='.'
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
clisp_found='true'
cmucl_found='false'
datadir='${prefix}/share'
default_layout_autotools='true'
default_sharedirs='"affine" "algebra" "algebra/charsets" "algebra/solver" "amatrix" "bernstein"
"calculus" "cobyla" "cobyla/ex" "cobyla/lisp" "colnew" "colnew/lisp" "combinatorics" "contrib"
"contrib/Grobner" "contrib/Zeilberger" "contrib/altsimp" "contrib/bitwise" "contrib/boolsimp"
"contrib/diffequations" "contrib/diffequations/tests" "contrib/format" "contrib/fresnel"
"contrib/gentran" "contrib/gentran/man" "contrib/gentran/test" "contrib/gf"
"contrib/integration" "contrib/levin" "contrib/lurkmathml" "contrib/maximaMathML"
"contrib/mcclim" "contrib/namespaces" "contrib/noninteractive" "contrib/prim" "contrib/rand"
"contrib/rkf45" "contrib/sarag" "contrib/state" "contrib/unit" "contrib/vector3d"
"descriptive" "diff_form" "diffequations" "distrib" "draw" "dynamics" "ezunits" "finance"
"fourier_elim" "fractals" "graphs" "hypergeometric" "integequations" "integer_sequence"
"integration" "lapack" "lapack/blas" "lapack/lapack" "lbfgs" "linearalgebra" "lsquares" "macro"
"matrix" "minpack" "minpack/lisp" "misc" "mnewton" "multiadditive" "numeric" "numericalio"
"orthopoly" "pdiff" "physics" "simplex" "simplex/Tests" "simplification" "solve_rat_ineq"
"solve_rec" "stats" "stringproc" "sym" "tensor" "to_poly_solve" "trigonometry" "utils" "vector"
"z_transform" '
ecl_found='false'
exec_prefix='${prefix}'
expanded_datadir='/usr/local/share'
expanded_exec_prefix='/usr/local'
expanded_infodir='/usr/local/info'
expanded_libdir='/usr/local/lib'
expanded_libexecdir='/usr/local/libexec'
expanded_top_srcdir='/home/ya/Downloads/maxima-5.27.0'
gcl_found='false'
git_found='true'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
iconv_found='true'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/ya/Downloads/maxima-5.27.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
lispdir='${datadir}/emacs/site-lisp'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
openmcl_found='false'
prefix='/usr/local'
program_transform_name='s,x,x,'
recode_found='false'
sbcl_found='true'
sbindir='${exec_prefix}/sbin'
scl_found='false'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
win32='false'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "maxima"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "5.27.0"

configure: exit 0
_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Rupert Swarbrick | 13 Jun 14:24 2012
Picon

Re: ./configure options and speed of execution.

Dmitry Shkirmanov <piminusmeson <at> bk.ru> writes:
>>
>> Can you tell us what the configure script chooses for its options when
>> you go for the defaults? For example, which lisp implementation is it
>> using? If you could attach your config.log, we might be able to work out
>>    
>
> I attached both config.log files. One for default configure options,
> second for configure with
>
> ./configure--prefix=/usr--mandir=/usr/share/man--infodir=/usr/share/info \
> 	--libexecdir=/usr/lib--enable-sbcl--with-default-lisp=sbcl

Great, thanks. It seems that without hints to do otherwise, the
configure script uses clisp as the lisp implementation. I note that in
README.lisps, we have the following:

> Comparison of execution times for the run_testsuite function
> All times are in elapsed seconds
>
> Maxima      System                  GCL     SBCL    CMUCL   Clisp
>
> pre-5.9.3   P2 450 MHz, Linux        75      91              301

Maxima devs: Is there a good reason to use Clisp as the default on Linux
boxes? Maybe we could switch to GCL or SBCL (I'd prefer the latter)

Rupert
_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Robert Dodier | 13 Jun 16:22 2012
Picon

Re: ./configure options and speed of execution.

On 2012-06-13, Rupert Swarbrick <rswarbrick <at> gmail.com> wrote:

> Maxima devs: Is there a good reason to use Clisp as the default on Linux
> boxes? Maybe we could switch to GCL or SBCL (I'd prefer the latter)

Well, the default choice should be one which is widely available,
stable, lacking idiosyncrasies, etc. If you would like to survey the
Lisp world and identify an alternative to Clisp, by all means, please go
ahead. I am willing to second the motion if you are willing to do the
work.

best

Robert Dodier
Stavros Macrakis | 13 Jun 16:39 2012
Picon

Re: ./configure options and speed of execution.

I second Robert's comment.  Speed is only one consideration among many.  Correctness, error recovery, quality of debugging tools, availability of useful functionality (notably FFI), etc. etc. are all more important. 

For that matter, speed can be measured in many different ways -- speed of large symbolic calculations, speed of (compiled) numerical calculations, interactive responsiveness, speed of graphing functions interactively, etc.  For the vast majority of our users (even power users), I am pretty sure that any of the supported versions is fast enough.  Showing that version A is 3x faster on a benchmark than version B doesn't mean that the user experience is any better on version A.

              -s


On Wed, Jun 13, 2012 at 10:22 AM, Robert Dodier <robert.dodier <at> gmail.com> wrote:
On 2012-06-13, Rupert Swarbrick <rswarbrick <at> gmail.com> wrote:

> Maxima devs: Is there a good reason to use Clisp as the default on Linux
> boxes? Maybe we could switch to GCL or SBCL (I'd prefer the latter)

Well, the default choice should be one which is widely available,
stable, lacking idiosyncrasies, etc. If you would like to survey the
Lisp world and identify an alternative to Clisp, by all means, please go
ahead. I am willing to second the motion if you are willing to do the
work.

best

Robert Dodier

_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima

_______________________________________________
Maxima mailing list
Maxima <at> math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
Alexander Klimov | 13 Jun 17:10 2012
Picon

Re: ./configure options and speed of execution.

On Wed, 13 Jun 2012, Robert Dodier wrote:
> > Maxima devs: Is there a good reason to use Clisp as the default on Linux
> > boxes? Maybe we could switch to GCL or SBCL (I'd prefer the latter)
> 
> Well, the default choice should be one which is widely available,
> stable, lacking idiosyncrasies, etc.

Apparently SBCL is more "popular":

<https://encrypted.google.com/search?hl=en&q=...>
 SBCL lisp	1,200,000 results
 CMUCL lisp	466,000 results
 CLISP lisp	450,000 results
 GCL lisp	108,000 results
 ECL lisp	19,500 results

and (at least for me) Maxima in SBCL seems to crash less often than in GCL. 

The latest stable release of GCL was in 2005, while SBCL is actively 
maintained, so I guess that (at least on Linux) the order to try 
should be SBCL, CLISP, GCL.

--

-- 
Regards,
ASK
David Billinghurst | 7 Jun 23:24 2012
Picon

Re: limit of series

On 8/06/2012 2:54 AM, Adam Majewski wrote:
> Hi,
>
> I have a series of values which seems to converge to some values.
> Is it possible to find its limit ?
>
> like limit( series) ?
>
> I can take minimal value here, but maybe is better solution.
>
You could try using a Levin transform.

Have a look at the (undocumented) share package share/contrib/levin.  
These often benefit from extended precision, so try the bfloat version too.

Gmane