I read doc explaining struct at
http://www.open-mpi.org/doc/v1.4/man3/MPI_Type_struct.3.php
I haven't used mpi so I have a newbie question.
In the example function MPI_Type_struct(3, {2, 1, 3}, {0, 16, 26},
{MPI_FLOAT, type1, MPI_CHAR} ) is executed where type1 is consisted of
{(double,0)(char,8)
On Nov 11, 2011, at 06:20 , Thomas Anderson wrote:
> I read doc explaining struct at
> http://www.open-mpi.org/doc/v1.4/man3/MPI_Type_struct.3.php
>
> I haven't used mpi so I have a newbie question.
>
> In the example function MPI_Type_struct(3, {2, 1, 3}, {0, 16, 26},
> {MPI_FLOAT, type1, MPI_
Offtopic: You might want to have a look at AMPI:
http://charm.cs.uiuc.edu/research/ampi
On 11/10/2011 10:30 AM, Mudassar Majeed wrote:
For example there are 10 nodes, and each node contains 20 cores. We
will have 200 cores in total and let say there are 2000 MPI processes.
We start the applica
Hi,
I have a example code using sendrecv. Could you please tell me if there is
a chance for a deadlock ?
right =(myrank + 1) % size;
left = myrank - 1;
if (left < 0)
left = size - 1;
MPI_Sendrecv(&s, 1, MPI_CHAR, left, 1231, &r, 1, MPI_CHAR, right,