tutorials_sc2003

tutorials_sc2003 - Programming in the Partitioned Global...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Programming in the Partitioned Global Address Space Model Programming in the Partitioned Global Address Space Model Bill Carlson, IDA Tarek El-Ghazawi, GWU Robert Numrich, U. Minnesota Kathy Yelick, UC Berkeley Bill Carlson, IDA Tarek El-Ghazawi, GWU Robert Numrich, U. Minnesota Kathy Yelick, UC Berkeley SC 2003 S09: Programming with the Partitioned Global Address Space Model 2 11/16/03 Table of Contents 122 - 196 Programming in Co-Array Fortran 252 - 255 Conclusions and Remarks 197 - 251 Programming in Titanium 29 - 121 Programming with UPC 3 - 28 Welcome and Introductions Slides Topic Introduction to the PGAS Model Introduction to the PGAS Model Bill Carlson IDA- Center for Computing Sciences [email protected] Bill Carlson IDA- Center for Computing Sciences [email protected] SC 2003 S09: Programming with the Partitioned Global Address Space Model 4 11/16/03 Naming Issues ¡ Focus of this tutorial Partitioned Global Address Space (PGAS) Model, aka Distributed Shared Memory Programming Model (DSM), aka Locality Conscious Shared Space Model, … SC 2003 S09: Programming with the Partitioned Global Address Space Model 5 11/16/03 Outline of the Day ¡ Introduction to PGAS Model ¡ UPC Programming ¡ Co-Array Fortran Programming ¡ Titanium Programming ¡ Summary SC 2003 S09: Programming with the Partitioned Global Address Space Model 6 11/16/03 Outline of this Talk ¡ Basic Concepts Applications Programming Models Computer Systems ¡ The Program View ¡ The Memory View ¡ Synchronization ¡ Performance AND Ease of Use SC 2003 S09: Programming with the Partitioned Global Address Space Model 7 11/16/03 Parallel Programming Models ¡ What is a programming model? A view of data and execution Where architecture and applications meet ¡ Best when a “contract” Everyone knows the rules Performance considerations important ¡ Benefits Application - independence from architecture Architecture - independence from applications SC 2003 S09: Programming with the Partitioned Global Address Space Model 8 11/16/03 The Data Parallel Model ¡ Easy to write and comprehend, no synchronization required ¡ No independent branching ¡ Example: HPF … Different Data / address spaces Network Process SC 2003 S09: Programming with the Partitioned Global Address Space Model 9 11/16/03 The Message Passing Model ¡ Programmers control data and work distribution ¡ Explicit communication, two-sided ¡ Library-based ¡ Excessive buffering ¡ Significant communication overhead for small transactions ¡ Example: MPI Network Process Address space SC 2003 S09: Programming with the Partitioned Global Address Space Model 10 11/16/03 The Shared Memory Model ¡ Simple statements read remote memory via an expression write remote memory through assignment ¡ Manipulating shared data may require synchronization ¡ Does not allow locality exploitation ¡ Example: OpenMP Shared address space Thread Shared Variable x Thread Thread … SC 2003 S09: Programming with the Partitioned Global Address Space Model...
View Full Document

This note was uploaded on 12/27/2011 for the course CMPSC 240A taught by Professor Gilbert during the Fall '09 term at UCSB.

Page1 / 255

tutorials_sc2003 - Programming in the Partitioned Global...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online