1 / 6

Parallel Programming using PVM (Parallel Virtual Machines) Douglas Moore 10 November 2003

Parallel Programming using PVM (Parallel Virtual Machines) Douglas Moore 10 November 2003 CS 775 – Distributed Systems. PVM – Parallel Virtual Machines A set of software tools (libraries) for making efficient use of a cluster (networked) of computers

early
Télécharger la présentation

Parallel Programming using PVM (Parallel Virtual Machines) Douglas Moore 10 November 2003

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parallel Programming using PVM (Parallel Virtual Machines) Douglas Moore 10 November 2003 CS 775 – Distributed Systems

  2. PVM – Parallel Virtual Machines • A set of software tools (libraries) for making efficient use of a cluster (networked) of computers • Presents the developer with ability to address networked computers as a single virtual machine in order to execute computational tasks • Heterogeneous architecture not required • (But requires more care in setup and makefile (aimk) configuration)

  3. Categories of operations supported • Process Management and Control • Message Packing and Sending • Message Unpacking and Receiving • Message Buffer Management • Task Signaling • Information and Utility Functions • Group Operations

  4. Process Management and Control • pvm_spawn • pvm_kill • pvm_exit • pvm_addhosts • pvm_delhosts • pvm_halt • Means by which processes are created, assigned to hosts, exited, and killed • Hosts may be added or deleted from PVM at runtime • PVM execution stopped by pvm_halt

  5. Message Packing, Sending, Unpacking, Receiving, and Buffer Management • May use XDR when passing between hosts with incompatible formats • May also use Raw data to send in format native to sending machine • Sender does not wait for acknowledgment • Message buffered at receiving end until received • PVM reliably delivers messages (if destination exists) • Message order from each sender to each receiver is preserved • PVM Interface hides socket programming details

  6. Simplified Architecture of a PVM Program Data A B Data Pack routines Send buffer Pack routines Send buffer PVM Send routines TCP Sockets Data PVM Send routines Data PVM unpack routines Receive buffer PVM unpack routines Receive buffer PVM Receive routines PVM Receive routines TCP Sockets TCP Sockets PVMD List of managed tasks Pvm task id 1 Pvm task id 2 Pvm task id 3 PVMD List of managed tasks Pvm task id 100 Pvm task id 102 Pvm task id 103 UDP Sockets

More Related