On Sat, 5 Apr 2003 seberino_at_[hidden] wrote:
> It looks one can subdivide all nodes into groups. What is the purpose
> then of having....
>
> mpi_comm_rank as well as mpi_group_rank???
> mpi_comm_size as well as mpi_group_size???
Groups are different than communicators in MPI. A communicator is a group
with a unique context. Hence, you can have the same group in multiple
communicators.
> Are groups and comms interchangeable as arguments to mpi commands???
No.
> I thought they were equal but not I'm not sure.
Check the MPI-1 standard, chapter 5.
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|