home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / basic / compiler / ubasic / ubmpqs32 / mpqshd.doc < prev    next >
Text File  |  1990-12-09  |  2KB  |  81 lines

  1. MPQSHD.DOC
  2.  
  3.   MPQSHD(for 80386üj is a prime factorization program for 
  4. the numbers of over 80 digits.  The method is the multiple 
  5. polynomial quadratic sieve.
  6.  
  7.  
  8. * Machine spec
  9.  
  10.   CPU    : 80386(SX,DX)
  11.   MEMORY : 640MBytes main + 1MBytes extended or more
  12.   HDD    : 20MBytes for 72 digits
  13.            40MBytes for 78 digits
  14.            60MBytes for 81 digits
  15.            94MBytes for 84 digits
  16.  
  17.   Set CONFIG.SYS as follows
  18.     BUFFERS = 20
  19.     FILES = 20
  20.  
  21.  
  22. * Notice
  23.   Don't break the program in the MPQSHD3 and 4 because you cannot use
  24.  FREEZE-MELT at those times.  If you broke the program, re-run from MPQSHD3.
  25.  
  26.  
  27. * Break and restart the 2nd program.
  28.  
  29.   It takes over 1 month for the factorization of the numbers of
  30.  over 80 digits.  You must break and restart the program many times.
  31.  But you cannot use FREEZE-MELT because these programs run in the
  32.  protected mode.  Do as follows:
  33.  
  34.  Break
  35.  1) Break MPQSHD2 by pressing CTRL+C.
  36.  2) Return to MS-DOS by SYSTEM.
  37.  
  38.  Restart
  39.  
  40. 1) Run MPQSHD2
  41. 2) Select 'Continue' in the MENU.
  42.  
  43.  
  44. * Distribution to many machines
  45.  
  46.   You can separate the work into many parts running on independent
  47. machines.
  48.  
  49. 1) Run MPQSHD1 on the host machine and return to MS-DOS.
  50.  
  51. 2) Copy MPQSDATA.UBD into many floppy disks of the satellite machines.
  52.    Also copy the following files:
  53.       UBIBM32.EXE
  54.       UBCONST7.DATA
  55.       MPQSHD2.UB
  56.       MPQSHD2.UBB
  57.       MPQSHD2P.UBB
  58.  
  59. 3) Run MPQSHD2 on the host and the satellites.
  60.  
  61. 4) When the satellite floppy becomes full, do 'print done' and memo the 
  62.    result.  This value means you have just got the data of this quantity.
  63.    Return to MS-DOS and Repeat from 2) with the new floppy. 
  64.  
  65. 5) If the total of these data exceeds the 'PRIMES' then the sieving 
  66.    is finished.  Do the following:
  67.     a) Break the host and re-run(not cont).
  68.     b) Select 'Read data' in the MENU.
  69.     c) Read all the fllopies made by the satellites.
  70.     d) Select 'Continue' in the MENU.
  71.  
  72.  
  73. * Using 2 HDDs for the 3rd and 4th programs.
  74.  
  75.   You can use 4 HDDs.
  76.   Rewrite  Drv1%,SZ1,Drv2%,SZ2,Drv3%,SZ3,Drv4%,SZ4 at the top of MPQSHD3.
  77.   Assign the faster drive for Drv2%.
  78.  
  79. /*  The machine language subroutines are made with TASM and TLINK,
  80.  the products of Borland international. */
  81.