Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dr. Barry Wilkinson University of North Carolina Charlotte

Similar presentations


Presentation on theme: "Dr. Barry Wilkinson University of North Carolina Charlotte"— Presentation transcript:

1 Parallel Programming Fall 2012 Tuesday/Thursday 11:00 am - 12:15 pm Instructors
Dr. Barry Wilkinson University of North Carolina Charlotte Dr. Clayton Ferner University of North Carolina Wilmington © B. Wilkinson/Clayton Ferner. Modification date: Aug 23, 2012 outline.1 1 1

2 Outline These slides constitute the course outline and include the course syllabus and course policies.

3 Parallel Computing The use of multiple processors or computers to solve problems at a greater computational speed than using a single computer/processor. Basic idea is simple – using n computers/ processors collectively on a problem should lead to a faster solution. Can tackle problems that could not be solved in a reasonable time otherwise. Also solve problems with higher precision and/or with more memory requirements.

4 Computer platforms for parallel computing
Multiple interconnected computers - Cluster Computing, group of interconnected computers typically using Ethernet switch and physically all in one room. 2. A single computer system with multiple internal processors or cores - Usually shares a common main memory Computer system with attached graphic processing unit (GPU) - GPUs have large number of execution cores, now used for high performance computing as well as original graphics application Combination of above most likely.

5 UNCC cluster coit-grid01.uncc.edu – coit-grid7.uncc.edu
Has all three types of platform. Login from within the campus only Login from on-campus or off-campus coit-grid01 coit-grid02 coit-grid03 coit-grid04 coit-grid07 coit-grid06 coit-grid01-4: Each two Xeon processors (3.4Ghz) 8GB main memory NVIDIA Tesla GPU (448 core Fermi) NVIDIA Tesla GPU (448 core Fermi) coit-grid07: GPU server, X GHz quad-core Xeon processor with NVIDIA 2050 GPU, 12GB main memory coit-grid06: GPU server with NVIDIA 2050 GPU, switch coit-grid05: Dell R900, four quad-core Xeon processors (2.93Ghz) 64GB main memory 1.2 TB disk coit-grid05 All user’s home directories on coit-grid05 (NFS)

6 Course Prerequisites UNC-C Catalog prerequisites: ITCS 2214 (Data Structures) and ITCS 3181/3182 (Computer Architecture). ITCS 3181/2 not strictly necessary so long as you know what a computer consists of (processors, memory and I/O) and how it operates. What is needed -- basic skills in C and Java.

7 Course Text Parallel Programming: Techniques and Application Using Networked Workstations and Parallel Computers, 2nd edition, by B. Wilkinson and M. Allen, Prentice Hall Inc., 2005, ISBN On-line notes are provided that are derived from the course text – with some updated materials from 2005

8 Home Pages http://coit-grid01.uncc.edu/abw/ITCS4145F12/
For course notes, assignments, announcements, etc.: Password protected: Username: pablo Password: rp19zb39 Please check before each class. Home page also found from link at

9 Course Contents (See course slides for detailed description)
Parallel computers: architectural types, shared memory, message passing, interconnection networks, potential for increased speed. (New) Parallel patterns for structured parallel programming, various patterns, use of Seeds framework to create distributed computations. Message passing: MPI message passing APIs, send, receive, collective operations. Running MPI programs on a cluster.

10 Course Contents (Continued)
(New) Introduction to the Paraguin compiler, parallel region, forall, broadcast, gather (New) More computation patterns and their application, divide and conquer, pipeline, iterative synchronous all-to-all, stencil.

11 Course Contents (Continued)
Programming with shared memory programming: Specifying parallelism, sharing data, critical sections, threads, OpenMP. Running threaded/ OpenMP programs on multi-core system, hybrid MPI/OpenMP programs. CPU-GPU systems: data parallel pattern, GPU architecture, programming in CUDA, issues for achieving high performance.

12 Course Contents (Continued)
Algorithms and applications: Selection from: Sorting algorithms Searching algorithms Numerical algorithms Image processing algorithms

13 Course Grade Letter grades will be assigned according to the following scales and may be curved according to the performance of the entire class. UNC-Wilmington Undergraduate Grade Scale A A B B B C C C D D D F UNC-Wilmington Graduate Grade Scale A A B B B C C C U UNC-Charlotte Undergraduate Grade Scale A B C D F UNC-Charlotte Graduate Grade Scale A B C U

14 Computation of Grades Class quizzes (2) 25% Assignments (6) 50%
Final exam 25% The assessment and percentages may be modified. Read small print

15 Graduate students UNC-C ITCS 5145 and UNC-W CSC 537: There will be additional work in the assignments for graduate students, which will be extra credit for undergraduates. UNC-W CSC 537: Graduate students will give presentation in class on a research topic.

16 Student Learning Outcomes (SLOs)
The learning outcomes for the UNC-W undergraduate parallel computing course are: Students develop solutions and implement the solutions for scientific problems using multiple processors in a cluster. Students acquire knowledge in writing programs which require processes to synchronize and exchange data using Message Passing Interface (API). Students acquire knowledge in writing programs which require processes to spawn multiple treads that share memory on multiple core processors. Students learn to profile parallel programs by placing event probes and to log them for analysis and tuning of the program performance. The Estimate Curriculum Category Content (Semester hours) is: Area Core Advanced Algorithms 1.0 Software design 0.5 Data structures 0.25 Concepts of programming languages Computer organization and architecture

17 Code of Student Academic Integrity
All submitted assignments must be your own work. Copied work or work done by more than one person (unless specifically instructed) will not be accepted - at the very minimum, zero credit - and may be subject to disciplinary action. The Code of Student Academic Integrity applies to both assignments and quizzes/tests.

18 Due dates for assignments
Will be posted on home page with assignment. Assignments can be turned in late but with a penalty. Late Penalty < 24 hours 10% > 24 hours and < 48 hours 20% > 48 hours and < 72 hours 30% > 72 hours 100%

19 Attendance Attendance is expected. Attendance will be recorded. If you miss classes, it can have a deleterious effect on your grade: After 4 missed classes without good reason: 2 marks off overall accumulated marks (out of 100) for each additional class missed. If you must miss class, see the instructors beforehand to avoid losing marks.

20 Mid-Term Unsatisfactory Grades
UNC-C requires midterm unsatisfactory grades to be submitted by the end of the 8th week of class. Mid term grades Undergraduates: Satisfactory or D or F Graduates: Satisfactory or C or U will be based upon all work graded by week 7, which probably will be two assignments and one class test.

21 Instructors details UNC-Charlotte Barry Wilkinson Department of Computer Science University of North Carolina, Charlotte Home page: Office Hours Tuesday/Thursday: 9:15 am to 10:45 am  outline.21 21

22 Instructors details UNC-Wilmington Clayton Ferner Department of Computer Science University of North Carolina Wilmington Home page: Office Hours Tuesday/Thursday 2 pm to 3:30 pm outline.22 22

23 Ask questions during class and participate in class discussion.
Expectations Read all materials provided. Read slides before class. Take additional notes during class Ask questions during class and participate in class discussion. outline.23 23

24 NCREN facility (North Carolina Research and Education Network)‏
Site interaction Each site will be using their NCREN facility, which provides microphones for individuals to speak. Please feel fee to speak at suitable times but remember that NCREN needs to be able to recognize the site and speaker, so first announce your institution and name. outline.24 24

25 NCREN facility continued
Since most microphones are turned on all the time, any sound will be heard across all sites unless a site turns their microphones off, so try to avoid unnecessary sounds. Fans from a laptop can be especially disturbing, so move laptop away from a microphone. Turn cell phones off. outline.25 25

26 NCREN Video Class Recording
The lectures are available on-line after 24 hours. Details to be provided. outline.26 26


Download ppt "Dr. Barry Wilkinson University of North Carolina Charlotte"

Similar presentations


Ads by Google