gpt4 book ai didi

ubuntu - 在 HPI 上运行 LLVM 测试套件显示找不到脚本错误,如何解决?

转载 作者:行者123 更新时间:2023-12-04 18:49:43 24 4
gpt4 key购买 nike

我有 se-benchmarks 我尝试使用 gem5 运行它,遵循本教程 https://github.com/arm-university/arm-gem5-rsk/wiki但它向我显示了这个错误(找不到脚本 intMM)。 intMM 是 se-benchmarks 中的一个应用程序。
我使用 fowwoing 命令运行它

 ./build/ARM/gem5.opt -d se_results/intMM configs/example/arm/starter_se.py --cpu="hpi" /home/Ali/se-benchmarks
每次这个错误发生在我身上。
warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 20.0.0.2
gem5 compiled Jun 28 2020 08:20:55
gem5 started Jun 29 2020 00:59:57
gem5 executing on Ali-VirtualBox, pid 6640
command line: ./build/ARM/gem5.opt -d se_results/intMM configs/example/arm/starter_se.py --cpu=hpi /home/Ali/se-benchmarks

info: 1. command and arguments: ['/home/Ali/se-benchmarks']
Global frequency set at 1000000000000 ticks per second
warn: No dot file generated. Please install pydot to generate the dot file and pdf.
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (1024 Mbytes)
panic: panic condition sz != 2 occurred: Couldn't read magic bytes from object file
Memory Usage: 2245340 KBytes
Program aborted at tick 0
--- BEGIN LIBC BACKTRACE ---
./build/ARM/gem5.opt(_Z15print_backtracev+0x30)[0x5610ee5504a0]
./build/ARM/gem5.opt(_Z12abortHandleri+0x4e)[0x5610ee563fee]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f559b8283c0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f559ae0f18b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f559adee859]
./build/ARM/gem5.opt(+0xc212b5)[0x5610eccf82b5]
./build/ARM/gem5.opt(_ZN6Loader13ImageFileDataC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x7f5)[0x5610edd321c5]
./build/ARM/gem5.opt(_ZN6Loader16createObjectFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x46)[0x5610edd32876]
./build/ARM/gem5.opt(_ZN13ProcessParams6createEv+0x4c)[0x5610ee5a3b7c]
./build/ARM/gem5.opt(+0x2000843)[0x5610ee0d7843]
./build/ARM/gem5.opt(+0xd03e57)[0x5610ecddae57]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9701)[0x7f559b94e381]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f559b944b39]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6e76)[0x7f559b94baf6]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6f81)[0x7f559b94bc01]
/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8)[0x7f559b944628]
--- END LIBC BACKTRACE ---
Aborted (core dumped)
Ali@Ali-VirtualBox:~/gem5$ ./build/ARM/gem5.opt -d se_results/ intMM configs/example/arm/starter_se.py --cpu="hpi" /home/Ali/se-benchmarks
warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 20.0.0.2
gem5 compiled Jun 28 2020 08:20:55
gem5 started Jun 29 2020 01:00:16
gem5 executing on Ali-VirtualBox, pid 6645
command line: ./build/ARM/gem5.opt -d se_results/ intMM configs/example/arm/starter_se.py --cpu=hpi /home/Ali/se-benchmarks

Script intMM not found
Usage
=====
gem5.opt [gem5 options] script.py [script options]

gem5 is copyrighted software; use the --copyright option for details.

Options
=======
--version show program's version number and exit
--help, -h show this help message and exit
--build-info, -B Show build information
--copyright, -C Show full copyright information
--readme, -R Show the readme
--outdir=DIR, -d DIR Set the output directory to DIR [Default: m5out]
--redirect-stdout, -r Redirect stdout (& stderr, without -e) to file
--redirect-stderr, -e Redirect stderr to file
--stdout-file=FILE Filename for -r redirection [Default: simout]
--stderr-file=FILE Filename for -e redirection [Default: simerr]
--listener-mode={on,off,auto}
Port (e.g., gdb) listener mode (auto: Enable if
running interactively) [Default: auto]
--listener-loopback-only
Port listeners will only accept connections over the
loopback device
--interactive, -i Invoke the interactive interpreter after running the
script
--pdb Invoke the python debugger before running the script
--path=PATH[:PATH], -p PATH[:PATH]
Prepend PATH to the system path when invoking the
script
--quiet, -q Reduce verbosity
--verbose, -v Increase verbosity

Statistics Options
------------------
--stats-file=FILE Sets the output file for statistics [Default:
stats.txt]
--stats-help Display documentation for available stat visitors

Configuration Options
---------------------
--dump-config=FILE Dump configuration output file [Default: config.ini]
--json-config=FILE Create JSON output of the configuration [Default:
config.json]
--dot-config=FILE Create DOT & pdf outputs of the configuration
[Default: config.dot]
--dot-dvfs-config=FILE Create DOT & pdf outputs of the DVFS configuration
[Default: none]

Debugging Options
-----------------
--debug-break=TICK[,TICK]
Create breakpoint(s) at TICK(s) (kills process if no
debugger attached)
--debug-help Print help on debug flags
--debug-flags=FLAG[,FLAG]
Sets the flags for debug output (-FLAG disables a
flag)
--debug-start=TICK Start debug output at TICK
--debug-end=TICK End debug output at TICK
--debug-file=FILE Sets the output file for debug [Default: cout]
--debug-ignore=EXPR Ignore EXPR sim objects
--remote-gdb-port=REMOTE_GDB_PORT
Remote gdb base port (set to 0 to disable listening)

Help Options
------------
--list-sim-objects List all built-in SimObjects, their params and default
values
我在 VirtualBox 上使用 ubuntu 20。

最佳答案

似乎那里的说明根本不是 super 精确,您指向的是一个目录,但它应该是可执行文件:

./build/ARM/gem5.opt -d se_results/intMM configs/example/arm/starter_se.py --cpu="hpi" \
/home/Ali/se-benchmarks/IntMM
然而,还要注意一些基准,包括 IntMM可能需要很长时间才能完成,所以也许您想测试一切是否与更快的之一一起工作,例如 Bubblesort , QuicksortTowers .

关于ubuntu - 在 HPI 上运行 LLVM 测试套件显示找不到脚本错误,如何解决?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62629573/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com