Hey David,
There's no problem with gem5 or the script here. The issue is with your
system. As the error suggests, you need to change the value in
`/proc/sys/kenel/perf_event_paranoid` to 1.
--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616
web: https://www.bobbybruce.net
Hi Rosen,
try adding a space before the "-c". So the -o option stays like -o ' -c 10'
I found that before and the extra space avoids the problem.
Jordi
Activat Tue, 22 Feb 2022 07:17:57 +0100 Rosen Lu via gem5-users
va escriure
Dear All,
I just downloaded the
Hi Jordi,
It works. Thanks for the answer.
Best,
Rosen
Jordi Vaquero 于2022年2月22日周二 03:14写道:
> Hi Rosen,
> try adding a space before the "-c". So the -o option stays like *-o ' -c
> 10' *
> I found that before and the extra space avoids the problem.
>
> Jordi
>
>
>
>
> Activat Tue, 22
Hi Ayaz,
I’m not clear about how the
configs/example/x86-npb-performance.py
works
since the python is trying to get the package or module
gem5
and it is NOT “import” ed into the python.
See my cmd-line and error below:
./build/X86/gem5.opt configs/example/x86-npb-benchmarks.py
Hey David,
It looks like you're mixing and matching some stuff between gem5 versions
here. I'm pretty sure you took that 'x86-npb-benchmarks.py' script from the
the repo checkout out fo v21.2, but you're running it on gem5 v21.1. I
suspect that's the problem. If you want to run this script you'll