LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Mathias Brito (mathiasbrito_at_[hidden])
Date: 2004-03-23 14:26:11


Hello everyone, this is my first post here. I work
with a Beowulf cluster, and i'm starting to
parallelize some aplications. And at this time i have
two questions:

1. When I pack data whit MPI_TYPE_STRUCT and send it
to the nodes, how i access the variables inside this
new type at the nodes? What i must do when the nodes
receive the message(via BCAST or MPI_RECV)?

2. When I make a MPI_SCATTER and the size of data is
not divisible by the numbers of nodes, what this
MPI_SCATTER do? exemple: sizedata=100; nodes=6;
local_n = sizedata/nodes. Whats happen if i call
MPI_SCATTER in this case?

Thanks
Mathias

=====
Mathias Brito
Universidade Estadual de Santa Cruz - UESC
Departamento de Ciências Exatas e Tecnológicas
Estudante do Curso de Ciência da Computação

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html