fork download
  1. from mpi4py import MPI
  2.  
  3. comm = MPI.COMM_WORLD
  4. rank = comm.Get_rank()
  5.  
  6. print("Hello from process", rank)
Success #stdin #stdout #stderr 0.27s 40672KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: unexpected symbol in "from mpi4py"
Execution halted