code: def proc_id():
      """Get rank of calling process."""
      return MPI.COMM_WORLD.Get_rank()
  
file_path: spinningup/spinup/utils/mpi_tools.py
imports: from mpi4py import MPI
  import os, subprocess, sys
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: proc_id() and returns: MPI