Run this with 4 processes like: $ mpiexec -n 4 python gather.py """ import numpy as np from mpi4py import MPI comm = MPI.COMM_WORLD rank = comm.
確定! 回上一頁