
		KANT   (Computational  Algebraic  Number  Theory)

Kant is subroutine  package for algorithms  from geometry of numbers and  
algebraic number theory.

There are  two versions of  Kant:  Kant  V1 is written  in Ansi-Fortran 77,
while Kant V2 is built on the Cayley Platform and written in Ansi-C.  These
two versions are available from KANT Group: Prof.   Dr.  M.  E. Pohst / Dr.
Johannes     Graf       v.      Schmettow,    Mathematisches      Institut,
Heinrich-Heine-Universit\"at,  Universit\"atsstr. 1, D-4000 D\"usseldorf 1, 

See information on anonymous FTP dowload below.

Installation of KANT

KANT is written in Standard-C, so it should run on every machine which has
a C-compiler. Probably even no 32-bit architecture is needed.
A restriction might be given by the minimal memory of the computer:
We guess that 2~MB is minimum for most of the KANT programs.
On a machine with small memory one should resize the workspace in the
main programs. Another problem might be the maximal allowed length of
parameter names.

Installing KANT on Unix machines 

KANT usually comes in a 'tar'ed and 'compress'ed Unix file with a size
of  1-2 MB. 'uncompress'ing and un'tar'ing should create a directory
called 'V2' (or similar) containing the following subdirectories:

'MEM':
Contains the memory management package of Allan Steel.
MEM is independent from the rest of the Platform or KANT.
  
'Platform':
Contains all source files (currently around 600) of the Platfrom 
of  CALYEY Group. In addition,extended features for computations with 
polynomials or matrices or arbitrary rings are also in this directory.

'Anf':
Here you find all sources of the number field package, currently
roughly 250.
  
'include': 
All header files as used by the Platform and KANT. 

'doc':
Here you find some documentation on KANT, especially the LaTeX sources
of the manual (roughly 100 pages).

'lib':
Here will the KANT library 'libKant2.a' be installed.

'mains':
Sample main programs performing the most important features of KANT.
These programs are explained in further detail in the manual and the
I/O format in too. There are also sample input files in
this directory (suffix '.in') and reference output files of
the Apollo workstations of the KANT Group (suffix '.out.ref'). The Shell
script 'check' runs a few of the main programs and compares the
output files with the reference files (using 'diff' to <stdout>).

'f':
Collection of Fortran subroutines from KANT which are needed if one
wants to use the interface program 'v1\_to\_v2.x'. In the default
installation procedure these objects will not be created.

Installing KANT 

Firstly  you have to decide if you want to run the <develop> or
<export> version of KANT. The latter one will be several times
faster whereas the first one does quite a few checks more.
You simply have to edit the file 'Makefile.inc' in the main
KANT directory and change the lines indicated by the comments 
<Develop version> and <Export version> appropriately.

Now perform a 'make' in the main KANT directory. This should do everything
for you, in particular compile all sources, put the objects into
the library 'V2/lib/libKant2.a' and link the programs in 'V2/mains'.
     


How to get KANT:

You can get KANT in a 'tar'ed and 'compress'ed file via anonymous ftp
from the node

      internet number 134.99.128.3

in the directory 'kant'. 

			Max Juentgen <JUENTGEN@ze8.rz.uni-duesseldorf.de>
