advanced-py-profΒΆ

advanced-py-prof is a script in CIMEROOT/scripts/Tools.

$ ./advanced-py-prof --help
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib64/python2.7/cProfile.py", line 199, in <module>
    main()
  File "/usr/lib64/python2.7/cProfile.py", line 185, in main
    with open(progname, 'rb') as fp:
IOError: [Errno 2] No such file or directory: 'basename'