def METHOD_NAME():
    from openram.globals import OPTS
    try:
        OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
    except:
        error("$OPENRAM_HOME is not properly defined.", 1)
    import shutil
    zip_file = "{0}/{1}_{2}".format(OPENRAM_HOME, "fail_", os.getpid())
    info(0, "Archiving failed files to {}.zip".format(zip_file))
    shutil.make_archive(zip_file, 'zip', OPTS.openram_temp)