Re: [O-MPI users] How pass an structure

2005-08-25 Thread Raul Mosquera
Hi: I'm trying to pass an structure which is defined like this #include #include #include "mpi.h" #define NELEM 6 struct{ int num_Rows; int num_Cols; int element[NELEM]; }send_pack; //num_Rows and num_Cols identify the matrix being passed in the array element. // Variable

[O-MPI users] How pass an array??

2005-08-22 Thread Raul Mosquera
HI. I just started working with MPI's. I'm been reading some documentation about MPI's but I have not found what I need. My problem is that I need to pass different portions of a huge matrix [N,M] to different processors. Help me find out the proper way to do this. Thanks Rm ___