The Leading Source for Global News and Information Covering the Ecosystem of High Productivity Computing
May 19, 2006
Abstract
OpenMP* was designed to unify the directive languages of shared memory multiprocessors across the industry to make it easier to write portable parallel programs. OpenMP represents a high-level language of parallelism compared to programming with Posix threads or Windows threads. It also represents a much easier programming model than does MPI. This effort has been successful and OpenMP has gained many users around the world. Yet, thus far OpenMP has only been useful for programming systems with hardware shared memories. Now, Intel is offering Cluster OpenMP*, which extends the OpenMP programming model to clusters. This article describes the extension to OpenMP that makes this possible, how the system manages to simulate a shared memory across a cluster, how the user ports an OpenMP program to Cluster OpenMP, and ends with a discussion of the amount of effort required to port a code.
Introduction
In the 1980s and 90s, multiprocessor computer manufacturers tried to address the difficulties of programming their computers by supplying directives that could be placed in serial programs that would instruct the compiler to produce parallel code. Each manufacturer produced its own unique set of directives. As programmers moved their programs from machine to machine, they found that they had to recode the directives. To remedy this situation, major players in the industry formed a working group in the mid-90s to unify the directives. The result was the 1997 OpenMP specification for Fortran and the 1998 specification for C/C++. This effort has been successful, and the OpenMP directive language has been adopted across the industry.
The OpenMP paradigm for parallel programming differs significantly from the earlier message passing solutions (such as PVM and MPI), and from explicit threading (Posix* threads or Windows* threads). The first difference that people notice is that OpenMP consists mostly of directives, whereas PVM, MPI and the threading methods consist solely of library routines. The effect of this is that OpenMP's effects can be switched off by a compiler switch, removing the OpenMP parallelism, whereas programs using library-based parallelism are permanently changed into parallel programs.
Another obvious difference versus message passing is that data movement for message passing programs must be explicitly programmed by the programmer, while data movement in OpenMP programs happens automatically when threads read and write variables. This means that in addition to the code for the problem being solved, the message passing programmer must write a program layer to move the data between processors.
Both of these differences translate directly into lower programming costs and lower maintenance costs for OpenMP programs. With OpenMP, you program "what" to do, while with message passing and explicit threading you program "how" to do it.
In this sense, OpenMP could be said to be a high-level language of parallel programming, while explicit threading and message-passing programming is more akin to an "assembly language" of parallel programming.
A drawback to OpenMP is that it requires a shared memory, so up-to-now this has limited its use to a single multiprocessor machine. Now, Intel's Cluster OpenMP removes that limitation. Cluster OpenMP makes it possible to run an OpenMP program across a cluster of multiprocessors. The shared memory is simulated by a software layer implementing a distributed shared memory (DSM).
Cluster OpenMP Extension to OpenMP
Page: 1 of 4(Digg, Technorati, more)
PGI Accelerator™ Fortran 95/03 and C99 compilers for x64+NVIDIA
Accelerate applications on x64+GPU platforms by adding OpenMP-like compiler directives to existing Fortran and C programs. Available now for Linux, MacOS and Windows. Download a free 15 day trial.
Platform HPC Workgroup Manager
Platform HPC Workgroup Manager integrates all the cluster productivity tools you need to deploy, run and manage your HPC environment.
Mar 17 | The Register | But what about the tier ones? Read more...
Mar 17 | Cadalyst Magazine | A new generation of workstations is changing the nature of technical computing. Read more...
Mar 17 | Linux Magazine | Latest iteration of Sun Grid Engine able to tap into Cloud. Read more...
Mar 16 | Bio-IT World | Biotech firm builds genetic models from patient data. Read more...
Mar 15 | The Register | EMC's grand vision for unified global storage. Read more...
Jan 12 | | In-depth look at vSMP Foundation server virtualization technology, technical implementation, use cases and capabilities. The technical whitepaper provides an architectural overview and details on the three vSMP Foundation products: vSMP Foundation for SMP, vSMP Foundation for Cluster and vSMP Foundation for Cloud.
Jan 18 | | This white paper discusses Gore’s copper cable assemblies, and how they continue to exceed the standards for providing reliable, cost-effective solutions for high-performance computer applications.
Join this online panel discussion for live Q&A with leading industry experts, analysts, and end-users to discuss the latest innovations, best practices, barriers to implementation, and measurable benefits of server virtualization with a particular focus on today's real world solutions.
Learn about scalable fault-tolerant architectures and examples of energy efficient and scalable supercomputing clusters using dual QDR InfiniBand to combine capacity computing with network failover capabilities with the help of programming languages such as MPI and a robust Linux cluster management package.
LIVE@SCO9: The IBM team discusses new innovations in hardware, software and services that help clients better understand their workloads and get insight from their R&D efforts. Technology demonstrations include the soon-to-be-released Power7 HPC processor, the DCS990 system with 2.4 petabytes of storage, the xCAT management tool, secure HPC cloud computing and more. Winners of two HPCwire Readers' and Editors’ Choice Awards! Take the IBM virtual tour at SC09 or more information go online to: http://www-03.ibm.com/systems/deepcomputing/sc09.html