Multicore Programming Summer School

The University of Illinois at Urbana-Champaign will be conducting a summer school about multicore programming June 22-26, 2009. I spoke with Marc Snir who is organizing the program. Prof. Snir is co-director of UIAC's Universal Parallel Computing Resource Center.

Outside funding for UPCRC beyond internal resources comes entirely from Intel and Microsoft at present.

JW: Professor, what do you mean when you write on your website that you are "a mathematical descendant of Jacques Hadamard"? Are you working on an Anémélectroreculpédalicoupeventombrosoparacloucycle?

MS: No, no ... it is a mere statement of fact. My PHD advisor ... there is a chain of faculty advisors that connects me back to Jacques Hadamard.

JW: UPCRC's White Paper is a pretty good overview of some subset of the issues of parallel computing. What is the academic definition of "multicore programming" in this context?

MS: Our focus is on parallelism for performance using the current architectures and tools.

JW: What's the lineage between this and the parallel algorithms computer science was teaching in the 1980's?

MS: The problem today is how to implement, how to tune the algorithms for the actual hardware. In typical applications you don't need a sophisticated parallel algorithm when you've got eight or 16 cores.

The difficulty today in parallel programming for most multicore platforms is not learning the algorithms one might need. It's that once you have your algorithms, it is still hard to implement them with the current compilers, the debuggers ...

The reason you use muliticore is you need performance. Performance programming itself has not received enough attention in the past decade. We teach algorithms and analysis but the more practical aspects of how you get performance on a given platform is not treated in so detailed a fashion.

JW: What are some typical issues with common toolchains?

MS: In most applications you don't need non-determinism. You want concurrency when executing multiple operations doesn't affect the result. Current parallel programming languages allow non-determinism and thus do not protect you from data races.

We're missing the compiler/language environment equivalent of type safety or memory safety ... we need a language/runtime concept of concurrency safety, of not getting races that are hard to find.

Secondly, the constructs which we use in the languages we are using for parallel programming encourage the writing of non-deterministic programs. We have been using one swiss army knife for parallel programming -- all programs have been using locks, semaphors, and nowadays atomic sections -- but for most parallel applications you want deterministic programming, not mutual exclusion. You do workflow, message queues, parallel loops, etc. instead.

JW: So what does UPCRC do to allieviate these difficulties?

MS: On the practical side we can teach programming practices to use the current tools to write parallel applications. On the research side we can look to how to build parallel langauges that better enforce and support these practices.

JW: What age groups do you anticipate to be in attendance at the summer school?

MS: We pitched it to experienced programmers who are novices to parallel programming. Parallelism used to be for the priests of programming but now everyone has to know about parallelism.

There are two hypotheses: One is that parallel programming is very hard, you have to have a special brain. The second hypothesis is that the tools we have been using are lousy. I'm a strong believer in the second hypothesis.

For more information about the summer school and to apply, visit http://www.upcrc.illinois.edu/summer/2009/. Applications will be accepted online beginning April 15. Applicants will be notified within 3-5 days after submitting applications. The final day to apply is May 15.

Real World Parallelism Webinar Series
  • November 17, 2009
    Visual Effects for Animation - presented by DreamWorks Animation
    Speaker: Ron Henderson (Bio)

    Ron Henderson manages the FX Tools group at DreamWorks Animation, where he is responsible for developing physical simulation and procedural modeling tools. These systems have been used for key visual effects in recent films such as Kung Fu Panda and Monsters vs. Aliens (March 2009).

    Prior to joining DreamWorks in 2002 he was a senior scientist at Caltech with a joint appointment to the Applied Math and Aeronautics departments, where he worked on efficient techniques for the direct numerical simulation of fluid turbulence.

    Abstract:
    In this webinar, Ron Henderson will show examples of visual effects, from hair and feathers to smoke and fire, from a variety of DreamWorks Animation feature films. He will discuss in general terms the kinds of techniques used to achieve particular visual effects. Finally, Henderson will show a detailed breakdown of the dam-breaking scene from Madagascar: Escape 2 Africa, demonstrating how different elements of key frame animation, simulation, and rendering are combined in a real production shot.

  • December 1, 2009
    A Quick and Easy Way to Parallelize a Legacy Codebase with Intel® Threading Building Blocks (TBBs)
    Speaker: Bernard Laberge, Avid, Senior Principal Engineer (Bio)

    Bernard Laberge is a senior principal engineer in the video editors division at Avid. During his seven years with the company he has been actively involved in the replacement of the legacy video processing engines used by Avid editors with a common hardware-abstracted, component-based video processing engine currently running on the CPU with SIMD optimized code, GPU, and dedicated hardware.

    Abstract:
    Learn how to overcome the limitations of a thread-based scheduler, including dealing with the absence of recursive parallelism support and the inefficient handling of unbalanced processing load. Bernard Laberge addresses how Avid resolved the expensive refactoring of their thread-based scheduler into a task-based solution by choosing Intel® Threading Building Blocks (TBBs). He explores how Avid was able to easily integrate the Intel TBBs into their video editor applications and more than 5 million lines of code.

  • December 15, 2009
    How to Use Intel® Parallel Studio to Streamline Code Development in a Multicore Environment
    Speaker: Matt Dunbar, Director for Performance Technology, SIMULIA (Bio)

    Matt Dunbar is the director for performance technology at SIMULIA. Since joining the company in 1993, he has worked on parallelization of the Abaqus suite of products, initially for shared memory architectures and more recently for distributed memory architectures. Dunbar has also been intimately involved in selecting both the hardware and software tools used in the development of the Abaqus product line.

    Abstract:
    Resolve elusive, costly multithreading errors quickly and efficiently with Intel® Parallel Studio. While many coding problems that lead to bugs in software applications are typically straightforward logic errors, errors in managing memory and in multithreading code can sometimes take weeks to months to diagnose and fix. Matt Dunbar explores how and why taking advantage of multicore processors through multithreaded code is critical for compute-intensive applications. While spotlighting his work on SIMULIA's Abaqus finite element solver, Dunbar addresses the need for multicore execution and shares his experiences using Intel Parallel Studio to streamline code development in a multicore environment.