LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: XMATX_at_[hidden]
Date: 2007-09-29 15:27:57


Hello,

in C i used an own variable MPI_Comm comm;
How can i do this in C++ ? I try something like MPI::COMM_WORLD comm;
But this does not work.

Am i able to define an own Communicator? Or is it slower if i use in every MPI-routine call something like
MPI::COMM_WORLD.<routine> ?

What i wanted was this:
MPI::COMM_WOLRD comm;

function(comm);

//somewhere in function:
comm.Send(...);

Is this possible?
______________________________________________________________________________
Jetzt neu! Im riesigen WEB.DE Club SmartDrive Dateien freigeben und mit
Freunden teilen! http://www.freemail.web.de/club/smartdrive_ttc.htm/?mc=021134