[MPICH] Send and Recv Guidance Needed
erichpeterson at hotmail.com
Tue Apr 10 22:52:10 CDT 2007
I am trying to come up with the best way to approach this. I
am want to have many processes access a file, each gathering records, using
a specified criteria (which is not important here). I want each process to
send each record (100 bytes long) it matches to process rank 0 as a string.
Lastly, I want rank 0 to place all the records it receives into a vector of
I thought of letting each process call MPI_Send() from each
record it matches and have process rank 0 call MPI_Recv, but, process rank 0
won't know how many times to call MPI_Recv to receive all the records.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mpich-discuss