Re: [OMPI users] Why? MPI_Scatter problem

2010-12-13 Thread Kechagias Apostolos
t; //www.dartmouth.edu/~rc/classes/intro_mpi/mpi_comm_modes2.html#top > > I hope this helps, > Gus Correa > > Kechagias Apostolos wrote: > >> I thought that every process will receive the data as is. >> Thanks that solved my problem. >> >> 2010/12/13 Gus Correa >

Re: [OMPI users] Why? MPI_Scatter problem

2010-12-13 Thread Kechagias Apostolos
I thought that every process will receive the data as is. Thanks that solved my problem. 2010/12/13 Gus Correa > Kechagias Apostolos wrote: > >> I have the code that is in the attachment. >> Can anybody explain how to use scatter function? >> It seems that this way im us

[OMPI users] Why? MPI_Scatter problem

2010-12-13 Thread Kechagias Apostolos
I have the code that is in the attachment. Can anybody explain how to use scatter function? It seems that this way im using it doesnt do the job. #include #include #include #include int main(int argc, char *argv[]) { int error_code, err, rank, size, N, i, N1, start, end; float W, pi=0, s