The Message Passing Interface (MPI) is a computer communications protocol. It is a de factostandard for communication among the nodes running a parallel program on a distributed memory system. MPI implementations consist of a library of routines that can be called from Fortran, C, C++ and Ada programs. The advantage of MPI over older message passing libraries is that it is both portable (because MPI has been implemented for almost every distributed memory architecture) and fast (because each implementation is optimized for the hardware on which it runs).
Example program
Here is "Hello World" in MPI.
Actually we send a "hello" message to each processor, manipulate it trivially, send the results back to the main processor, and print the messages out.
/*
test of MPI
*/
#include
#include
#include
int main(int argc, char *argv*)
{
char idstr*;
char buff*;
int numprocs;
int myid;
int i;
MPI_Status stat;
MPI_Init(&argc,&argv);
MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
MPI_Comm_rank(MPI_COMM_WORLD,&myid);
if(myid == 0)
{
printf("We have %d processors\n", numprocs);
for(i=1;iMore on [ Message Passing Interface ]
Gartner Revises Server Share Numbers Thu, 03 Jul 2008 18:43:24 -0400
Gartner revised its first quarter numbers and found that IBM actually beat out Hewlett-Packard in server revenue.... Who Is Running The Most Secure Browser? Thu, 03 Jul 2008 14:03:13 -0400
Many users are undoubtedly not updating their browsers as quickly as they should, but you can't conclude any specifics about that from the recent study of Google logs.... DOJ Sued Over Cell Phone Tracking Practices Wed, 02 Jul 2008 17:08:34 -0400
Civil liberties groups claim the Justice Department is bypassing warrants to obtain real-time tracking information on U.S. citizens.... Microsoft Internet Explorer Security Strikes Back Wed, 02 Jul 2008 17:03:53 -0400
Microsoft Internet Explorer 8 Beta 2 security builds on the Phishing Filter of IE 7 and thwarts cross-site scripting.... IBM Helps Link POS to the Back Office Wed, 02 Jul 2008 16:50:30 -0400
IBM and Epicor jointly release an offering that centrally manages and supports POS....
The Seattle Times: Business & Technology
Strike slows downtown construction projects Thu, 03 Jul 2008 01:39:21 -0700 A strike has shut down or slowed work at some of the Seattle area's largest construction projects. Investors sweeten Puget Sound Energy sale for public Wed, 02 Jul 2008 21:57:36 -0700 Backers of a sale of the state's largest utility company, Puget Energy, offered Wednesday to sweeten the proposed deal for consumers by taking $100 million off any potential rate increases over the next 10 years. Employers cut jobs for sixth straight month Thu, 03 Jul 2008 10:50:59 -0700 Employers cut payrolls by 62,000 in June, the sixth straight month of nationwide job losses, underscoring the economy's fragile state. The unemployment rate held...
NYT > Technology
Judge Orders Google to Turn Over YouTube Records Thu, 03 Jul 2008 22:38:40 -0000 The order raised concerns that the online video viewing habits of tens of millions of people could be exposed.
Bits: Justice Looks Further at Google-Yahoo Deal Thu, 03 Jul 2008 10:04:14 -0000 The Justice Department’s antitrust division has begun issuing subpoenas as it probes further into whether a planned Google-Yahoo partnership in search advertising is anticompetitive.
Bits: What Is Facebook Worth? (Part 37) Thu, 03 Jul 2008 22:12:43 -0000 A document in the settled Facebook ConnectU litigation reveals that Facebook’s common shares are worth a quarter of the value of the stock Microsoft purchased when it invested in the social network.
Twitter, What Are You Doing? Co-Founder Tells All Thu, 03 Jul 2008 10:51:00 -0400 Twitter.com has so many new users that the Web site keeps crashing. Meanwhile, Twitter engineers are taking popular features away for retooling. It's a painful process, but co-founder Biz Stone has a plan. Young Moroccans Bypass Mainstream Media Wed, 02 Jul 2008 10:00:00 -0400 When protesters in southern Morocco clashed with security forces, there was very little coverage from state-run television stations. But amateur video posted on YouTube showed what the official media would not. Young Moroccans say the Web is leaving traditional media behind. Would a Ban on Car Conversation Be More Effective? Tue, 01 Jul 2008 13:00:00 -0400 California and Washington join the long list of states to ban handheld cell phone use while driving. It's the conversation, not the phone, that's distracting, research says. Do these laws really make our roads safer?
BBC News | Technology | UK Edition
Google must divulge YouTube log Thu, 03 Jul 2008 20:19:53 -0000 Google must divulge the viewing habits of every user who has ever watched avideo on YouTube, says a US court. Warning letters to 'file-sharers' Thu, 03 Jul 2008 17:41:04 -0000 The music industry says thousands of UK broadband users who share tracks illegally will be warned about it in letters. Firefox download record official Thu, 03 Jul 2008 00:28:35 -0000 The creators of Firefox 3.0 celebrate the news they have set a new world record for software downloads.
Reuters Video: Technology
Robo barman pulls first pint Thu, 03 Jul 2008 09:03:25 -0400 Jul. 3 - Billed as the world's first robot barman, Mr Asahi pulls the crowds at London's Selfridges department store.
Tongue device to aid disabled Mon, 30 Jun 2008 15:45:45 -0400 Jun. 30 - A new device that uses a tiny magnet can help disabled people steer a wheelchair or operate a computer using only the tip of the tongue.
MSN portal goes 'social' Mon, 30 Jun 2008 14:10:23 -0400 Jun. 30 - Microsoft is announcing new services intended to reflect the social phenomenon taking place on the internet.
AP Top Technology News At 5 p.m. EDT
Court orders YouTube to give Viacom video logs By ANICK JESDANUN Thu, 03 Jul 2008 19:57:36 -0000 NEW YORK (AP) -- Dismissing privacy concerns, a federal judge overseeing a $1 billion copyright-infringement lawsuit against YouTube has ordered the popular online video-sharing service to disclose who watches which video clips and when.... Internet addressing agency loses its own addresses Thu, 03 Jul 2008 20:57:41 -0000 NEW YORK (AP) -- This doesn't sound good: The nonprofit agency in charge of the Internet's addresses recently lost track of its own.... Police wnt u to fight crime w/txt msgs By MITCH STACY Wed, 02 Jul 2008 18:35:43 -0000 TAMPA, Fla. (AP) -- Police in the 1970s urged citizens to "drop a dime" in a pay phone to report crimes anonymously. Now in an increasing number of cities, tipsters are being invited to use their thumbs - to identify criminals using text messages....
CNET News.com
EA debuts new family, sports games for Wii, PlayStation Thu, 03 Jul 2008 15:32:00 -0700 After its pairing with board game maker Hasbro, EA shows off its new family-oriented games and an "All-Play" series for Wii. Video: Latest in Viacom-Google lawsuit raises questions Thu, 03 Jul 2008 14:48:00 -0700 News.com's Dan Farber tells what's at stake for users' privacy as a result of a federal judge's ruling that Google must turn data over to Viacom. Researcher faults Apple iPhone on security updates Thu, 03 Jul 2008 14:22:00 -0700 He says iPhone, still at version 1.1.4, is at least four months behind desktop OS in patching many known Mac OS X security vulnerabilities.
404AutoMap and AutoLink - Tools for using user-defined data types with MPI. Papers, source code, and documentation.
Meta Description: [ AutoMap and AutoLink are tools aiming at helping people to work with data-types when using MPI. They were developped by the National Institute of Standards and Technoloy. AutoMap works as a source-to-source compiler reading directly from the user definitions. AutoLink is a library designed to tra... ]
HP MPI - Implementation of MPI for Hewlett Packard systems. Product information, free evaluation copy, and purchasing information.
Meta Description: [ This library contains routines through which the processes of portable message-passing applications communicate. ]
HPC - High Performance Computing - Home of WMPI II that provides MPI-2 implementation that are fully optimised, thread-safe and commercially supported for Windows and Linux platforms. Implementation of MPI for Windows. Product information, downloads, and papers.
Meta Description: [ Home of WMPI II, WMPI and PaTENT MPI middleware products. Critical Software provides MPI-2 implementations that are fully optimised, thread-safe and commercially supported for Windows and Linux platforms. ]
LAM / MPI Parallel Computing - Local Area Multicomputer is an MPI implementation. Source code, papers, documentation, and mailing list archives.
Meta Description: [ LAM Implementation of MPI ]
Los Alamos Message Passsing Interface (LA-MPI) - An open-source software implementation provides an end-to-end network fault-tolerant message passing system for tera-scale clusters. The current API supported being MPI 1.2 (C and Fortran bindings).
Message Passing Interface - Interface standard, tutorials, libraries, and links to other resources, as well as MPICH, an implementation of MPI.
MP-MPICH - Multi-Platform MPICH - An implementation of MPI for Windows (NT/2000/XP/2003), Solaris and Linux. Supports Scalable Coherent Interface (SCI), TCP/IP and shared memory for communication. Runs on IA-32, Alpha and Sparc architectures. Source, binaries, and documentation available.
MPI - Papers about an implementation of MPI on the Fujitsu AP1000.
MPI Software Technology - A commercial implementation of MPI and parallel job scheduler. Product information and white papers.
Meta Description: [ High Performance super computing ]
MPI-BIP - A port of MPICH over Myrinet using the BIP communication layer. Source code and benchmarks.
MPI-FM - High-performance cluster implementation of MPI for Windows. Source code, documentation, and papers.
404MPICH - An MPI implementation. Papers, source code, and documentation.
Paradyn - Measurement and analysis tool for parallel programs that use MPI. Papers, source code, binaries, and manuals.
Scali - ScaMPI is an implementation of MPI using the Scalable Coherent Interface. Product information and download.
Meta Description: [ Scali is the provider of truly scalable Linux and Solaris based cluster systems ranging up to supercomputer performance ]