Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
什么是无需转换即可从位集类发送/接收位的有效方法。是否可以使用 MPI_BYTE?
如果是这样,将什么定义为要保存这些位的数组的容器?如果这不可能,哪种转换更有效,转换为 ulong 还是转换为字符串?
将其转换为“bool”数组并通过 MPI_BYTE 发送,此方法适用于集群。