PVM� Parallel Virtual Machine

PVM� Parallel Virtual Machine

PVM Parallel Virtual Machine Scientic and Engineering Computation Janusz Kowalik Editor DataParal lel Programming on MIMD Computers by Philip J Hatcher and Michael J Quinn Unstructured Scientic Computation on Scalable Multiprocessors Mehrotra Jo el Saltz and Rob ert Voigt edited by Piyush Dynamics Implementations and Results Paral lel Computational Fluid edited by Horst D Simon Enterprise Integration Modeling Proceedings of the First International Conference J Petrie Jr edited by Charles High Performance Fortran Handbook The by Charles H Ko elb el David B Loveman Rob ert S Schreib er Guy L Steele Jr and Zosel Mary E Using MPI Portable Paral lel Programming with the MessagePassing Interface Gropp Ewing Lusk and Anthony Skjellum by William Paral lel Virtual Machine A Users Guide and Tutorial for Networked Paral lel PVM Computing by Al Geist Adam Beguelin Jack Dongarra Weicheng Jiang Rob ert Manchek and Vaidy Sunderam PVM Parallel Virtual Machine A Users Guide and Tutorial for Networked Parallel Computing Al Geist Adam Beguelin Jack Dongarra Weicheng Jiang Rob ert Manchek aidy Sunderam V The MIT Press Cambridge Massachusetts England London c Massachusetts Institute of Technology All rights reserved No part of this b o ok may b e repro duced in any form by any electronic or photo copying recording or information storage and retrieval without mechanical means including p ermission in writing from the publisher a T X by the authors and was printed and b ound in the United States of America This b o ok was set in L E Library of Congress CataloginginPublication Data This b o ok is also available in p ostscript and html forms over the Internet you can use one of the following metho ds To retrieve the p ostscript le anonymous ftp netlibcsutkedu ftp cd pvmbook get pvmbookps quit from any machine on the Internet typ e anonnetlibcsutkedupvmbookpvmbookps pvmbookps rcp sending email to netlibornlgov and in the message typ e send pvmbookps from pvmbook click pvm click b o ok click pvmpvmbo okps click use Xnetlib and click library download click Get Files Now Xnetlib is an Xwindow interface to the netlib software based on from xnetlib a clientserver mo del The software can b e found in netlib send index To view the html le use the URL httpwwwnetliborgpvmbookpvmbookhtml Contents Series Foreword xi Preface xiii Intro duction Heterogeneous Network Computing rends in Distributed Computing T PVM Overview Other Packages The p System Express MPI The Linda System The PVM System Using PVM How to Obtain the PVM Software Setup to Use PVM Setup Summary Starting PVM Common Startup Problems Running PVM Programs PVM Console Details Host File Options Basic Programming Techniques Common Parallel Programming Paradigms Crowd Computations Tree Computations Workload Allo cation Data Decomp osition Function Decomp osition vi Contents Porting Existing Applications to PVM PVM User Interface Pro cess Control Information Dynamic Conguration Signaling Setting and Getting Options Message Passing Message Buers Packing Data Sending and Receiving Data Unpacking Data Dynamic Pro cess Groups Program Examples ForkJoin Dot Pro duct Failure Matrix Multiply OneDimensional Heat Equation Dierent Styles of Communication How PVM Works Comp onents Task Identiers Architecture Classes Message Mo del Asynchronous Notication PVM Daemon and Programming Library Messages Fragments and Databufs Contents vii Messages in Libpvm Messages in the Pvmd Pvmd Entry Points Control Messages PVM Daemon Startup Shutdown Host Table and Machine Conguration Tasks Wait Contexts Fault Detection and Recovery Pvmd Starting Slave Pvmds Resource Manager Libpvm Library Language Supp ort Connecting to the Pvmd Proto cols Messages PvmdPvmd PvmdTask and TaskTask Message Routing Pvmd Pvmd and Foreign Tasks Libpvm Multicasting Task Environment Environment Variables Standard Input and Output Tracing Debugging Console Program Resource Limitations viii Contents In the PVM Daemon In the Task Multipro cessor Systems MessagePassing Architectures SharedMemory Architectures Optimized Send and Receive on MPP Advanced Topics XPVM Network View SpaceTime View Other Views Porting PVM to New Architectures Unix Workstations Multipro cessors Troublesho oting Getting PVM Installed Set PVM ROOT OnLine Manual Pages Building the Release Errors During Build Compatible Versions Getting PVM Running Pvmd Log File Pvmd So cket Address File Starting PVM from the Console Starting the Pvmd by Hand Adding Hosts to the Virtual Machine PVM Host File Shutting Down Compiling Applications Header Files Contents ix Linking Running Applications Spawn Cant Find Executables Group Functions Memory Use Input and Output Scheduling Priority Resource Limitations Debugging and Tracing Debugging the System Runtime Debug Masks Tickle the Pvmd Starting Pvmd under a Debugger Sane Heap Statistics Glossary A History of PVM Versions B PVM Routines Bibliography Index Series Foreword The world of mo dern computing p otentially oers many helpful metho ds and to ols to scientists and engineers but the fast pace of change in computer hardware software and The algorithms often makes practical use of the newest computing technology dicult Scientic and Engineering Computation series fo cuses on rapid advances in computing technologies and attempts to facilitate transferring these technologies to applications in science and engineering It will include b o oks on theories metho ds and original applications in such areas as parallelism largescale simulations timecritical computing computeraided design and engineering use of computers in manufacturing visualization of scientic data and humanmachine interface technology The series will help scientists and engineers to understand the current world of ad vanced computation and to anticipate future developments that will impact their com puting environments and op en up new capabilities and mo des of computation This volume presents a software package for developing parallel programs executable allows on networked Unix computers The to ol called Parallel Virtual Machine PVM a heterogeneous collection of workstations and sup ercomputers to function as a single highp erformance parallel machine PVM is p ortable and runs on a wide variety of mo dern platforms It has b een well accepted by the global computing community and used successfully for solving largescale problems in science industry and business Janusz S Kowalik Preface In this b o ok we describ e the Parallel Virtual Machine PVM system and how to develop programs using PVM PVM is a software system that p ermits a heterogeneous collection of Unix computers networked together to b e viewed by a users program as a single parallel computer PVM is the mainstay of the Heterogeneous Network Computing research pro ject a collab orative venture b etween Oak Ridge National Lab oratory the University of Tennessee Emory University and Carnegie Mellon University The PVM system has evolved in the past several years into a viable technology for distributed and parallel pro cessing in a variety of disciplines PVM supp orts a straight forward but functionally complete messagepassing mo del PVM is designed to link computing resources and provide users with a parallel platform for running their computer applications irresp ective of the numb er of dierent computers they use and where the computers are lo cated When PVM is correctly installed it is capable of harnessing the combined resources of typically heterogeneous networked computing platforms to deliver high levels of p erformance and functionality In this b o ok we describ e the architecture of the PVM system and discuss its computing the programming interface it supp orts auxiliary facilities for pro cess groups mo del the use of PVM on highly parallel systems such as the Intel Paragon Cray TD and Thinking Machines CM and some of the internal implementation techniques employed Performance issues dealing primarily with communication overheads are analyzed and recent ndings as well as enhancements are presented To demonstrate the viability of PVM for largescale scientic sup ercomputing we also provide some example programs This b o ok is not a textb o ok rather it is meant to provide a fast entrance to the world of heterogeneous network computing We intend this b o ok to b e used by two groups students and researchers working with networks of computers As such we of readers hop e this b o ok can serve b oth as a reference and as a supplement to a teaching text on asp ects of network computing This guide will familiarize readers with the basics of PVM and the concepts used in programming on a network The information provided here will help with the following PVM tasks Writing a program in PVM Building PVM on a system Starting PVM on a set of machines Debugging a PVM application xiv Preface A Bit of History The PVM pro ject b egan in the summer of at Oak Ridge National Lab oratory The prototyp e system PVM was constructed by Vaidy Sunderam and Al Geist this version of the system was used internally at the Lab and was not released to the outside Version of PVM was written at the University of Tennessee and released in March During the following year PVM b egan to b e used in many scientic applications After user feedback and a numb er of changes

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    298 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us