Sending bits with MPI

What is an efficient way to send / receive bits from a bit class without conversion. Can MPI_BYTE be used?

If so, what to define as a container for the array that will hold the bits? If this is not possible, which conversion is more efficient, conversion to ulong or to strings?

0


source to share


1 answer


Convert it to a "bool" array and send with MPI_BYTE, this method works on a cluster.



0


source







All Articles