标签: python parallel-processing ipython mpi4py
我有一个简单的脚本如下:
#hello.py from mpi4py import MPI comm = MPI.COMM_WORLD rank = comm.Get_rank() print("hello world from process ", rank)
我想在具有多个处理器的IPython笔记本中运行它。怎么办?