Dansk - English
Kort version - Fuld version
Parallel Programming 4 (Efterår 2012) |
|||
Kursuskode : | IPARP4-U1 | ||
ECTS Point : | 5 | Status : | Obligatorisk |
Revideret : | 27/09 2011 | Oprettet : | 01/09 2009 |
Placering : | 4. semester | Timer pr. uge : | 4 |
Længde : | 1 semester | Undervisningssprog : | Dansk og engelsk |
Målsætning : | Modern computers typically have two or more cores sharing memory, and the computer environment will typically involve cooperation between more than one computer. To exploit this kind of parallel environment parallel programming techniques are required. In this course the student will aquire an understanding of parallel computing and the challenges faced by the developer such as finding concurrency in software design and decomposing it into concurrent tasks and managing the use of data across these tasks. This will require an understanding of the theoretical foundations as well as practical experience with multithreaded programs for single core processors, OpenMP for multicore processors sharing memory and MPI for multiprocessors with private memory. The practical part of the course requires a significant amount of programming. |
||
Hovedindhold : | Upon completion of the course the students is expected to be able to: 1. Explain the different computer architectures as expressed in Floyds taxonomy. 2. For each of these architectures explain the programming principles and identify possible programming language environments such as Pthreads, Java, OpenMP and MPI. 3. Explain common mechanisms for managing processes/threads (such as creating and destroying processes/threads) and for process/thread interaction (such as semaphores, barriers, message passing). 4. Identify the concurrency in a software design problem and decompose it into concurrent tasks. 5. Suggest an algorithm structure implementing the identified concurrency. 6. Suggest a suitable programming environment and its APIs to implement the parallelism of the algorithm structure. 7. Explain common problems arising from concurrency such as critical race, deadlocks, and starvation. 8. Suggest possible solutions to such concurrency problems. 9. Implement the suggested solutions in the relevant programming environments. |
||
Undervisningsform : | The lessons consist of theory combined with practical exercises. | ||
Krævede forudsætninger : | Documented knowledge corresponding to PROG1 and PROG2. | ||
Anbefalede forudsætninger : | Some experience in C. | ||
Relationer : | Parallel Programming (PARP4) is normally taken in parallel with PROI4 and OSLX4. In PRIO4 the product must involve practical use of threads. | ||
Prøveform : | Se under bemærkninger | ||
Censur : | Ekstern | ||
Bedømmelse : | 7-trinsskala | ||
Bemærkninger : | 7 step scale: 02: 1, 2, 3, and 7 of the Principal Content must be met. 7: Minor insufficiencies in 4, 5,6, 8, and 9 12: Ability to reflect on the suitability of the suggestions in 4, 5, 6, 8, and 9 Oral examination based on a specified project (PROI4) and probing of the students’ knowledge about the theoretical background. |
||
Undervisningsmateriale : | Notes on parallel programming, OpenMP and MPI. Multithreaded Programming Guide, Sun Microsystems. (pdf document) Recommended Readings: Modern Operating Systems, A. S. Tanenbaum et.al. |
||
Ansvarlig underviser : | Henrik Kold Mikkelsen
, hokm@dtu.dk |