• DocumentCode
    1031064
  • Title

    Machine independent AND and OR parallel execution of logic programs. II. Compiled execution

  • Author

    Ramkumar, Balkrishna ; Kalé, Laxmikant V.

  • Author_Institution
    Dept. of Electr. & Comput. Eng., Iowa Univ., Iowa City, IA, USA
  • Volume
    5
  • Issue
    2
  • fYear
    1994
  • fDate
    2/1/1994 12:00:00 AM
  • Firstpage
    181
  • Lastpage
    192
  • Abstract
    For pt.I. see ibid., p. 170-80. In pt.I, we presented a binding environment for the AND and OR parallel execution of logic programs. This environment was instrumental in rendering a compiler for the AND and OR parallel execution of logic programs machine independent. In this paper, we describe a compiler based on the Reduce-OR process model (ROPM) for the parallel execution of Prolog programs, and provide performance of the compiler on five parallel machines: the Encore Multimax, the Sequent Symmetry, the NCUBE 2, the Intel i860 hypercube and a network of Sun workstations. The compiler is part of a machine independent parallel Prolog development system built on top of a run time environment for parallel programming called the Chare kernel, and runs unchanged on these multiprocessors. In keeping with the objectives behind the ROPM, the compiler supports both on and independent AND parallelism in Prolog programs and is suitable for execution on both shared and nonshared memory machines. We discuss the performance of the Prolog compiler in some detail and describe how grain size can be used to deliver performance that is within 10% of the underlying sequential Prolog compiler on one processor, and scale linearly with increasing number of processors on problems exhibiting sufficient parallelism. The loose coupling between parallel and sequential components makes it possible to use the best available sequential compiler as the sequential component of our compiler
  • Keywords
    logic programming; multiprocessing systems; parallel programming; program compilers; Chare kernel; Encore Multimax; Intel i860 hypercube; NCUBE 2; Reduce-OR process model; Sequent Symmetry; Sun workstations; compiler; logic programs; parallel execution; parallel programming; performance; scale linearly; Grain size; Hypercubes; Instruments; Kernel; Logic; Parallel machines; Parallel programming; Program processors; Sun; Workstations;
  • fLanguage
    English
  • Journal_Title
    Parallel and Distributed Systems, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1045-9219
  • Type

    jour

  • DOI
    10.1109/71.265945
  • Filename
    265945