code: def getlibraryinfo():
      from mpi4py import MPI
  
      x, y = MPI.Get_version()
      info = f"MPI {x}.{y}"
      name, version = MPI.get_vendor()
      if name != "unknown":
          x, y, z = version
          info += f" ({name} {x}.{y}.{z})"
      return info
  
imports: import re
  import os
  import sys
  import argparse
  import unittest
label_desc: Use image node_id 4 for calling a global function with example usage: getlibraryinfo() and returns: info