code: def dumpRoutineNames(library, output_dir):
      for typename in ["unknown", "blas", "dlapack", "zlapack"]:
          routines = library.allRoutinesByType(typename)
          filename = os.path.join(
              output_dir, typename + "_routines.lst"
          )
          fo = open(filename, "w")
          for r in routines:
              deps = r.dependencies()
              fo.write("{}: {}\n".format(r.name, " ".join(deps)))
          fo.close()
  
imports: import os
  import sys
  import clapack_scrub
  import fortran
label_desc: Use image node_id 4 for calling a global function with example usage: dumpRoutineNames(library, output_dir) without return types