gem5-21.2运行spec2017的mcf_r时报错no se workload is compatible with %s,mcf_r_base.mytest-64
其中报错的出处
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的回答,抱拳