code: def scalar(arg):
      return loop.array(arg, loop.typecode, 1)[0]
  
imports: import sys
  import itertools
  from mpi4py import MPI
label_desc: Use image node_id 6 for calling a global function with example usage: scalar(arg) and returns: loop