We present a package of parallel algorithms for multiple precision arithmetic, implemented by using a mesaagepassing model of computation.These algorithms are organized in an object oriented library and perform parallel arithmetic in Z, Q, and ZP.The library hss a layered structure which provides ports bility and the possibility of extending the code e=ily. In the bottom layer we implement fundamental parallel algorithms which are machine dependent. Starting from integer mu]triplication, we developed different parallel Karatsub&type and FFT-b=ed schemes, including the integer 3-primes and floating-point FFT algorithms. These multiplication algorithms allowed us to design a pamllel Newton method for division. Parallel algorithms for modular arithmetic result by using both Montgomery's and classical arithmetic.We designed these algorithms under a messag~passing model of computation.These are implemented on different parallel platforms, targeting both distributed memory machhes, such as mwiively parallel processing systems and networks of workst ations, and shared memory architectures. We developed both architecture dependent and architecture independent algorithms by using standard interfaces such as the Message Passing Interface, MPI.On top of this layer we provide a convenient interface to the user which allows a sequential programming style, whale each algorithm is executed in parallel. At this level it is possible for the user to implement high level parallel algorithms, such m the GCD, which are machine independent.Finally we integrated our package in a computer algebra system, which uses a sequential frontend for interactive use, and a parallel backend for computation.We have called this package CALYPSO, a sort of acronym for computer Algebru Libmry for Pamllel Symbolic Computation.Permission to make digital/hard copy of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage, the copyright notice, the title of the publication and its date appear, and notice is given that copying is by permission of ACM, Inc. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. PASCO'97, Wailea, Maui, Hawaii; @1997 ACM 0-89791-951-3/97/0007. . .US$3.50
ComputationThe motivation of our work, that is writing a package for parallel multiple precision arithmetic, originates from a more general instance d~igning and implementing a parallel computer algebra system to solve practical problems which are still intractable with the existing software. We are thinkingof problems such as integer and polynomial factorization, Grobner basis computation, symbolic solution of large systems of equations, solution of differential equations. These problems are definitely not solved either by general purpose systems such as MATHEMATICAL [43] or MAPLE [12], nor by dedicated systems. On the other hand, with the lat@ advances in parallel computer hardware, the large amo...