Supercomputing on a cell phone

Sep 07, 2010 By Larry Hardesty, MIT News Office
New software that runs on a smart phone can approximate in seconds computations that would take a supercomputer hours. The software works for problems whose form is know but whose particulars aren't; slider bars allow users to set the values for which they want the problems solved. Image courtesy of David Knezevic and Dinh Bao Phuong Huynh

Many engineering disciplines rely on supercomputers to simulate complicated physical phenomena — how cracks form in building materials, for instance, or fluids flow through irregular channels. Now, researchers in MIT’s Department of Mechanical Engineering have developed software that can perform such simulations on an ordinary smart phone. Although the current version of the software is for demonstration purposes, the work could lead to applications that let engineers perform complicated calculations in the field, and even to better control systems for vehicles or robotic systems.

The new software works in cases where the general form of a problem is known in advance, but not the particulars. For instance, says Phuong Huynh, a postdoc who worked on the project, a computer simulation of around an obstacle in a pipe could depend on a single parameter: the radius of the obstacle. But for a given value of the parameter, calculating the fluid flow could take an hour on a with 500 processing units. The researchers’ new software can provide a very good approximation of the same calculation in a matter of seconds.

“This is a very relevant situation,” says David Knezevic, another postdoc in the department who helped lead the project. “Often in engineering contexts, you know a priori that your problem is parameterized, but you don’t know until you get into the field what parameters you’re interested in.”

Each new problem the researchers’ software is called upon to solve requires its own . The models, however, take up very little space in memory: A cell phone could hold thousands of them. The software, which is available for download, comes preloaded with models for nine problems, including heat propagation in objects of several different shapes, fluid flow around a spherical obstacle, and the effects of forces applied to a cracked pillar. As the researchers develop models for new classes of problems, they post them on a server, from which they can be downloaded.

Advance work

But while the models are small, creating them is a complicated process that does in fact require a supercomputer. “We’re not trying to replace a supercomputer,” Knezevic says. “This is a model of computation that works in conjunction with supercomputing. And the supercomputer is indispensable.”

Knezevic, his fellow postdoc Phuong Huynh, Ford Professor of Engineering Anthony T. Patera, and John Peterson of the Texas Advanced Computer Center describe their approach in a forthcoming issue of the journal Computers and Fluids. Once they have identified a parameterized problem, they use a supercomputer to solve it for somewhere between 10 and 50 different sets of values. Those values, however, are carefully chosen to map out a large space of possible solutions to the problem. The model downloaded to a smart phone finds an approximate solution for a new set of parameters by reference to the precomputed solutions.

The key to the system, Knezevic says, is the ability to quantify the degree of error in an approximation of a supercomputing calculation, a subject that Patera has been researching for almost a decade. As the researchers build a problem model, they select parameters that will successively minimize error, according to analytic techniques Patera helped developed. The calculation of error bounds is also a feature of the phone application itself. For each approximate solution of a parameterized problem, the app also displays the margin of error. The user can opt to trade speed of computation for a higher margin of error, but the app can generally get the error under 1 percent in less than a second.

Turning the tables

While the researchers’ software can calculate the behavior of a physical system on the basis of its parameters, it could prove even more useful by doing the opposite: calculating the parameters of a physical system on the basis of its behavior. Instead of, say, calculating fluid flow around an obstacle based on the obstacle’s size, the could calculate the size of the obstacle based on measurements of the fluid flow at the end of a pipe. Ordinarily, that would require several different computations on a supercomputer, trying out several different sets of parameters. But if testing, say, 30 options on a supercomputer would take 30 hours, it might take 30 seconds on a phone. Indeed, the researchers have already developed a second application that calculates such “inverse problems.”

In the same way that a simulation of a physical system describes its behavior on the basis of parametric measurements, control systems, of the type that govern, say, automotive brake systems or autonomous robots, determine devices’ behavior on the basis of sensor measurements. Control-systems researchers spend a great deal of energy trying to come up with practical approximations of complex physics in order to make their systems responsive enough to work in real time. But Knezevic, Huynh and Patera’s approach could make those approximations both more accurate and easier to calculate.

Max Gunzberger, Frances Eppes Eminent Professor of Scientific Computing at Florida State University says that the MIT researchers’ work has a “cuteness aspect” that has already won it some attention. But “once you get over the cuteness factor,” he says, “if you talk about serious science or serious engineering, there’s a potential there.” Gunzberger points out that while the researchers’ demo concentrates on fluid mechanics, “there’s lots of other problems that their approach can be applied to. They built the structure that they themselves or others can start using to solve problems in different application areas.”


This story is republished courtesy of MIT News (http://web.mit.edu/newsoffice/), a popular site that covers news about MIT research, innovation and teaching. Original story is available here.

Explore further: Researcher develops method for monitoring whether private information is sufficiently protected

More information: Paper: "High-Fidelity Real-Time Simulation on Deployed Platforms" (PDF)

Related Stories

Mastering multicore

Apr 26, 2010

(PhysOrg.com) -- MIT researchers have developed software that makes computer simulations of physical systems run much more efficiently on so-called multicore chips. In experiments involving chips with 24 separate ...

Quantum computing may actually be useful, after all

Oct 09, 2009

(PhysOrg.com) -- In recent years, quantum computers have lost some of their luster. In the 1990s, it seemed that they might be able to solve a class of difficult but common problems — the so-called NP-complete ...

Customizing supercomputers from the ground up

May 27, 2010

(PhysOrg.com) -- Computer scientist Adolfy Hoisie has joined the Department of Energy's Pacific Northwest National Laboratory to lead PNNL's high performance computing activities. In one such activity, Hoisie will direct ...

Recommended for you

Tackling urban problems with Big Data

20 hours ago

Paul Waddell, a city planning professor at the University of California, Berkeley, with a penchant for conducting research with what he calls his "big urban data," is putting his work to a real-world test ...

Computer-assisted accelerator design

Apr 22, 2014

Stephen Brooks uses his own custom software tool to fire electron beams into a virtual model of proposed accelerator designs for eRHIC. The goal: Keep the cost down and be sure the beams will circulate in ...

User comments : 1

Adjust slider to filter visible comments by rank

Display comments: newest first

tkjtkj
4 / 5 (1) Sep 08, 2010
Ah ..yes . .i can see it now:
Accident Investigator:
"and just how, sir, did you decide to use that particular parameter in the design of the collapsed building?"
Engineer:
"I did the calculations on my cellphone."
Judge:
(well, i'll just let you imagine how the judge and jury might phrase their response! .. and that response will not be written in any cellphone's 'Notes' application!)

Yes, i beg the indulgences of the authors and count on their collective sense of humor .. Seriously, i respect and admire their work.
"A Cray in Every Pocket" approaches!

More news stories

Google+ boss leaving the company

The executive credited with bringing the Google+ social network to life is leaving the Internet colossus after playing a key role there for nearly eight years.

Facebook woos journalists with 'FB Newswire'

Facebook launched Thursday FB Newswire, billed as an online trove of real-time information for journalists and newsrooms to mine while reporting on events or crafting stories.

Genetic legacy of rare dwarf trees is widespread

Researchers from Queen Mary University of London have found genetic evidence that one of Britain's native tree species, the dwarf birch found in the Scottish Highlands, was once common in England.