home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / progs / pari / pari_137 / readme.1st < prev    next >
Text File  |  1992-09-17  |  3KB  |  71 lines

  1. ===============================================================
  2.         GP-PARI FOR DOS AND OS/2
  3. ===============================================================
  4.  
  5.  
  6. This is a port of the gp-pari system using Eberhard Mattes' emx
  7. development package for OS/2 and DOS. It is in no way supported by
  8. Henri Cohen or the other authors of gp-pari. See the notes below for
  9. what is provided. This port requires at least a 386 processor and a
  10. 387 coprocessor (or a 486DX) to run. It will run under DOS 3.3 or
  11. higher, and under OS/2 2.0 or higher. Under DOS, it does not support
  12. DPMI, and hence does not run under Microsoft Windows. (See
  13. emxuser.doc for the specifics.)
  14.  
  15. PARI is a system for high speed, high precision calculation. It was
  16. designed for mathematicians doing research in number theory, but may
  17. be useful to others who have a need for computations of this type.
  18. See the enclosed documentation (in the tex subdirectory).
  19.  
  20. PARI includes a library of C functions and a standalone front end,
  21. the GP calculator. This archive includes a compiled version of GP.EXE
  22. and the full source for the library. (To be precise, this is the
  23. source for the "portable" version of the system; we have not included
  24. those files specific to other systems, such as the files using the
  25. 68020 assembly language.) There should be no difficulty in using the
  26. library with emx and the gcc compiler (available from ftp-os.nmsu.edu
  27. and rusinfo.rus.uni-stuttgart.de).
  28.  
  29. Installation instructions for GP.EXE under DOS and OS/2 are given in
  30. the files install.dos and install.os2. Please be careful to install
  31. the emx files correctly, since the program will not run without them.
  32. See the readme.emx file and the emxuser.doc file for more information
  33. about emx.
  34.  
  35. ===================================================================
  36.  
  37. The only modifications to the portable source files are as follows:
  38.  
  39. 1) the makefile was rewritten to work under OS/2 (rm turned into del,
  40. and so on),
  41.  
  42. 2) the call to <sys/resource.h> was commented out,
  43.  
  44. 3) the timer() code in gp.c was rewritten to use the timing functions
  45. provided with emx.
  46.  
  47.  
  48. Known problems: 
  49.  
  50. 1) The postploth() function seems to generate an access violation.
  51. This is the only failure when running the test file provided via
  52. gp<testin>fileout. (Tested under OS/2, not under DOS; sorry.) A core
  53. dump is generated, and the process is killed.
  54.  
  55.  
  56.  
  57. Remark:
  58.  
  59. Henri Cohen has remarked that it would be possible to vastly increase
  60. the speed of the program by replacing parts of mp.c with assembly
  61. language code. Programmers interested in doing this should contact me
  62. or him directly.
  63.  
  64. This version of GP is offered with no guarantees whatsoever, and no
  65. promise of support. I hope you find it useful.
  66.  
  67.  
  68. =============================================================
  69. Fernando Q. Gouvea
  70. fqgouvea@colby.edu
  71.