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