[7] | 1 | Dear User:
|
---|
| 2 |
|
---|
[318] | 3 | This archive contains files which provide Grobner basis support for the
|
---|
[338] | 4 | free computer algebra system Maxima.
|
---|
| 5 |
|
---|
| 6 | == INSTALLATION INSTRUCTIONS ==
|
---|
| 7 |
|
---|
| 8 | In order to use the package,
|
---|
[318] | 9 | 1. Copy the files in this directory to your favorite location;
|
---|
| 10 | or better, checkout the contents of this repository with SVN.
|
---|
| 11 | 2. Edit the file "grobner.mac" to modify the location of the Lisp
|
---|
| 12 | files, to reflect your choice made in previous step.
|
---|
| 13 | 3. Start your Maxima and load the file "grobner.mac"
|
---|
| 14 | 4. Optionally, compile the Lisp files, so that the next file
|
---|
| 15 | you load "grobner.mac", the compiled (.fasl) versions of
|
---|
[320] | 16 | the files will be loaded. The compilation instructions
|
---|
| 17 | vary slightly depending on Lisp version.
|
---|
[7] | 18 |
|
---|
[318] | 19 | This version has been verified to work under this Maxima version:
|
---|
[328] | 20 |
|
---|
[318] | 21 | ----------------------------------------------------------------
|
---|
| 22 | Maxima 5.34.1 http://maxima.sourceforge.net
|
---|
| 23 | using Lisp SBCL 1.2.4-1.fc21
|
---|
| 24 | ----------------------------------------------------------------
|
---|
[7] | 25 |
|
---|
[9] | 26 | It should also be portable across other ANSI Common Lisp implementations.
|
---|
[8] | 27 |
|
---|
[7] | 28 | The file grobner.demo is a Macsyma-style demo file for most of the operations
|
---|
| 29 | provided by the package. In order to run it, go to the Maxima level and
|
---|
| 30 | type:
|
---|
| 31 |
|
---|
| 32 | demo("grobner.demo");
|
---|
| 33 |
|
---|
| 34 | or
|
---|
| 35 |
|
---|
| 36 | batch("grobner.demo");
|
---|
| 37 |
|
---|
| 38 | and watch the demonstration.
|
---|
| 39 |
|
---|
| 40 | Maxima documentation for this package has not been written yet, but
|
---|
| 41 | there is a sizable amount of documentation in the LISP source.
|
---|
| 42 |
|
---|
[330] | 43 | == COMPILATION INSTRUCTIONS FOR SBCL ==
|
---|
[7] | 44 |
|
---|
[336] | 45 | === When using ASDF (preferred way):
|
---|
[321] | 46 | ----------------------------------------------------------------
|
---|
[320] | 47 | > (require :asdf)
|
---|
| 48 | > (load "ngrobner.asd")
|
---|
| 49 | > (asdf:install-system :ngrobner)
|
---|
[321] | 50 | ----------------------------------------------------------------
|
---|
[334] | 51 | The compiled files (extension .fasl for SBCL) will be typically
|
---|
| 52 | placed in a standard location determined by the ASDF configuration. On my system it is:
|
---|
| 53 | ----------------------------------------------------------------
|
---|
| 54 | /home/marek/.cache/common-lisp/sbcl-1.2.4-1.fc21-linux-x64/home/marek/Repos/MaximaGrobner/branches/f4grobner/
|
---|
| 55 | ----------------------------------------------------------------
|
---|
| 56 | given that the SVN repository was copied to /home/marek/Repos/MaximaGrobner.
|
---|
[320] | 57 |
|
---|
[334] | 58 | === When not using ASDF (for whatever reason):
|
---|
| 59 |
|
---|
[332] | 60 | Step 1. Start SBCL in the directory which is a copy of this directory.
|
---|
| 61 | Step 2. Execute Lisp commands:
|
---|
[329] | 62 | ----------------------------------------------------------------
|
---|
| 63 | > (load "ngrobner-package.lisp")
|
---|
| 64 | > (ngrobner::compile-ngrobner)
|
---|
| 65 | ----------------------------------------------------------------
|
---|
[320] | 66 |
|
---|
[335] | 67 | The resulting compiled files (extension .fasl for SBCL) will end up in
|
---|
| 68 | the same folder as the Lisp files. Then can be moved any directory
|
---|
| 69 | where Maxima can find them, as determined by the variable
|
---|
| 70 | file_search_lisp. This variable needs to be modified in "grobner.mac"
|
---|
| 71 | accordingly. After that, every time you load "grobner.mac" the
|
---|
| 72 | compiled version will be used.
|
---|
| 73 |
|
---|
[330] | 74 | == ADDITIONAL COMMENTS ==
|
---|
| 75 |
|
---|
[319] | 76 | The files were derived the sources of a package CGBlisp, version 2,
|
---|
| 77 | also authored by me, which will eventually be released at my Web site
|
---|
| 78 | (see below). An older version of CGBlisp is available at the Web
|
---|
| 79 | site.
|
---|
[7] | 80 |
|
---|
| 81 | Enjoy.
|
---|
| 82 | --Marek Rychlik
|
---|
| 83 |
|
---|
| 84 | 5-24-2002
|
---|
| 85 | Revised: 1-25-2009
|
---|
[316] | 86 | Revised: 1-25-2015
|
---|
[7] | 87 |
|
---|
| 88 | E-mail: rychlik@u.arizona.edu
|
---|
[317] | 89 | URL: http://marekrychlik.com
|
---|