Can you explain a little more about how to do it under MPI2? thanks
【在 y***r 的大作中提到】 : : Use MPI_SEND() : MPI_BYTE : you should calc the sizeof COMMON BLOCK by yourself. : Use MPI2. MPI1 cannot.
t*o
5 楼
but how do you know if the file is used by other nodes or not? Even it is a serial code, I think the nodes has to ommunicate to tell other nodes if it open the file or finish reading/writing it...
【在 d*****w 的大作中提到】 : : This has nothing to do with MPI, because no communications between nodes. : What you need to do is do it as a serial code.
【在 t*****o 的大作中提到】 : : but how do you know if the file is used by other nodes or not? Even it is a : serial code, I think the nodes has to ommunicate to tell other nodes if it : open the file or finish reading/writing it...