code: def worker(icomm):
      myrank = icomm.Get_rank()
      if myrank == 0:
          source = dest = 0
      else:
          source = dest = MPI.PROC_NULL
      n = N.array(0, "i")
      icomm.Recv([n, MPI.INT], source=source)
      pi = comp_pi(n, comm=MPI.COMM_WORLD, root=0)
      pi = N.array(pi, "d")
      icomm.Send([pi, MPI.DOUBLE], dest=dest)
  
file_path: mpi4py/demo/compute-pi/cpi-dpm.py
imports: import sys
  from mpi4py import MPI
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: worker(icomm) without return types