Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Scans a .mbox email file and reports back the frequency of words.
# scans a .mbox email file and reports back the frequency of words
import mailbox
import re
from multiprocessing import Pool
mbox = mailbox.mbox('sample.maxima.mbox')
def main():
searchlist = ['advisor','adviser','the']
print '(term,total_emails,email_count,term_count)'
if True:
p = Pool(2)
outlist = p.map(scanmsg, searchlist)
print outlist
else:
for search in searchlist:
print scanmsg(search)
def scanmsg(term):
from collections import Counter
total_emails = 0 # total emails searched
term_count = 0 # total count of term (can be more than the # of emails)
email_count = 0 # count of emails that include term
for message in mbox:
total_emails += 1
text = str(message.get_payload())
get_count = re.split(r'[^0-9A-Za-z]+',text.lower()).count(term)
if get_count > 0:
term_count += get_count
email_count += 1
return term,total_emails,email_count,term_count
if __name__ == '__main__':
import time
start_time = time.clock()
main() # run the whole thing
print round(time.clock() - start_time,2),'seconds'
From amundson@fnal.gov Thu Apr 12 13:32:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3CIWQM01328
for <maxima@math.utexas.edu>; Thu, 12 Apr 2001 13:32:26 -0500
Received: from abacus.fnal.gov (IDENT:root@abacus.fnal.gov [131.225.84.108])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id NAA04064
for <maxima@www.ma.utexas.edu>; Thu, 12 Apr 2001 13:32:25 -0500
Received: from abacus.fnal.gov (IDENT:amundson@abacus.dhcp.fnal.gov [127.0.0.1])
by abacus.fnal.gov (8.11.0/8.11.0) with SMTP id f3CIWOI09754
for <maxima@www.math.utexas.edu>; Thu, 12 Apr 2001 13:32:24 -0500
Date: Thu, 12 Apr 2001 13:32:24 -0500
Message-Id: <200104121832.f3CIWOI09754@abacus.fnal.gov>
User-Agent: Pan/0.9.6 (Unix)
From: "James Amundson" <amundson@fnal.gov>
To: maxima@www.ma.utexas.edu
References: <9auiro$t04$3@nets3.rz.RWTH-Aachen.DE> <cs9hezxrlz7.fsf@Tempo.Update.UU.SE> <9av03j$ano$1@nets3.rz.RWTH-Aachen.DE> <y6cbsq4swbp.fsf@octagon.mrl.nyu.edu> <80snjgelew.fsf@localhost.localdomain> <3AD5DE10.B3D3BB6E@cs.berkeley.edu>
Subject: [Maxima] Re: gcl compile
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
[This is an email copy of a Usenet post to "comp.lang.lisp"]
In article <3AD5DE10.B3D3BB6E@cs.berkeley.edu>, "Richard Fateman"
<fateman@cs.berkeley.edu> wrote:
> Certainly the details of the
> interaction between the Maxima source and GCL tend to be better debugged since
> Bill Schelter can change either one.
Right. Furthermore, I am sure maxima is much better tested under gcl than any
other lisp. There can't be very many people using maxima with a lisp other than
gcl -- it required quite a bit of effort to do so until recently.
> If "better" means "can run faster" or
> "is more reliable" or "is more convenient to debug" or "is smaller" then it is
> not obvious how other lisps might compare.
Exactly. I'll bet clisp is the slowest choice, but it has GNU readline support,
which makes it about 1000 times more comfortable to use from the command line.
Is that "better"?
> I would be interested in seeing
> some benchmarks
As would I. It would be great to produce a reasonable benchmarking suite for
maxima.
>. Schelter provides a test suite, which could be used as a
> basis for comparison, though simple speed tests are easy to set up. e.g.
> (showtime:all, ratsimp((a+b+c+d+1)^15) )$ or some variant of that.
Hey! There's a fun game. I tried your simple test on my 800 MHz Linux machine.
The results are appended at the end of this message. Unfortunately, I'm a very bad
benchmarker: I used different versions of maxima with each lisp implementation.
(5.4 with GCL, 5.5 current cvs with CMU and 5.5 cvs as of a few weeks ago with
Clisp.) I also don't have the most recent versions of GCL and Clisp. If I had a
more realistic benchmark I would try a better test.
> I think Schelter is doing a great public service making Maxima available
> free.
Yes. He deserves a great deal of credit.
--Jim Amundson
The timings. Notice that I used (a+b+c+d+1)^35 instead of (a+b+c+d+1)^15; the
latter was too quick.
Please see the above text for disclaimers as to why this is a bad comparison.
GCL:
---------------------------------------------
|abacus>maxima
GCL (GNU Common Lisp) Version(2.3) Tue Mar 21 14:15:15 CST 2000
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Loading init.lsp
Finished loading init.lsp
Maxima 5.4 Tue Mar 21 14:14:45 CST 2000 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) (showtime:all,ratsimp((a+b+c+d+1)^35 ))$
Evaluation took 11.03 seconds (11.53 elapsed)
---------------------------------------------
Clisp:
---------------------------------------------
|abacus>clisp -M maxima-clisp.mem
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8
Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999
Maxima 5.5 Tue Feb 27 21:46:20 CST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
Evaluation took 13.23 seconds (13.47 elapsed)
---------------------------------------------
|
CMUCL:
|---------------------------------------------
|abacus>lisp -core maxima.core
CMU Common Lisp 18c, running on abacus.fnal.gov
Send questions and bug reports to your local CMU CL maintainer,
or to cmucl-help@cons.org. and cmucl-imp@cons.org. respectively.
Loaded subsystems:
Python 1.0, target Intel x86
CLOS based on PCL version: September 16 92 PCL (f)
Warning: These variables are undefined:
MAXIMA::$FILE_SEARCH_DEMO MAXIMA::$FILE_SEARCH_LISP
MAXIMA::$FILE_SEARCH_MAXIMA MAXIMA::$FILE_SEARCH_USAGE
/apps/gnu/src/regex-0.12/regex.o not found .. skipping regexp stuff for describeMaxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
Evaluation took 4.54 seconds (4.99 elapsed)
---------------------------------------------
From wfs@mail.ma.utexas.edu Thu Apr 12 14:25:47 2001
Received: from sonia.ma.utexas.edu (root@sonia.ma.utexas.edu [128.83.133.239])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3CJPlM04029
for <maxima@mail.ma.utexas.edu>; Thu, 12 Apr 2001 14:25:47 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id OAA06941;
Thu, 12 Apr 2001 14:25:06 -0500
Date: Thu, 12 Apr 2001 14:25:06 -0500
Message-Id: <200104121925.OAA06941@sonia.ma.utexas.edu>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to wfs@sonia.ma.utexas.edu using -f
From: Bill Schelter <wfs@math.utexas.edu>
To: Juergen.Breitlow@Neumann.com
cc: maxima@mail.ma.utexas.edu
In-reply-to: <OFA827C23E.1F22828D-ONC1256A2B.0029CC7C@privat.sennheiser.net>
(Juergen.Breitlow@Neumann.com)
Reply-to: wfs@math.utexas.edu
Content-Type: text/plain;charset="koi8-r"
References: <OFA827C23E.1F22828D-ONC1256A2B.0029CC7C@privat.sennheiser.net>
Subject: [Maxima] Re: Maxima 5.5 for WinNT question
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
From: Juergen.Breitlow@Neumann.com:
1. On the web site you write that there is an postscript and dvi version of
the documentation. Where can I find it?
I have put links to the dvi and pdf version of the Maxima manual on
the web page http://www.ma.utexas.edu/maxima.html
I have also made a link to the latest snapshot of the sources which
will be updated daily.
http://www.ma.utexas.edu/users/wfs/maxima-src-snapshot.tgz
2. The Windows interface preferences does not save proxy settings. Is this
disabled at the moment?
The proxy settings should be saved along with your font preferences
etc, if you do 'save' when in the file->preferences menu they are
saved in "~/netmath.ini". I am not sure how tcl/tk interprets that
under different window platforms.
3. In the src directory I found mactex.lisp . Is there a similar package
available for C/C++ or standard text output for use with Excel or similar
programs?
Not that I know of. There is output for fortran. It should be
relatively easy to write such an output function though, and a good
idea to do.
From fateman@cs.berkeley.edu Fri Apr 13 11:03:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DG3sM18200
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 11:03:54 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA27856
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 11:03:54 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id JAA27887;
Fri, 13 Apr 2001 09:03:52 -0700 (PDT)
Message-ID: <3AD72368.2F36B2DD@cs.berkeley.edu>
Date: Fri, 13 Apr 2001 09:03:52 -0700
From: Richard Fateman <fateman@cs.berkeley.edu>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: James Amundson <amundson@fnal.gov>
CC: maxima@www.ma.utexas.edu
Subject: Re: [Maxima] Re: gcl compile
References: <9auiro$t04$3@nets3.rz.RWTH-Aachen.DE> <cs9hezxrlz7.fsf@Tempo.Update.UU.SE> <9av03j$ano$1@nets3.rz.RWTH-Aachen.DE> <y6cbsq4swbp.fsf@octagon.mrl.nyu.edu> <80snjgelew.fsf@localhost.localdomain> <3AD5DE10.B3D3BB6E@cs.berkeley.edu> <200104121832.f3CIWOI09754@abacus.fnal.gov>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
James Amundson wrote:
>
>
> Hey! There's a fun game. I tried your simple test on my 800 MHz Linux machine.
>
> GCL:
> (C1) (showtime:all,ratsimp((a+b+c+d+1)^35 ))$
> Evaluation took 11.03 seconds (11.53 elapsed)
>
> Clisp:
> (C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
> Evaluation took 13.23 seconds (13.47 elapsed)
> |
> CMUCL:
>
> (C1) (showtime:all,ratsimp((a+b+c+d+1)^35))$
>
> Evaluation took 4.54 seconds (4.99 elapsed)
I don't think the different versions of maxima
would influence the timing of this test.
Here is some data on my 933Mhz pentium
Mathematica
4.586 sec
commercial macsyma 4.2 compiled in Allegro Common Lisp 6.0
(code under non-disclosure agreement. I wish I could
do other things with it, but I can't...)
5.358 sec including 3.676 in garbage collection
commercial macsyma 4.2 as delivered for windows system
under CLOE.
27.149 sec including 24.794 in garbage collection
-- seemed rather slow, so I repeated it and got
even longer times, (110 sec)almost all in GC.
Maxima 5.5 (using Bill's pre-packaged release)
10.37 secs in 10.37 secs elapsed time. [this seems
consistent with James' time above]
(I suppose I should try compiling the maxima 5.5 sources
in Allegro CL, but that would take an unpredictable
amount of time, perhaps 30 minutes but maybe much
more if I have to start finding places to
conditionalize it...)
From fateman@cs.berkeley.edu Fri Apr 13 11:43:38 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DGhcM20048
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 11:43:38 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id LAA28635
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 11:43:38 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id JAA28898
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 09:43:37 -0700 (PDT)
Message-ID: <3AD72CB9.5F52AD5@cs.berkeley.edu>
Date: Fri, 13 Apr 2001 09:43:37 -0700
From: Richard Fateman <fateman@cs.berkeley.edu>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: maxima@www.ma.utexas.edu
Subject: Re: [Maxima] compiling in allegro common lisp
References: <9auiro$t04$3@nets3.rz.RWTH-Aachen.DE> <cs9hezxrlz7.fsf@Tempo.Update.UU.SE> <9av03j$ano$1@nets3.rz.RWTH-Aachen.DE> <y6cbsq4swbp.fsf@octagon.mrl.nyu.edu> <80snjgelew.fsf@localhost.localdomain> <3AD5DE10.B3D3BB6E@cs.berkeley.edu> <200104121832.f3CIWOI09754@abacus.fnal.gov> <3AD72368.2F36B2DD@cs.berkeley.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
(question, mostly for Bill, I think)
In spite of my statement earlier, I decided to try compiling Maxima in
allegro common lisp.
I downloaded the sources for maxima 5.5.
did this..
:ld sysdef.lisp
; Loading c:\maxima\maxima-5.5\src\sysdef.lisp
; Loading c:\maxima\maxima-5.5\src\make.lisp
Error: In-package may not modify an existing package; use defpackage instead.
[condition type: PACKAGE-ERROR]
==> I fixed this.. (maybe a CLTL-1 vs ANSI CL distinction?) changed
remove the :use clause from the in-package.
Here's the first item I can't figure out immediately...
CL-MACSYMA(2): :ld cl-maxima-sysdef.lisp
; Loading c:\maxima\maxima-5.5\src\cl-maxima-sysdef.lisp
Error: Package "FS" not found.
Where is FS package defined?
RJF
From wfs@mail.ma.utexas.edu Fri Apr 13 15:52:27 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DKqRM30661
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 15:52:27 -0500
Received: from sonia.ma.utexas.edu (root@sonia.ma.utexas.edu [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id PAA31816
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 15:52:27 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id PAA12938;
Fri, 13 Apr 2001 15:52:25 -0500
Date: Fri, 13 Apr 2001 15:52:25 -0500
Message-Id: <200104132052.PAA12938@sonia.ma.utexas.edu>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to wfs@sonia.ma.utexas.edu using -f
From: Bill Schelter <wfs@math.utexas.edu>
To: fateman@cs.berkeley.edu
CC: maxima@www.ma.utexas.edu
In-reply-to: <3AD72CB9.5F52AD5@cs.berkeley.edu> (message from Richard Fateman
on Fri, 13 Apr 2001 09:43:37 -0700)
Subject: Re: [Maxima] compiling in allegro common lisp
Reply-to: wfs@math.utexas.edu
Content-Type: text/plain;charset="koi8-r"
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
One thing you have to remember in running tests is how much space you
allocate.. if you allocate for example sufficient space so that there
are only a couple of garbage collections rather than 20 or 30 then
obviously you get shorter times. Maxima does not by default take
much space at startup since if you are doing small problems, or if it
is being run on a very small machine, that would be detrimental.
Normally after running for a while the space will grow, stabilizing
when the percentage collected after a gc becomes reasonable.
Below we run the little test on an 850 Mhz pentium, but first
allocating a reasonable amount of space.
Maxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
2000
(C1) (showtime:true,ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 3.12 seconds (4.01 elapsed)
(C2)
on a 400Mhz pentium II deschutes I got 5.90 seconds (elapsed 6.12) but
the 850mhz machine had another big background job running, so I was
not able to get the whole machine and hence the elapsed time exceeds
the run time.
====
All this said, the bignum code in gcl at the moment is the one from
pari, and while ok it is not really optimal. I keep meaning to put
in the gnu mp bignum stuff, which is much better. Not done yet.
========================
To richard for compiling:
1)
Try take http://www.ma.utexas.edu/users/wfs/maxima-src-snapshot.tgz
in that i have changed the sysdef.lisp to load the make.lisp first
so that your lisp cannot complain about redefinining the package.
Also there were a few other cleanup items, that the port to cmulisp
had introduced, which would have caused problems for you. Also
I note in your last report you refer to 'fs' package wanted by
'cl-maxima-sysdef' : you should not be loading that file, it was
for lisp machines way back when: you want sysdef.lisp like clisp
and cmulisp.
Ideally you make a file modelled on compile-clisp.lisp called
compile-allegro.lisp, containing the allegro'isms, and so that
you can make an entry
echo '(progn (load "compile-clisp.lisp")(compile-maxima))' | ${CLISP}
in the src/makefile
let me know if you have problems...
From fateman@cs.berkeley.edu Fri Apr 13 16:08:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DL8lM31456
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 16:08:47 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id QAA31984
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 16:08:47 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id OAA06166;
Fri, 13 Apr 2001 14:08:44 -0700 (PDT)
Message-ID: <3AD76ADC.C449359E@cs.berkeley.edu>
Date: Fri, 13 Apr 2001 14:08:44 -0700
From: Richard Fateman <fateman@cs.berkeley.edu>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: wfs@mail.ma.utexas.edu, maxima <maxima@www.ma.utexas.edu>
Subject: Re: [Maxima] compiling in allegro common lisp
References: <200104132052.PAA12938@sonia.ma.utexas.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
I agree that allocating space is going to affect
run-times significantly. However very few people who
run these programs want to know about allocation
commands and CONS cells, so it is worth something to
have the system be clever/adaptive.
What I have done in the past is
(c1)(showtime:all, ratsimp...)$
(c2) kill(all)$
but what you did is cleverer:
(showtime:all, ratsimp(), 1)$
so that label (d1) is assign the number 1, rather than some huge
expression.
Oddly enough, the macsyma inc version seems to take
longer, the 2nd time. I have to assume it is somehow keeping
memory full with useless stuff... the kill(all)$ might not
work. Perhaps the front end is still storing (d2) etc.
If we want to give bignums a workout, instead of using
(a+b+c+d+1)^35, try (1000*a+1000*b +1000*c+1000*d+1000)^35.
I don't know how GCL/PARI/GNU-MP will stack up. There are
excellent profiling tools in Allegro, so I can find out what
percentage of time is consumed by bignum arithmetic. I suspect
that many computations do not need bignums at all; the ones
that use huge bignums a lot may require more delicate treatment
than they are routinely given by a CAS interface.
I haven't tested this recently but Maple does very very well
on an example like this. But the result is not sorted in any
perceptibly ordered way. The result is kind of like a hash
table. The Maple advocates claim this is just fine for many
purposes. True, but it is not comparable. Running the Maple
sort program on the result makes Maple times comparable or
slower, I think.
Thanks for the compiling hints. i'll try again.
RJF
Bill Schelter wrote:
>
> One thing you have to remember in running tests is how much space you
> allocate.. if you allocate for example sufficient space so that there
><snip>
From fateman@cs.berkeley.edu Fri Apr 13 18:12:35 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3DNCZM03320
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 18:12:35 -0500
Received: from relay.EECS.Berkeley.EDU (relay.EECS.Berkeley.EDU [169.229.34.228])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id SAA01264
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 18:12:35 -0500
Received: from cs.berkeley.edu (windsome.CS.Berkeley.EDU [128.32.131.134])
by relay.EECS.Berkeley.EDU (8.9.3/8.9.3) with ESMTP id QAA09121;
Fri, 13 Apr 2001 16:12:33 -0700 (PDT)
Message-ID: <3AD787E1.675BC5B7@cs.berkeley.edu>
Date: Fri, 13 Apr 2001 16:12:33 -0700
From: Richard Fateman <fateman@cs.berkeley.edu>
Organization: University of California, Berkeley
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: wfs@mail.ma.utexas.edu, maxima <maxima@www.ma.utexas.edu>
CC: jkf@franz.com, Richard Fateman <fateman@cs.berkeley.edu>
Subject: Re: [Maxima] compiling in allegro common lisp: works.
References: <200104132052.PAA12938@sonia.ma.utexas.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Status: O
Here are the timing results:
(user::run)
Maxima 5.5 Fri Mar 30 11:08:06 CST 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) showtime:all;
Evaluation took 0.00 seconds (0.00 elapsed)
(D1) ALL
(C2) (a+b+c+d+1)^35;
Evaluation took 0.00 seconds (0.00 elapsed)
35
(D2) (d + c + b + a + 1)
(C3) (ratsimp(d2),1)$
Evaluation took 7.07 seconds (7.34 elapsed)
(C4) (ratsimp(d2),1)$
Evaluation took 4.96 seconds (5.00 elapsed)
(C5) (ratsimp(d2),1)$
Evaluation took 3.27 seconds (3.45 elapsed)
(C6)
....
unfortunately, there are a few glitches.
ACL is unhappy about the redefinition of //
it complains about reference to the serror package in
sys-proclaim (seems I can #-allegro comment it out?)
and I just commented out a function in spgcd
which did some array store bogosity.
I haven't figured out the dumplisp/restart
sequence which for ACL6.0 is slightly different.
You dump only a dll or dxl and then when you
start up,
you specify this file. When I do, I'll send
an compile-allegro.lisp file out.
It looks like the GCL speed and the Allegro
speed on this problem are fairly close. Since
GCL is running on a slower machine, the difference
may be in GCL's favor. (I don't know if WFS
has some GCL-only speedups in use on this task.)
RJF
From mtest@mail.ma.utexas.edu Fri Apr 13 22:44:32 2001
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3iWM11193
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:44:32 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA32653
for maxima; Fri, 13 Apr 2001 22:44:32 -0500
Date: Fri, 13 Apr 2001 22:44:32 -0500
From: mtest <mtest@math.utexas.edu>
Message-Id: <200104140344.WAA32653@linux34.ma.utexas.edu>
To: maxima@linux34.ma.utexas.edu
Subject: [Maxima] test
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
From mtest@mail.ma.utexas.edu Fri Apr 13 22:45:58 2001
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3jwM11281
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:45:58 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA32675
for maxima; Fri, 13 Apr 2001 22:45:58 -0500
Date: Fri, 13 Apr 2001 22:45:58 -0500
From: mtest <mtest@math.utexas.edu>
Message-Id: <200104140345.WAA32675@linux34.ma.utexas.edu>
To: maxima@linux34.ma.utexas.edu
Subject: [Maxima] test 2
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
From mtest@mail.ma.utexas.edu Fri Apr 13 22:52:18 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3qIM11433
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:52:18 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04780
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 22:52:17 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA32746;
Fri, 13 Apr 2001 22:52:17 -0500
Message-Id: <200104140352.WAA32746@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Boris Veytsman <boris@plmsc.psu.edu>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <ronis@gibbs.chem.mcgill.ca>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <2p715.78$_r3.43895@carnaval.risq.qc.ca>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From mtest@mail.ma.utexas.edu Fri Apr 13 22:55:03 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3t3M11510
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:55:03 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04804
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 22:55:03 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00325;
Fri, 13 Apr 2001 22:55:03 -0500
Message-Id: <200104140355.WAA00325@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Boris Veytsman <boris@plmsc.psu.edu>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <ronis@gibbs.chem.mcgill.ca>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <2p715.78$_r3.43895@carnaval.risq.qc.ca>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From wfs@mail.ma.utexas.edu Fri Apr 13 22:55:45 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3tjM11530
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:55:45 -0500
Received: from sonia.ma.utexas.edu (root@sonia.ma.utexas.edu [128.83.133.239])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04810
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 22:55:45 -0500
Received: (from wfs@localhost)
by sonia.ma.utexas.edu (8.9.3/8.9.1) id WAA16796;
Fri, 13 Apr 2001 22:55:42 -0500
Date: Fri, 13 Apr 2001 22:55:42 -0500
Message-Id: <200104140355.WAA16796@sonia.ma.utexas.edu>
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to wfs@sonia.ma.utexas.edu using -f
From: Bill Schelter <wfs@math.utexas.edu>
To: fateman@cs.berkeley.edu
CC: maxima@www.ma.utexas.edu, jkf@franz.com, fateman@cs.berkeley.edu
In-reply-to: <3AD787E1.675BC5B7@cs.berkeley.edu> (message from Richard Fateman
on Fri, 13 Apr 2001 16:12:33 -0700)
Subject: Re: [Maxima] compiling in allegro common lisp: works.
Reply-to: wfs@math.utexas.edu
Content-Type: text/plain;charset="koi8-r"
References: <200104132052.PAA12938@sonia.ma.utexas.edu> <3AD787E1.675BC5B7@cs.berkeley.edu>
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
For GCL I was able to run on an 850Mhz Pentium (linux) machine which did not
have other big jobs running, and so the time for execution is
the same as wallclock time (ie elapsed time).
Maxima 5.5 Fri Apr 6 15:15:13 CDT 2001 (with enhancements by W. Schelter).
Licensed under the GNU Public License (see file COPYING)
(C1) :lisp (progn (allocate 'cons 8000 t) (allocate 'fixnum 1000 t) (si::allocate-relocatable-pages 2000 t))
2000
(C1) (showtime:all, ratsimp((a+b+c+d+1)^35),1)$
Evaluation took 2.80 seconds (2.81 elapsed)
===========
In reference to the compiling under allegro:
it complains about reference to the serror package in
sys-proclaim (seems I can #-allegro comment it out?)
Yes certainly #-allegro it.
You dump only a dll or dxl and then when you
start up,
you specify this file. When I do, I'll send
an compile-allegro.lisp file out.
Please do!
william
From mtest@mail.ma.utexas.edu Fri Apr 13 22:56:08 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3u8M11537
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:56:08 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04820
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 22:56:08 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00340;
Fri, 13 Apr 2001 22:56:07 -0500
Message-Id: <200104140356.WAA00340@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
cc: 65697@bugs.debian.org
From: Camm Maguire <camm@enhanced.com>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 22:57:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3vGM11573
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:57:16 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04831
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 22:57:16 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00361;
Fri, 13 Apr 2001 22:57:15 -0500
Message-Id: <200104140357.WAA00361@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
cc: 65697@bugs.debian.org
From: Camm Maguire <camm@enhanced.com>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 22:58:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E3wVM11584
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 22:58:31 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id WAA04863
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 22:58:31 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id WAA00384;
Fri, 13 Apr 2001 22:58:31 -0500
Message-Id: <200104140358.WAA00384@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:01:53 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E41rM11693
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:01:53 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04919
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:01:53 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00550;
Fri, 13 Apr 2001 23:01:52 -0500
Message-Id: <200104140401.XAA00550@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 19 Jun 2000 12:39:36 -0400
In-Reply-To: Bill Schelter's message of "Sat, 10 Jun 2000 10:09:02 -0500"
Status: R
Subject: [Maxima] Re: source level debugging
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Sorry to catch up on this so late ...
OK, I'll include this file in the next package.
BTW, did anyone see my earlier post regarding shared libc dependencies
and segfaults I sent on Friday or thereabouts? I'd greatly appreciate
any insights you may have.
Take care,
Bill Schelter <wfs@math.utexas.edu> writes:
> Where should I get the "dbl" command, or what is the (modern?)
> equivalent? Can you give me any other hints?
>
> This is part of the elisp files in the gcl distribution.
>
> There is a file dbl.el
>
> and in it is the command dbl
>
> If you copy those files to your emacs/lisp directory then it will be
> there.
>
> I think there are some directions in the dbl.el file.
>
>
>
>
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:02:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E42SM11714
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:02:28 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04924
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:02:28 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00560;
Fri, 13 Apr 2001 23:02:28 -0500
Message-Id: <200104140402.XAA00560@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: willisb@unk.edu
Date: Thu, 14 Sep 2000 08:25:18 -0500
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.4a |July
24, 2000) at 09/14/2000 08:25:36 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] stopex.mc and powers for maxima 5.4
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm looking for a maxima (version 5.4) powers function and
a working version of stopex. If anyone can point me to
these files, I'd appreciate it.
I'm working on porting three Macsyma 422 programs to maxima;
a macsyma-to-mathml translator, a second order linear DE
solver, and a clone of Macsyma's specfun library (about
a dozen orthogonal polynomials). Once I get them working,
I'll make them freely available.
Porting "back in time" twenty years is interesting; mostly
I've only had to add simple utility functions such as second,
op, and floor. For string functions ($stringp, $getchar, etc), I've
added a few one line lisp programs. Once I spent days porting
a C++ program from gcc 2.7x to gcc 2.9x; compared to that
experience, porting Macsyma 422 to maxima 5.4 has so far been
a breeze.
Specifically:
1) I'm looking for the maxima (version 5.4) powers function;
my share2 directory has a usage file for powers, but no source file.
I can't find the file on maxima's cvs at the University of Texas either.
If anyone can point me to the source code for powers, I'd appreciate it.
2) Maxima's stopex code seems to be broken; stopex.mc
won't even load. It halts when executing
EVAL_WHEN([BATCH,LOADFILE],
IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
Commenting out this line, allows maxima to load stopex.mc.
But then maxima complains that it can't find the freeofl function.
Rolling my own as
freeofl(x,e) := block([ ],
not member(false, apply(append, [outermap(freeof, x, e)]))
);
allows expandwrt to run, but it generates rubbish:
(c1) expandwrt(x*(x+1),x);
(d1) [5x^2+4x(x+1)]
Again, if anyone has a correctly working stopex.mc file, I'd
appreciate it.
Thanks,
Barton Willis
University of Nebraska at Kearney
From mtest@mail.ma.utexas.edu Fri Apr 13 23:02:54 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E42sM11751
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:02:54 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04931
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:02:54 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00570;
Fri, 13 Apr 2001 23:02:54 -0500
Message-Id: <200104140402.XAA00570@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Boris Veytsman <boris@plmsc.psu.edu>
Date: 12 Jun 2000 12:52:06 -0400
Status: R
Subject: [Maxima] [sci.math.symbolic] Problem/Bug in Maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
I've found this letter in smc newsgroup... Please CC: the responces to
the author.
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
------- Start of forwarded message -------
From: David Ronis <ronis@gibbs.chem.mcgill.ca>
Subject: Problem/Bug in Maxima?
Newsgroups: sci.math.symbolic
Message-ID: <2p715.78$_r3.43895@carnaval.risq.qc.ca>
Date: Mon, 12 Jun 2000 15:33:18 GMT
I've encountered what I think are two bugs in maxima. I need to do
iterated integrals of the form:
f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
f[0](x):=0;
where p[n](x) is a low-order polynomial (defined explicitly) and W(x)
is an unknown function. I've decleared integrate linear.
Here's what happens (say for p[n](x):=x):
(C1) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s[n-1]),s[n-1],0,x);
(D1) f (x) := p (x) + W(x) + INTEGRATE(f (s ), s , 0, x)
n n n - 1 n - 1 n - 1
(C2) f[0](x):=0;
(D2) f (x) := 0
0
(C3) declare(integrate,linear);
(D3) DONE
(C4) p[n](x):=x;
(D4) p (x) := x
n
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
(D6) W(x) + (W(s ) + s ) x + x
1 1
If instead I try:
(C1) declare(integrate,linear);
(D1) DONE
(C2) p[n](x):=x;
(D2) p (x) := x
n
(C3) f[n](x):=p[n](x)+ W(x) + integrate(f[n-1](s),s,0,x);
(D3) f (x) := p (x) + W(x) + INTEGRATE(f (s), s, 0, x)
n n n - 1
(C4) f[0](x):=0;
(D4) f (x) := 0
0
(C5) f[1](x);
(D5) W(x) + x
(C6) f[2](x);
Is x positive, negative, or zero?
pos;
x x
/ /
[ [
(D6) W(x) + x + I W(s) ds + I s ds
] ]
/ /
0 0
(C7) f[3](x);
Is x positive, negative, or zero?
pos;
x s x s x x
/ / / / / /
[ [ [ [ [ [
(D7) W(x) + x + I I W(s) ds ds + I I s ds ds + I W(s) ds + I s ds
] ] ] ] ] ]
/ / / / / /
0 0 0 0 0 0
(C8) f[4](x);
Is x positive, negative, or zero?
pos;
x s s x s s x s
/ / / / / / / /
[ [ [ [ [ [ [ [
(D8) W(x) + x + I I I W(s) ds ds ds + I I I s ds ds ds + I I W(s) ds ds
] ] ] ] ] ] ] ]
/ / / / / / / /
0 0 0 0 0 0 0 0
x s x x
/ / / /
[ [ [ [
+ I I s ds ds + I W(s) ds + I s ds
] ] ] ]
/ / / /
Which is slightly better but still wrong. My questions are:
1. Why doesn't maxima do the trivial integral of x?
2. How do I get it to properly change the symbol used for the
integration variable and limits in multiple integrals?
David
------- End of forwarded message -------
From mtest@mail.ma.utexas.edu Fri Apr 13 23:03:12 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E43CM11755
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:03:12 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04943
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:03:12 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00577;
Fri, 13 Apr 2001 23:03:12 -0500
Message-Id: <200104140403.XAA00577@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 16 Jun 2000 11:49:29 -0400
In-Reply-To: Boris Veytsman's message of "12 Jun 2000 12:52:06 -0400"
Status: R
Subject: [Maxima] libc/ldso dependency in shared-lib maxima?
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I maintain the Debian package of maxima, which has
recently been accepted for installation into the unstable tree. I've
included Dr. Schelter's patch enabling shared (not static) linking to
the system C and math libraries. With this patch, we've had a working
package in incoming for some time now.
Meanwhile, I forgot about maxima for a bit, upgraded my machine to the
slightly newer versions of the Debian system packages, and suddenly
maxima segfaults. Another Debian user sees the same thing and has
filed a bug. Rebuilding on my upgraded system restores functionality.
Luckily, I can chase this down if I hurry, as I still have access to a
pre-upgrade machine which can build maxima with debugging symbols.
I would be greatly appreciative, though, if anyone had an insight as
to where to look in advance.
Take care,
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:03:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E43fM11763
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:03:41 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04971
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:03:41 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00583;
Fri, 13 Apr 2001 23:03:41 -0500
Message-Id: <200104140403.XAA00583@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 19 Jun 2000 12:39:36 -0400
In-Reply-To: Bill Schelter's message of "Sat, 10 Jun 2000 10:09:02 -0500"
Status: R
Subject: [Maxima] Re: source level debugging
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Sorry to catch up on this so late ...
OK, I'll include this file in the next package.
BTW, did anyone see my earlier post regarding shared libc dependencies
and segfaults I sent on Friday or thereabouts? I'd greatly appreciate
any insights you may have.
Take care,
Bill Schelter <wfs@math.utexas.edu> writes:
> Where should I get the "dbl" command, or what is the (modern?)
> equivalent? Can you give me any other hints?
>
> This is part of the elisp files in the gcl distribution.
>
> There is a file dbl.el
>
> and in it is the command dbl
>
> If you copy those files to your emacs/lisp directory then it will be
> there.
>
> I think there are some directions in the dbl.el file.
>
>
>
>
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:03:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E43tM11768
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:03:55 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04975
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:03:55 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00591;
Fri, 13 Apr 2001 23:03:55 -0500
Message-Id: <200104140403.XAA00591@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: willisb@unk.edu
Date: Thu, 14 Sep 2000 08:25:18 -0500
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.4a |July
24, 2000) at 09/14/2000 08:25:36 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] stopex.mc and powers for maxima 5.4
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Hi,
I'm looking for a maxima (version 5.4) powers function and
a working version of stopex. If anyone can point me to
these files, I'd appreciate it.
I'm working on porting three Macsyma 422 programs to maxima;
a macsyma-to-mathml translator, a second order linear DE
solver, and a clone of Macsyma's specfun library (about
a dozen orthogonal polynomials). Once I get them working,
I'll make them freely available.
Porting "back in time" twenty years is interesting; mostly
I've only had to add simple utility functions such as second,
op, and floor. For string functions ($stringp, $getchar, etc), I've
added a few one line lisp programs. Once I spent days porting
a C++ program from gcc 2.7x to gcc 2.9x; compared to that
experience, porting Macsyma 422 to maxima 5.4 has so far been
a breeze.
Specifically:
1) I'm looking for the maxima (version 5.4) powers function;
my share2 directory has a usage file for powers, but no source file.
I can't find the file on maxima's cvs at the University of Texas either.
If anyone can point me to the source code for powers, I'd appreciate it.
2) Maxima's stopex code seems to be broken; stopex.mc
won't even load. It halts when executing
EVAL_WHEN([BATCH,LOADFILE],
IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
Commenting out this line, allows maxima to load stopex.mc.
But then maxima complains that it can't find the freeofl function.
Rolling my own as
freeofl(x,e) := block([ ],
not member(false, apply(append, [outermap(freeof, x, e)]))
);
allows expandwrt to run, but it generates rubbish:
(c1) expandwrt(x*(x+1),x);
(d1) [5x^2+4x(x+1)]
Again, if anyone has a correctly working stopex.mc file, I'd
appreciate it.
Thanks,
Barton Willis
University of Nebraska at Kearney
From mtest@mail.ma.utexas.edu Fri Apr 13 23:04:31 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E44VM11796
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:04:31 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04983
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:04:30 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00604;
Fri, 13 Apr 2001 23:04:30 -0500
Date: Fri, 13 Apr 2001 23:04:30 -0500
Message-Id: <200104140404.XAA00604@linux34.ma.utexas.edu>
From: Richard Fateman <fateman@EECS.Berkeley.EDU>
Organization: University of California, Berkeley
X-Accept-Language: en
To: maxima@www.ma.utexas.edu
Content-Type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] Re: stopex.mc and powers for maxima 5.4
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
willisb@unk.edu wrote:
>
> Hi,
>
> I'm looking for a maxima (version 5.4) powers function and
> a working version of stopex. If anyone can point me to
> these files, I'd appreciate it.
the powers function is written in lisp in Macsyma (c), and
seems to be in share/ not share2/ directory. I don't
if it dates back to Maxima days. I don't
know why you would want to use it, because it seems to
have as a feature, the bug that it requires expressions
to be expanded out. You can do rat(expression,x)
and then pick off the leading degree and subtract that term
off, repeatedly, using ratcoeff, or bothcoeff instead.
something like the (untested) program below.
mypowers(r,x):=
block([ h:hipow(r,x)],
if h=0 then [] else cons (h, mypowers(second(bothcoeff(r,x^h)),x)
)))
>
> I'm working on porting three Macsyma 422 programs to maxima;
> a macsyma-to-mathml translator, a second order linear DE
> solver, and a clone of Macsyma's specfun library (about
> a dozen orthogonal polynomials). Once I get them working,
> I'll make them freely available.
>
> Porting "back in time" twenty years is interesting; mostly
> I've only had to add simple utility functions such as second,
> op, and floor. For string functions ($stringp, $getchar, etc), I've
> added a few one line lisp programs. Once I spent days porting
> a C++ program from gcc 2.7x to gcc 2.9x; compared to that
> experience, porting Macsyma 422 to maxima 5.4 has so far been
> a breeze.
>
> Specifically:
>
> 1) I'm looking for the maxima (version 5.4) powers function;
> my share2 directory has a usage file for powers, but no source file.
> I can't find the file on maxima's cvs at the University of Texas either.
> If anyone can point me to the source code for powers, I'd appreciate it.
>
> 2) Maxima's stopex code seems to be broken; stopex.mc
> won't even load. It halts when executing
>
> EVAL_WHEN([BATCH,LOADFILE],
> IF GET('GNAUTO,'DIAGEVAL_VERSION)=FALSE
> THEN LOAD('[GNAUTO,FASL,DSK,DGVAL]))$
>
> Commenting out this line, allows maxima to load stopex.mc.
> But then maxima complains that it can't find the freeofl function.
> Rolling my own as
>
> freeofl(x,e) := block([ ],
> not member(false, apply(append, [outermap(freeof, x, e)]))
> );
>
freeofl takes a list as first argument and ask if, for each element r
of the list L, is e free of r.
I would write it like this..
freeofl(L,e):= if L=[] then true else freeof(first(L),e) and
freeofl(rest(L),e)
I'm not sure what else is needed from the gnauto file though.
> allows expandwrt to run, but it generates rubbish:
>
> (c1) expandwrt(x*(x+1),x);
>
> (d1) [5x^2+4x(x+1)]
>
> Again, if anyone has a correctly working stopex.mc file, I'd
> appreciate it.
>
> Thanks,
>
> Barton Willis
> University of Nebraska at Kearney
From mtest@mail.ma.utexas.edu Fri Apr 13 23:05:10 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E45AM11835
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:05:10 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04990
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:05:09 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00613;
Fri, 13 Apr 2001 23:05:09 -0500
Message-Id: <200104140405.XAA00613@linux34.ma.utexas.edu>
MIME-Version: 1.0
From: "Hickey, Gregory" <GHickey@nbpower.com>
To: maxima@www.ma.utexas.edu
Date: Fri, 1 Dec 2000 14:32:36 -0400
Content-Type: text/plain;
charset="iso-8859-1"
Status: R
Subject: [Maxima] FW: Macsyma
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Good afternoon, I had sent an earlier question to Paul S. Wang w.r.t.
apparent demise of 'Macsyma' and 'PDEase' product line and he (as indicated
below) referred me to you. Got time for a quick question?....Do you know to
what extent both products (or their equivalent) may be available/supported
in GNU project?
Best Regards,
Gregory A. Hickey, P. Eng.
-----Original Message-----
From: Paul S. Wang [mailto:pwang@mcs.kent.edu]
<mailto:[mailto:pwang@mcs.kent.edu]>
Sent: November 28, 2000 4:22 PM
To: GHickey@nbpower.com <mailto:GHickey@nbpower.com>
Subject: Re: Macsyma
I don't really know. But that is a good question.
You may try
wfs@fireant.ma.utexas.edu <mailto:wfs@fireant.ma.utexas.edu> (Bill
Schelter, AKCL/maxima)
and see if Bill has any info.
Paul>
> Thank you very much. I have(had) a paid up maintenance agreement
with them
> for operation of the program; do you know whether they went beyond
Ver2.4,
> also what has happened to their 'PDEase' product..do you know if
'PDEase' is
> also available through GNU effort? Again thank you for responding.
/ Greg H.
From mtest@mail.ma.utexas.edu Fri Apr 13 23:05:47 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E45lM11860
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:05:47 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA04996
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:05:47 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00624;
Fri, 13 Apr 2001 23:05:47 -0500
Message-Id: <200104140405.XAA00624@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 23 Feb 2001 15:39:54 -0500
In-Reply-To: Richard Fateman's message of "Thu, 14 Sep 2000 10:48:57 -0700"
Status: R
Subject: [Maxima] Maxima-5.5-beta and dynamic shared lib links
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! I'm upgrading the Debian maxima package to 5.5-beta, and
am running into the same shared-library link problems as before. This
time, I've found some time to detail what's going on a bit more
clearly, so hopefully this will help.
I've now produced two saved_maxima executables, one 5.5-beta compiled
with -g, and one using the current cvs trees for gcl and maxima
compiled as per default, both of which run successfully on 3, and
segfault on 4 of our Debian 2.2 "aka potato" boxes, all of which share
an NFS home filesystem. The problem is the same in all cases: on
startup,
PRINTstream->sm.sm_object0->s.s_dbind->sm.sm_object1->sm.sm_fp->_fileno
is correctly set to stdout (1) on the boxes where it works, and
garbage where it segfaults. The program segfaults when trying to
first write to stdout. (Actually, the whole sm_fp FILE structure is
bogus.)
This setup must be preallocated on the stack or some such, as this
condition holds even when breaking in gdb at the address of the first
assembly statement in init of the executable. Furthermore, on
checking the memory maps loaded by the process, (/proc/<pid>/maps:),
all working cases show the following:
08048000-08485000 r-xp 00000000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
08485000-086fe000 rw-p 0043c000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
086fe000-087af000 rwxp 00000000 00:00 0
40000000-40012000 r-xp 00000000 03:03 34721 /lib/ld-2.1.3.so
40012000-40013000 rw-p 00011000 03:03 34721 /lib/ld-2.1.3.so
40013000-40014000 rwxp 00000000 00:00 0
40019000-400ee000 r-xp 00000000 03:03 34724 /lib/libc-2.1.3.so
400ee000-400f2000 rw-p 000d4000 03:03 34724 /lib/libc-2.1.3.so
400f2000-400f6000 rw-p 00000000 00:00 0
400f6000-40112000 r-xp 00000000 03:03 34901 /lib/libm-2.1.3.so
40112000-40113000 rw-p 0001b000 03:03 34901 /lib/libm-2.1.3.so
bfff2000-c0000000 rwxp ffff3000 00:00 0
whereas the failing cases show
08048000-08477000 r-xp 00000000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
08477000-086ef000 rw-p 0042e000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
40000000-40012000 r-xp 00000000 08:02 174764 /lib/ld-2.1.3.so
40012000-40013000 rw-p 00011000 08:02 174764 /lib/ld-2.1.3.so
40013000-40014000 rwxp 00000000 00:00 0
4001c000-400f1000 r-xp 00000000 08:02 174798 /lib/libc-2.1.3.so
400f1000-400f5000 rw-p 000d4000 08:02 174798 /lib/libc-2.1.3.so
400f5000-400f9000 rw-p 00000000 00:00 0
400f9000-40115000 r-xp 00000000 08:02 174815 /lib/libm-2.1.3.so
40115000-40116000 rw-p 0001b000 08:02 174815 /lib/libm-2.1.3.so
bfffd000-c0000000 rwxp ffffe000 00:00 0
All machines have identical ldso and libc6 packages installed.
I haven't yet had time to understand the sfaslelf.c and/or rsym_elf.c,
which is where I think this is getting setup. I would greatly
appreciate suggestions from those much more knowledgeable than me on
this list! Unfortunately, my test case is not on a public network. I
haven't yet discovered what aspect of these machines is causing the
different loading, so I cannot guarantee reproducing this situation on
another system, though this behavior does persist on each execution
of saved_maxima here. Any suggestions of what to try would be most
helpful. I'm pretty decent with C and a debugger, but don't know
about elf formats, etc.
Thanks!
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:06:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E46SM11902
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:06:28 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05000
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:06:28 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00632;
Fri, 13 Apr 2001 23:06:28 -0500
Message-Id: <200104140406.XAA00632@linux34.ma.utexas.edu>
MIME-Version: 1.0
Date: Fri, 23 Feb 2001 13:04:30 -0800
From: Richard Fateman <fateman@cs.berkeley.edu>
Organization: University of California, Berkeley
X-Accept-Language: en
To: maxima@www.ma.utexas.edu
Content-Type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Sorry I can't help with this. I think there is a problem
with GCL, and I don't know about its implementation at all.
RJF
Camm Maguire wrote:
>
> Greetings! I'm upgrading the Debian maxima package to 5.5-beta, and
> am running into the same shared-library link problems as before. This
> time, I've found some time to detail what's going on a bit more
> clearly, so hopefully this will help.
>
> I've now produced two saved_maxima executables, one 5.5-beta compiled
> with -g, and one using the current cvs trees for gcl and maxima
> compiled as per default, both of which run successfully on 3, and
> segfault on 4 of our Debian 2.2 "aka potato" boxes, all of which share
> an NFS home filesystem. The problem is the same in all cases: on
> startup,
> PRINTstream->sm.sm_object0->s.s_dbind->sm.sm_object1->sm.sm_fp->_fileno
> is correctly set to stdout (1) on the boxes where it works, and
> garbage where it segfaults. The program segfaults when trying to
> first write to stdout. (Actually, the whole sm_fp FILE structure is
> bogus.)
>
> This setup must be preallocated on the stack or some such, as this
> condition holds even when breaking in gdb at the address of the first
> assembly statement in init of the executable. Furthermore, on
> checking the memory maps loaded by the process, (/proc/<pid>/maps:),
> all working cases show the following:
>
> 08048000-08485000 r-xp 00000000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 08485000-086fe000 rw-p 0043c000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 086fe000-087af000 rwxp 00000000 00:00 0
> 40000000-40012000 r-xp 00000000 03:03 34721 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 03:03 34721 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 40019000-400ee000 r-xp 00000000 03:03 34724 /lib/libc-2.1.3.so
> 400ee000-400f2000 rw-p 000d4000 03:03 34724 /lib/libc-2.1.3.so
> 400f2000-400f6000 rw-p 00000000 00:00 0
> 400f6000-40112000 r-xp 00000000 03:03 34901 /lib/libm-2.1.3.so
> 40112000-40113000 rw-p 0001b000 03:03 34901 /lib/libm-2.1.3.so
> bfff2000-c0000000 rwxp ffff3000 00:00 0
>
> whereas the failing cases show
>
> 08048000-08477000 r-xp 00000000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 08477000-086ef000 rw-p 0042e000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 40000000-40012000 r-xp 00000000 08:02 174764 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 08:02 174764 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 4001c000-400f1000 r-xp 00000000 08:02 174798 /lib/libc-2.1.3.so
> 400f1000-400f5000 rw-p 000d4000 08:02 174798 /lib/libc-2.1.3.so
> 400f5000-400f9000 rw-p 00000000 00:00 0
> 400f9000-40115000 r-xp 00000000 08:02 174815 /lib/libm-2.1.3.so
> 40115000-40116000 rw-p 0001b000 08:02 174815 /lib/libm-2.1.3.so
> bfffd000-c0000000 rwxp ffffe000 00:00 0
>
> All machines have identical ldso and libc6 packages installed.
>
> I haven't yet had time to understand the sfaslelf.c and/or rsym_elf.c,
> which is where I think this is getting setup. I would greatly
> appreciate suggestions from those much more knowledgeable than me on
> this list! Unfortunately, my test case is not on a public network. I
> haven't yet discovered what aspect of these machines is causing the
> different loading, so I cannot guarantee reproducing this situation on
> another system, though this behavior does persist on each execution
> of saved_maxima here. Any suggestions of what to try would be most
> helpful. I'm pretty decent with C and a debugger, but don't know
> about elf formats, etc.
>
> Thanks!
> --
> Camm Maguire camm@enhanced.com
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:07:05 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E475M11921
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:07:05 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05011
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:07:05 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00641;
Fri, 13 Apr 2001 23:07:05 -0500
Message-Id: <200104140407.XAA00641@linux34.ma.utexas.edu>
MIME-Version: 1.0
Date: Fri, 23 Feb 2001 13:04:30 -0800
From: Richard Fateman <fateman@cs.berkeley.edu>
Organization: University of California, Berkeley
X-Accept-Language: en
To: maxima@www.ma.utexas.edu
Content-Type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Sorry I can't help with this. I think there is a problem
with GCL, and I don't know about its implementation at all.
RJF
Camm Maguire wrote:
>
> Greetings! I'm upgrading the Debian maxima package to 5.5-beta, and
> am running into the same shared-library link problems as before. This
> time, I've found some time to detail what's going on a bit more
> clearly, so hopefully this will help.
>
> I've now produced two saved_maxima executables, one 5.5-beta compiled
> with -g, and one using the current cvs trees for gcl and maxima
> compiled as per default, both of which run successfully on 3, and
> segfault on 4 of our Debian 2.2 "aka potato" boxes, all of which share
> an NFS home filesystem. The problem is the same in all cases: on
> startup,
> PRINTstream->sm.sm_object0->s.s_dbind->sm.sm_object1->sm.sm_fp->_fileno
> is correctly set to stdout (1) on the boxes where it works, and
> garbage where it segfaults. The program segfaults when trying to
> first write to stdout. (Actually, the whole sm_fp FILE structure is
> bogus.)
>
> This setup must be preallocated on the stack or some such, as this
> condition holds even when breaking in gdb at the address of the first
> assembly statement in init of the executable. Furthermore, on
> checking the memory maps loaded by the process, (/proc/<pid>/maps:),
> all working cases show the following:
>
> 08048000-08485000 r-xp 00000000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 08485000-086fe000 rw-p 0043c000 03:03 88802 /usr/lib/maxima-5.5/src/saved_maxima_debug
> 086fe000-087af000 rwxp 00000000 00:00 0
> 40000000-40012000 r-xp 00000000 03:03 34721 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 03:03 34721 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 40019000-400ee000 r-xp 00000000 03:03 34724 /lib/libc-2.1.3.so
> 400ee000-400f2000 rw-p 000d4000 03:03 34724 /lib/libc-2.1.3.so
> 400f2000-400f6000 rw-p 00000000 00:00 0
> 400f6000-40112000 r-xp 00000000 03:03 34901 /lib/libm-2.1.3.so
> 40112000-40113000 rw-p 0001b000 03:03 34901 /lib/libm-2.1.3.so
> bfff2000-c0000000 rwxp ffff3000 00:00 0
>
> whereas the failing cases show
>
> 08048000-08477000 r-xp 00000000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 08477000-086ef000 rw-p 0042e000 09:00 128542 /fix/c/home/camm/saved_maxima_debug
> 40000000-40012000 r-xp 00000000 08:02 174764 /lib/ld-2.1.3.so
> 40012000-40013000 rw-p 00011000 08:02 174764 /lib/ld-2.1.3.so
> 40013000-40014000 rwxp 00000000 00:00 0
> 4001c000-400f1000 r-xp 00000000 08:02 174798 /lib/libc-2.1.3.so
> 400f1000-400f5000 rw-p 000d4000 08:02 174798 /lib/libc-2.1.3.so
> 400f5000-400f9000 rw-p 00000000 00:00 0
> 400f9000-40115000 r-xp 00000000 08:02 174815 /lib/libm-2.1.3.so
> 40115000-40116000 rw-p 0001b000 08:02 174815 /lib/libm-2.1.3.so
> bfffd000-c0000000 rwxp ffffe000 00:00 0
>
> All machines have identical ldso and libc6 packages installed.
>
> I haven't yet had time to understand the sfaslelf.c and/or rsym_elf.c,
> which is where I think this is getting setup. I would greatly
> appreciate suggestions from those much more knowledgeable than me on
> this list! Unfortunately, my test case is not on a public network. I
> haven't yet discovered what aspect of these machines is causing the
> different loading, so I cannot guarantee reproducing this situation on
> another system, though this behavior does persist on each execution
> of saved_maxima here. Any suggestions of what to try would be most
> helpful. I'm pretty decent with C and a debugger, but don't know
> about elf formats, etc.
>
> Thanks!
> --
> Camm Maguire camm@enhanced.com
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:07:21 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47LM11934
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:07:21 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05015
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:07:21 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00646;
Fri, 13 Apr 2001 23:07:21 -0500
Message-Id: <200104140407.XAA00646@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 23 Feb 2001 18:55:07 -0500
In-Reply-To: Bill Schelter's message of "Fri, 23 Feb 2001 15:23:33 -0600"
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
This works! Thank you so much!!!
A few (very minor in comparison) other things I've run across in
putting this together:
1. Can't strip the binary:
intech19:~$ strip saved_maxima
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.data' not in segment
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.bss' not in segment
(then segfaults if run)
Is this to be expected?
2. I think ctensr.mac should be named ctensr.mc? (So that it can
'load'?)
3. No manpage for xmaxima. Not a big deal.
Thanks for this wonderful tool!
Bill Schelter <wfs@math.utexas.edu> writes:
> Please try adding the following to 386-linux.h,
> You will have to redo
>
> ./configure
> (cd o ; rm -f main.o unixsave.o ; make ; cd ../unixport ; make)
>
>
> /* define if there is no _cleanup, do here what needs
> to be done before calling unexec
> */
> #define CLEANUP_CODE \
> setbuf(stdin,0); \
> setbuf(stdout,0);
>
> /* the following will try to make sure that the stdin and stdout are
> set correctly on startup after a save */
>
>
> #define INIT_CORE_END terminal_io->sm.sm_object0->sm.sm_fp = stdin;terminal_io->sm.sm_object1->sm.sm_fp = stdout;
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:07:33 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47WM11940
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:07:32 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05025
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:07:32 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00651;
Fri, 13 Apr 2001 23:07:32 -0500
Message-Id: <200104140407.XAA00651@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 23 Feb 2001 18:55:07 -0500
In-Reply-To: Bill Schelter's message of "Fri, 23 Feb 2001 15:23:33 -0600"
Status: R
Subject: [Maxima] Re: Maxima-5.5-beta and dynamic shared lib links
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
This works! Thank you so much!!!
A few (very minor in comparison) other things I've run across in
putting this together:
1. Can't strip the binary:
intech19:~$ strip saved_maxima
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.data' not in segment
BFD: /fix/g/camm/stp7tlJa: warning: allocated section `.bss' not in segment
(then segfaults if run)
Is this to be expected?
2. I think ctensr.mac should be named ctensr.mc? (So that it can
'load'?)
3. No manpage for xmaxima. Not a big deal.
Thanks for this wonderful tool!
Bill Schelter <wfs@math.utexas.edu> writes:
> Please try adding the following to 386-linux.h,
> You will have to redo
>
> ./configure
> (cd o ; rm -f main.o unixsave.o ; make ; cd ../unixport ; make)
>
>
> /* define if there is no _cleanup, do here what needs
> to be done before calling unexec
> */
> #define CLEANUP_CODE \
> setbuf(stdin,0); \
> setbuf(stdout,0);
>
> /* the following will try to make sure that the stdin and stdout are
> set correctly on startup after a save */
>
>
> #define INIT_CORE_END terminal_io->sm.sm_object0->sm.sm_fp = stdin;terminal_io->sm.sm_object1->sm.sm_fp = stdout;
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:07:44 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47iM11949
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:07:44 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05029
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:07:44 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00656;
Fri, 13 Apr 2001 23:07:44 -0500
Message-Id: <200104140407.XAA00656@linux34.ma.utexas.edu>
MIME-Version: 1.0
To: maxima@www.ma.utexas.edu
From: willisb@unk.edu
Date: Mon, 26 Feb 2001 16:46:42 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.5 |September
22, 2000) at 02/26/2001 04:46:44 PM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] maxima initialization file
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Is there a Maxima equivalent of Macsyma's initialization file? Under
Macsyma the
file is called macsyma-init.macsyma. In this file, you can set filesearch
and issue
setupautoload statements. Maxima's info file mentions the initialization
file, but
all my guesses for where to put it and what to call it have failed.
Thanks,
[Barton, Willis] = 0
University of Nebraska at Kearney
From mtest@mail.ma.utexas.edu Fri Apr 13 23:07:55 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E47tM11953
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:07:55 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05034
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:07:55 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00661;
Fri, 13 Apr 2001 23:07:55 -0500
Message-Id: <200104140407.XAA00661@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 26 Feb 2001 18:14:12 -0500
In-Reply-To: willisb@unk.edu's message of "Mon, 26 Feb 2001 16:46:42 -0600"
Status: R
Subject: [Maxima] Re: maxima initialization file
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just did an strace -f on the latest maxima, and found
this:
stat("init.lsp", 0xbfffd57c) = -1 ENOENT (No such file or directory)
Perhaps give that a try?
Take care,
willisb@unk.edu writes:
> Is there a Maxima equivalent of Macsyma's initialization file? Under
> Macsyma the
> file is called macsyma-init.macsyma. In this file, you can set filesearch
> and issue
> setupautoload statements. Maxima's info file mentions the initialization
> file, but
> all my guesses for where to put it and what to call it have failed.
>
> Thanks,
>
> [Barton, Willis] = 0
> University of Nebraska at Kearney
>
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:08:22 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E48MM11982
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:08:22 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05040
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:08:22 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00666;
Fri, 13 Apr 2001 23:08:22 -0500
Message-Id: <200104140408.XAA00666@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 06 Mar 2001 16:05:32 -0500
In-Reply-To: Richard Fateman's message of "Thu, 14 Sep 2000 10:48:57 -0700"
Status: R
Subject: [Maxima] Old Macsyma code
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just to follow up on an old suggestions, I've contacted
Richard Petti, and he assures me that the person who controls Macsyma
now has no intention of making the source openly available in the near
future.
Take care,
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:08:41 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E48fM11988
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:08:41 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05048
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:08:41 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00671;
Fri, 13 Apr 2001 23:08:41 -0500
Message-Id: <200104140408.XAA00671@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 08 Mar 2001 11:41:30 -0500
In-Reply-To: Camm Maguire's message of "06 Mar 2001 16:05:32 -0500"
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings! Just to let everyone know that I received another reply
from Richard Petti, and he asks for statistics on Maxima usage and
downloads, as he may be able to use this information to help free the
old Macsyma code. So he wants to help! Does anyone have access to
such information, even if partial?
Take care,
Camm Maguire <camm@enhanced.com> writes:
> Greetings! Just to follow up on an old suggestions, I've contacted
> Richard Petti, and he assures me that the person who controls Macsyma
> now has no intention of making the source openly available in the near
> future.
>
> Take care,
>
> --
> Camm Maguire camm@enhanced.com
> ==========================================================================
> "The earth is but one country, and mankind its citizens." -- Baha'u'llah
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:09:01 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E491M12006
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:09:01 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05053
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:09:01 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00676;
Fri, 13 Apr 2001 23:09:01 -0500
Message-Id: <200104140409.XAA00676@linux34.ma.utexas.edu>
Date: Thu, 8 Mar 2001 11:35:27 -0500
From: Boris Veytsman <boris@plmsc.psu.edu>
To: maxima@www.ma.utexas.edu
In-reply-to: <54y9ugkybp.fsf@intech19.enhanced.com> (message from Camm Maguire
on 08 Mar 2001 11:41:30 -0500)
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
> From: Camm Maguire <camm@enhanced.com>
> Date: 08 Mar 2001 11:41:30 -0500
> Greetings! Just to let everyone know that I received another reply
> from Richard Petti, and he asks for statistics on Maxima usage and
> downloads, as he may be able to use this information to help free the
> old Macsyma code. So he wants to help! Does anyone have access to
> such information, even if partial?
>
You can try debian statistics -- Maxima is included in the standard distro
--
Good luck
-Boris
http://www.plmsc.psu.edu/~boris/
From mtest@mail.ma.utexas.edu Fri Apr 13 23:09:28 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49RM12015
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:09:28 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05067
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:09:27 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00681;
Fri, 13 Apr 2001 23:09:27 -0500
Message-Id: <200104140409.XAA00681@linux34.ma.utexas.edu>
Date: Thu, 8 Mar 2001 13:57:58 -0600
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to wfs@sonia.ma.utexas.edu using -f
From: Bill Schelter <wfs@math.utexas.edu>
To: maxima@www.ma.utexas.edu
In-reply-to: <200103081635.LAA05741@plmsc.psu.edu> (message from Boris
Veytsman on Thu, 8 Mar 2001 11:35:27 -0500)
Reply-to: wfs@math.utexas.edu
Content-Type: text/plain;charset="koi8-r"
Status: R
Subject: [Maxima] Re: Old Macsyma code
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
You can try debian statistics -- Maxima is included in the standard distro
actually the most common platform is probably windows, now that there
is a good self installing windows distribution (reference
http://www.ma.utexas.edu/maxima.html ). I should put a counter on my
page for downloads, but the thing is these things just get
mirrored--something I would of course encourage not prohibit, so it is
probably not worth the effort.
From mtest@mail.ma.utexas.edu Fri Apr 13 23:09:37 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49bM12019
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:09:37 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05071
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:09:37 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00686;
Fri, 13 Apr 2001 23:09:37 -0500
Message-Id: <200104140409.XAA00686@linux34.ma.utexas.edu>
MIME-Version: 1.0
To: maxima@www.ma.utexas.edu
From: willisb@unk.edu
Date: Sat, 10 Mar 2001 10:07:30 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.5 |September
22, 2000) at 03/10/2001 10:07:32 AM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] maxima initialization file
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thanks for the help with maxima's initialization file.
Using maxima 5.4 under Linux, I've only been able to get maxima to read
init.lsp
if the file is in the working directory. Putting it in /usr/lib/maxima-5.4
or
/usr/lib/maxima-5.4/src didn't work for me.
In the process of creating my init.lsp file, I discovered that maxima's
save function
outputs
(in-package "maxima"
This needs to be manually changed to
(in-package "maxima")
To auto-load the function "to_html" located in the file
/home/barton/maxima/mathml4.3.o, the
following init.lsp file works for me:
;;; -*- mode: lisp; package:maxima; syntax:common-lisp; -*-
(in-package "maxima")
(defprop |$to_html| #"/home/barton/maxima/mathml4.3.o" autoload)
(add2lnc '|$to_html| $props)
BLW
University of Nebraska at Kearney
From mtest@mail.ma.utexas.edu Fri Apr 13 23:09:48 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49mM12024
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:09:48 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05086
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:09:48 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00691;
Fri, 13 Apr 2001 23:09:48 -0500
Message-Id: <200104140409.XAA00691@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 13 Mar 2001 11:02:52 -0500
In-Reply-To: willisb@unk.edu's message of "Sat, 10 Mar 2001 10:07:30 -0600"
Status: R
Subject: [Maxima] Re: maxima initialization file
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Greetings!
willisb@unk.edu writes:
> Thanks for the help with maxima's initialization file.
>
> Using maxima 5.4 under Linux, I've only been able to get maxima to read
> init.lsp
> if the file is in the working directory. Putting it in /usr/lib/maxima-5.4
> or
> /usr/lib/maxima-5.4/src didn't work for me.
>
> In the process of creating my init.lsp file, I discovered that maxima's
> save function
> outputs
>
> (in-package "maxima"
>
> This needs to be manually changed to
>
> (in-package "maxima")
>
This seems to be fixed in the 5.5-beta
> To auto-load the function "to_html" located in the file
> /home/barton/maxima/mathml4.3.o, the
> following init.lsp file works for me:
>
> ;;; -*- mode: lisp; package:maxima; syntax:common-lisp; -*-
> (in-package "maxima")
>
> (defprop |$to_html| #"/home/barton/maxima/mathml4.3.o" autoload)
> (add2lnc '|$to_html| $props)
>
These are your own custom functions, right? Is there a problem with
this?
Take care,
> BLW
>
> University of Nebraska at Kearney
>
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:09:59 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E49xM12028
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:09:59 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05095
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:09:59 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00696;
Fri, 13 Apr 2001 23:09:59 -0500
Message-Id: <200104140409.XAA00696@linux34.ma.utexas.edu>
MIME-Version: 1.0
To: maxima@www.ma.utexas.edu
From: willisb@unk.edu
Date: Wed, 21 Mar 2001 14:55:12 -0600
X-MIMETrack: Serialize by Router on UNKmail.unk.edu/Servers/UNEBR(Release 5.0.6a |January
17, 2001) at 03/21/2001 02:55:16 PM
Content-type: text/plain; charset=us-ascii
Status: R
Subject: [Maxima] prefix operators in maxima 4.5 & 5.5
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Defining "curl" to be a prefix operator makes closefile() parse as curl
osefile(). Is there
there a switch that changes this behavior? Specifically:
(c1) prefix("curl");
(d1) "CURL"
(c2) closefile("buddy.out");
(d2) CURL osefile(buddy.out)
/* cl is also a prefix operator */
(c3) cl x;
(c3) CURL x
(I've been playing with maxima's vector packages. I may adopt it as a
summer programming project.)
Regards,
Barton Willis
From mtest@mail.ma.utexas.edu Fri Apr 13 23:10:15 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4AFM12118
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:10:15 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05099
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:10:14 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00711;
Fri, 13 Apr 2001 23:10:14 -0500
Message-Id: <200104140410.XAA00711@linux34.ma.utexas.edu>
Date: Wed, 21 Mar 2001 18:09:37 -0600
X-Authentication-Warning: sonia.ma.utexas.edu: wfs set sender to wfs@sonia.ma.utexas.edu using -f
From: Bill Schelter <wfs@math.utexas.edu>
To: maxima@www.ma.utexas.edu
In-reply-to: <OF0639BE3A.CC8842EF-ON86256A16.0071E0D6@unk.edu>
(willisb@unk.edu)
Reply-to: wfs@math.utexas.edu
Content-Type: text/plain;charset="koi8-r"
Status: R
Subject: [Maxima] Re: prefix operators in maxima 4.5 & 5.5
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Thank you for reporting this bug. It would appear to have been
there for sometime, with people not using more than 2 character prefix
(c1) prefix("curl");
(d1) "CURL"
(c2) closefile("buddy.out");
(d2) CURL osefile(buddy.out)
or infix operators. It can be repaired by fixing
the code of read-command-token-aux in nparse.lisp as follows:
[alternately you can just load in the following file..]
(in-package "MAXIMA")
(defun read-command-token-aux (obj)
(let* (result
(ch (parse-tyipeek))
(lis (if (eql ch -1) nil (parser-assoc (char-upcase ch) obj))))
(cond ((null lis)
nil)
(t
(parse-tyi)
(cond ((atom (cadr lis))
;; INFIX("ABC"); puts into macsyma-operators
;;something like: (#\A #\B #\C (ANS |$ABC|))
;; ordinary things are like:
;; (#\< (ANS $<) (#\= (ANS $<=)))
;; where if you fail at the #\< #\X
;; stage, then the previous step was permitted.
(setq result (read-command-token-aux (list (cdr lis) ))))
((null (cddr lis))
;; lis something like (#\= (ANS $<=))
;; and this says there are no longer operators
;; starting with this.
(setq result
(and (eql (car (cadr lis)) 'ans)
(cadr (cadr lis)))))
(t
(let ((res (and (eql (car (cadr lis)) 'ans)
(cadr (cadr lis))))
(com-token (read-command-token-aux (cddr lis) )))
(setq result (or com-token res
(read-command-token-aux
(list (cadr lis))))))
))
(or result (unparse-tyi ch))
result))))
From mtest@mail.ma.utexas.edu Fri Apr 13 23:10:26 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4APM12124
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:10:25 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05103
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:10:24 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00716;
Fri, 13 Apr 2001 23:10:24 -0500
Message-Id: <200104140410.XAA00716@linux34.ma.utexas.edu>
MIME-Version: 1.0
Date: Thu, 05 Apr 2001 07:54:46 +0200
From: Oscar Lopez <oscar@iit.upco.es>
To: maxima@www.ma.utexas.edu
Status: R
Subject: [Maxima] Re: Newbie problem: plotting with maxima
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Oscar Lopez wrote:
>
> How can I get plots from maxima ? For me, it is not necessary to use an
> interface it would be suficient enough to produce gnuplot format output,
> or whatever it was.
>
At the end it was a problem in the omplotdata file, for recent
distributions of Tcl-Tk the file wish8.0 doesn't exist anymore. In order
to use omplotdata it is enough to change wish8.0 wish
-----------------------------------------------------------------------------
3c3
< exec wish "$0" "$@"
---
> exec wish8.0 "$0" "$@"
-----------------------------------------------------------------------------
--
http://www.iit.upco.es/~oscar
We'll be recording at the Paradise Friday night. Live, on the Death
label.
-- Swan, "Phantom of the Paradise"
From mtest@mail.ma.utexas.edu Fri Apr 13 23:10:50 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4AoM12148
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:10:50 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05107
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:10:50 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00722;
Fri, 13 Apr 2001 23:10:50 -0500
Message-Id: <200104140410.XAA00722@linux34.ma.utexas.edu>
To: maxima@www.ma.utexas.edu
From: Camm Maguire <camm@enhanced.com>
Date: 06 Apr 2001 11:29:31 -0400
Status: R
Subject: [Maxima] Re: Maxima bug on trigrat function
Sender: maxima-admin@www.math.utexas.edu
Errors-To: maxima-admin@www.math.utexas.edu
X-BeenThere: maxima@www.math.utexas.edu
X-Mailman-Version: 2.0.1
Precedence: bulk
List-Help: <mailto:maxima-request@www.math.utexas.edu?subject=help>
List-Post: <mailto:maxima@www.math.utexas.edu>
List-Subscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=subscribe>
List-Id: Maxima interest list <maxima.www.math.utexas.edu>
List-Unsubscribe: <http://www.math.utexas.edu/mailman/listinfo/maxima>,
<mailto:maxima-request@www.math.utexas.edu?subject=unsubscribe>
List-Archive: <http://www.math.utexas.edu/pipermail/maxima/>
Subject: maxima: missing trigrat.lisp
Package: maxima
Version: 5.5-beta-4
Severity: normal
Greetings, and thank you for your report. I'm submitting this to the
Debian Bug tracking system on your behalf to better keep track of this
issue. In general, there are many files in the source package which
are not installed by default in the makefiles, and it appears that the
installed list has gotten out of date with respect to the
documentation. I'm also ccing this message to the maxima list to
enquire as to whether it would be better to delete the reference to
trigrat from the documentation, or to include it in the installation.
Dr. Schelter, this issue has come up before with the mactex.lisp file
in src/, and I just installed it by hand. Is there a general wildcard
file pattern specifying files that we could *safely* install and cover
any references in the existing documentation?
Thanks!
Daniel Martins <dmartins@lcmi.ufsc.br> writes:
> Dear Camm,
>
> As you are the maintainer of the maxima package I am sending in a copy
> of the problem I found using the testing version of maxima on my
> debian potato.
>
> The function trigrat that is cited in the trigonometric section of the
> info file with an example silply cannot be accesed
>
> In the source code of the maxima 5.4 it appears as trigrat.lisp in the
> subdirectory maxima5-4/share and is different from the remaining
> remaing function suffixes. Some of them are .lsp (not .lisp).
>
> I dont know how to overcome this problem and I am not a lisp
> programmer (sorry!)
>
> Anyway I am describing below a sample session. Ate the end the
> comments in the info file regarding trigrat
>
>
> ***************************************************************
>
>
> Thu 4:05pm ~ >maxima
> GCL (GNU Common Lisp) Version(2.3) Sun Aug 20 20:05:49 CEST 2000
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
> Maxima 5.4 Sun Aug 20 20:05:46 CEST 2000 (with enhancements by W. Schelter).
> Licensed under the GNU Public License (see file COPYING)
> (C1) trigrat(sin(3*a)/sin(a+%pi/3));
>
> Could not find `trigrat' using paths in FILE_SEARCH_LISP,SYSTEM
>
> (combined values: [./###.{o,lsp,lisp},
>
> /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
>
> /usr/lib/maxima-5.4/{src,share1,sym}/###.o,
>
> /usr/lib/maxima-5.4/{src,share1}/###.lisp, /usr/lib/maxima-5.4/{sym}/###.lsp,
>
> /usr/lib/maxima-5.4/src/../{src,share,share1,sharem}/foo.{mc,mac}] )
> #0: TRIGRAT(?_l=[SIN(3*a)/SIN(a+%PI/3)])
> -- an error. Quitting. To debug this try DEBUGMODE(TRUE);)
> (C2)
>
>
>
>
> ***************************************************************
>
> - Function: TRIGRAT (trigexp)
> gives a canonical simplifyed quasilinear form of a trigonometrical
> expression; trigexp is a rational fraction of several sin, cos or
> tan, the arguments of them are linear forms in some variables (or
> kernels) and %pi/n (n integer) with integer coefficients. The
> result is a simplifyed fraction with numerator and denominator
> linear in sin and cos. Thus TRIGRAT linearize always when it is
> possible.(written by D. Lazard).
>
> (c1) trigrat(sin(3*a)/sin(a+%pi/3));
>
> (d1) sqrt(3) sin(2 a) + cos(2 a) - 1
>
> Here is another example (for which the function was intended); see
> [Davenport, Siret, Tournier, Calcul Formel, Masson (or in english,
> Addison-Wesley), section 1.5.5, Morley theorem). Timings are on
> VAX 780.
>
> (c4) c:%pi/3-a-b;
>
> %pi
> (d4) - b - a + ---
> 3
>
> (c5) bc:sin(a)*sin(3*c)/sin(a+b);
>
> sin(a) sin(3 b + 3 a)
> (d5) ---------------------
> sin(b + a)
>
> (c6) ba:bc,c=a,a=c$
>
> (c7) ac2:ba^2+bc^2-2*bc*ba*cos(b);
>
> 2 2
> sin (a) sin (3 b + 3 a)
> (d7) -----------------------
> 2
> sin (b + a)
>
> %pi
> 2 sin(a) sin(3 a) cos(b) sin(b + a - ---) sin(3 b + 3 a)
> 3
> - --------------------------------------------------------
> %pi
> sin(a - ---) sin(b + a)
> 3
>
> 2 2 %pi
> sin (3 a) sin (b + a - ---)
> 3
> + ---------------------------
> 2 %pi
> sin (a - ---)
> 3
>
> (c9) trigrat(ac2);
> Totaltime= 65866 msec. GCtime= 7716 msec.
>
> (d9)
> - (sqrt(3) sin(4 b + 4 a) - cos(4 b + 4 a)
>
> - 2 sqrt(3) sin(4 b + 2 a)
>
> + 2 cos(4 b + 2 a) - 2 sqrt(3) sin(2 b + 4 a) + 2 cos(2 b + 4 a)
>
> + 4 sqrt(3) sin(2 b + 2 a) - 8 cos(2 b + 2 a) - 4 cos(2 b - 2 a)
>
> + sqrt(3) sin(4 b) - cos(4 b) - 2 sqrt(3) sin(2 b) + 10 cos(2 b)
>
> + sqrt(3) sin(4 a) - cos(4 a) - 2 sqrt(3) sin(2 a) + 10 cos(2 a)
>
> - 9)/4
>
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
From mtest@mail.ma.utexas.edu Fri Apr 13 23:11:16 2001
Received: from dell5.ma.utexas.edu (dell5.ma.utexas.edu [146.6.139.126])
by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id f3E4BGM12152
for <maxima@math.utexas.edu>; Fri, 13 Apr 2001 23:11:16 -0500
Received: from linux34.ma.utexas.edu (root@linux34.ma.utexas.edu [128.83.133.5])
by dell5.ma.utexas.edu (8.9.3/8.9.1) with ESMTP id XAA05118
for <maxima@www.ma.utexas.edu>; Fri, 13 Apr 2001 23:11:15 -0500
Received: (from mtest@localhost)
by linux34.ma.utexas.edu (8.9.3/8.9.1) id XAA00727;
Fri, 13 Apr 2001 23:11:15 -0500