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-IO 将文件从一个计算的 localscratch 传输到集群中另一个计算节点的 localscratch?
这并不是 MPI-IO 的工作原理。它是为读取和写入文件而设计的,不一定将它们从一个进程传输到另一个进程。还有很多其他工具可以为您做到这一点(scp,sftp等)
scp
sftp
如果您真的想使用 MPI,您可以在一个进程上读取文件,使用正常的MPI_SENDand将字节字符串发送到另一个进程MPI_RECV,然后将该文件写回另一个进程。
MPI_SEND
MPI_RECV