[MPICH] non-blocking sending/receiving an array

Manal Helal manalorama at gmail.com
Wed May 16 02:43:51 CDT 2007


Hi

I am trying to send an array, I send its size first, and then send the
array itself, however, I am sending in a loop and receiving in a loop,
so I end up receiving in different order, like I receive the array
size, and then receive from the same sender the array of different
size sent at another iteration, and I am using non-blocking
communication,  and testing now for 3 processes, but could be more
later, so, I can only specify the sender in the receive of the array,
as the one I received the array size from, but I can't specify the
size, it is giving me:

rank 2 in job 4  localhost.localdomain_54476   caused collective abort
of all ranks
  exit status of rank 2: killed by signal 9
2:  MPI_Wait(140)..........................:
MPI_Wait(request=0xb6b55198, status0xb6b5519c) failed
2:  MPIDI_CH3U_Post_data_receive_found(163): Message from rank 0 and
tag 92 truncated; 224 bytes received but buffer size is 56


is there a way to probe for a specific size, and receive only if this
is the size, in the MPI_Iprobe, there is no specification for the
count,

any ideas will greatly help,

Thank you very much, Kind Regards,

Manal




More information about the mpich-discuss mailing list