home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
progs
/
pari
/
pari_137
/
readme.1st
< prev
next >
Wrap
Text File
|
1992-09-17
|
3KB
|
71 lines
===============================================================
GP-PARI FOR DOS AND OS/2
===============================================================
This is a port of the gp-pari system using Eberhard Mattes' emx
development package for OS/2 and DOS. It is in no way supported by
Henri Cohen or the other authors of gp-pari. See the notes below for
what is provided. This port requires at least a 386 processor and a
387 coprocessor (or a 486DX) to run. It will run under DOS 3.3 or
higher, and under OS/2 2.0 or higher. Under DOS, it does not support
DPMI, and hence does not run under Microsoft Windows. (See
emxuser.doc for the specifics.)
PARI is a system for high speed, high precision calculation. It was
designed for mathematicians doing research in number theory, but may
be useful to others who have a need for computations of this type.
See the enclosed documentation (in the tex subdirectory).
PARI includes a library of C functions and a standalone front end,
the GP calculator. This archive includes a compiled version of GP.EXE
and the full source for the library. (To be precise, this is the
source for the "portable" version of the system; we have not included
those files specific to other systems, such as the files using the
68020 assembly language.) There should be no difficulty in using the
library with emx and the gcc compiler (available from ftp-os.nmsu.edu
and rusinfo.rus.uni-stuttgart.de).
Installation instructions for GP.EXE under DOS and OS/2 are given in
the files install.dos and install.os2. Please be careful to install
the emx files correctly, since the program will not run without them.
See the readme.emx file and the emxuser.doc file for more information
about emx.
===================================================================
The only modifications to the portable source files are as follows:
1) the makefile was rewritten to work under OS/2 (rm turned into del,
and so on),
2) the call to <sys/resource.h> was commented out,
3) the timer() code in gp.c was rewritten to use the timing functions
provided with emx.
Known problems:
1) The postploth() function seems to generate an access violation.
This is the only failure when running the test file provided via
gp<testin>fileout. (Tested under OS/2, not under DOS; sorry.) A core
dump is generated, and the process is killed.
Remark:
Henri Cohen has remarked that it would be possible to vastly increase
the speed of the program by replacing parts of mp.c with assembly
language code. Programmers interested in doing this should contact me
or him directly.
This version of GP is offered with no guarantees whatsoever, and no
promise of support. I hope you find it useful.
=============================================================
Fernando Q. Gouvea
fqgouvea@colby.edu