HPCwire

Leading HPC
Solution Providers


























HPCwire >> Blogs

Blog: From the Editor

From the Editor | Main Blog Index

MATLAB Users Get a Parallel Boost


With few application programmers well-versed in parallel programming, and with dual- and quad-core processors spreading to all corners of the computing ecosystem, the demand for ready-to-use parallelized software is only going to get larger. That's why numerical libraries from a variety of vendors (e.g., Intel, NAG and Visual Numerics) now come with built-in parallelization.

The Mathworks is following the same path by integrating the company's Parallel Computing Toolbox with two MATLAB optimization tool sets: the Optimization Toolbox and the Genetic Algorithm and Direct Search Toolbox. Both are used to develop optimal implementations of typical MATLAB programs -- codes like engine design simulation or financial risk analysis.

The Parallel Computing Toolbox, which was originally launched as the Distributed Computing Toolbox in 2004, meets the application programmer half way to the parallel Promised Land. It extends MATLAB with new constructs such as the parallel for-loop (PARFOR), which allows the user to distribute code execution across multiple cores, multiple processors, or even a cluster. When executed on a single-core machine, PARFOR acts like a sequential for-loop. So the resulting code becomes portable across lots of different hardware setups, which not only allows you to run on different platforms, but also lets you share your software with family and friends.

The hard part is figuring out how to apply the parallel loops in the first place. By incorporating PARFOR-enabled code into the optimization solvers of the toolboxes themselves, the MathWorks engineers have done some of the heavy lifting in advance. Customers that are using the optimization solvers will automatically get the parallelized version when they pick up the next release. To get the speed-up benefit, the user just has to define the parallel resources they want to apply at execution time.

Users can explicitly switch off the built-in toolbox parallelization for a given session if they believe they can outdo the MATLAB programmers by parallelizing their own code. Theoretically, one could even mix parallelized user code with parallelized toolbox solvers, but according to Loren Dean, the director of engineering for MATLAB Products, that can be tricky.

The real goal here is to make code acceleration as transparent as possible without forcing users to sprinkle a lot of PARFORs throughout their programs. "Most of our users haven't done parallel programming yet," Dean told me. "This is a new area for them. So being able to fully leverage their multicore system or being able to leverage their cluster, without having to change their code, that's the real value for them."

Posted by Michael Feldman - May 14 @ 8:27PM

Discussion

There are 0 discussion items posted.  

Sponsored Links

Michael Feldman

Michael Feldman is the editor of HPCwire.

More Michael Feldman



Recent Comments

Feature Articles

The Linux HPC Empire Strikes Back

While the Microsoft juggernaut has been touting the joys of its new Windows HPC Server 2008, the Linux HPC contingent has been somewhat less vocal of late. But now Red Hat has come up with its version of an integrated cluster solution.
Read More...

Nexsan Looks to Scare Up HPC Customers With Storage Beast

Even though the cost of servers still dominates the datacenter budget, storage is actually on a steeper growth curve. HPC storage, in particular, is being singled out as high-growth opportunity. Vendors are scrambling to keep up.
Read More...

The Week in Review

Google datacenters most energy efficient; Cluster Resources to demo Moab Hybrid Cluster; Red Hat Linux releases HPC distro. John West recaps those stories and more in our weekly wrap-up.
Read More...

Top Headlines

Oracle and HP's Database Machine Predicated on Voltaire

Oct 06 | The Register | Does the HP Oracle Database Machine represent InfiniBand's big chance to break out its HPC niche? Read more...

3D Imaging Spreads to Fashion and Beyond

Oct 06 | BusinessWeek | A body scan can save a lot of time in the fitting room, and fields from medicine to architecture are adopting 3D computing applications. Read more...

Structural Engineers and Computer Scientists Hope to Integrate Disciplines to 'Revolutionize Building Construction'

Oct 03 | UCSD News | Despite the evolution of computer science over the past 30 years, structural engineering -- hindered by a reluctance to adapt to digital innovations -- has remained relatively unchanged as a discipline. Read more...

Credit Crisis Spreads a Pall Over Silicon Valley

Oct 02 | New York Times | Silcon Valley is starting to feel the effects of the credit crunch. Read more...

Google: 'The World's Most Efficient Data Centers'

Oct 01 | Data Center Knowledge | Google today disclosed details of its data center energy usage, confirming that it operates some of the most efficient facilities in the world. Read more...

Featured Whitepapers

Panasas® Tiered Parity™ Architecture

Sep 04 | | Disk drives are approximately 250 times denser today than a decade ago. This is good news for users who are creating, manipulating and storing more data than ever before. It gives them an opportunity to derive more value from their stored data and lowers the capital acquisition and operating expense associated with that data.

Multimedia

Video White Paper: Architecting a Better Network Storage Solution

BlueArc's Titan architecture represents an evolutionary step in file servers by creating a hardware-based file system that can scale bandwidth, IOPS, and overall data capacity well beyond conventional software-based devices. With its ability to virtualize a massive storage pool of up to four usable petabytes of tiered storage, Titan can scale with growing data requirements, offering a competitive advantage for businesses, researchers, or other enterprises seeking to better manage data growth while still ensuring optimal performance.

Blogs by Topics

Blogs by Author

HPC Blogroll

Featured Events

LCI Workshop
SIFMA
HP-CAST
2008 Virtualization Conference & Expo
Symposium 2009