励志做小白 2023-05-02 20:51 采纳率: 25%
浏览 75
已结题

gem5-21.2运行spec2017的mcf_r时no se workload

gem5-21.2运行spec2017的mcf_r时报错no se workload is compatible with %s,mcf_r_base.mytest-64

img


其中报错的出处

class SEWorkload(Workload, metaclass=SEWorkloadMeta):
    type = 'SEWorkload'
    cxx_header = "sim/se_workload.hh"
    cxx_class = 'gem5::SEWorkload'
    abstract = True

    @classmethod
    def _is_compatible_with(cls, obj):
        return False

    @classmethod
    def find_compatible(cls, path):
        '''List the SE workloads compatible with the binary at path'''

        from _m5 import object_file
        obj = object_file.create(path)
        options = list(filter(lambda wld: wld._is_compatible_with(obj),
                              SEWorkloadMeta.all_se_workload_classes))

        return options

    @classmethod
    def init_compatible(cls, path, *args, **kwargs):
        '''Construct the only SE workload compatible with the binary at path'''

        options = SEWorkload.find_compatible(path)

        if len(options) > 1:
            raise ValueError("More than one SE workload is compatible with %s")
        elif len(options) < 1:
            raise ValueError("No SE workload is compatible with %s", path)

        return options[0](*args, **kwargs)

path=mcf_r_base.mytest-64
该怎么解决呢,希望不用gpt的回答,抱拳

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 5月10日
    • 创建了问题 5月2日

    悬赏问题

    • ¥20 如何让程序ab.eXe自已删除干净硬盘里的本文件自己的ab.eXe文件
    • ¥50 爬虫预算充足,跪巨佬
    • ¥15 滑块验证码拖动问题悬赏
    • ¥15 Wanted but not invoked:Actually, there were zero interactions with this moc
    • ¥20 怎么驱动tb6612
    • ¥15 Arcgis 3D效果点要素
    • ¥15 在执行yolo训练脚本的时候,没有报错,在扫描val这一步后就推出执行了
    • ¥15 delphi开发的WEBSERVER改用HTTPS协议
    • ¥15 pic16f877A单片机的计数器proteus仿真失效
    • ¥100 调查 Vitis AI 中验证 .xmodel 量化后的正确性