Hello,

I’m trying to run pyperformance benchmarks 
(https://github.com/python/pyperformance) on gem5 in the SE mode. I’m having 
trouble getting even a simple python hello world program to run on gem5. I’m 
using se.py and the following command:

                build/X86/gem5.opt configs/example/se.py --cmd=/usr/bin/python3 
--options="hello_world.py"
I also tried to create an executable using pyinstaller and tried to run using 
the following command:
                build/X86/gem5.opt configs/deprecated/example/se.py 
--cmd=dist/hello_world

It starts running but then errors out and gives me this error:

                      (further warnings will be 
suppressed)src/sim/mem_state.cc:448: info: Increasing stack size by one 
page.src/sim/mem_state.cc:448: info: Increasing stack size by one 
page.src/sim/mem_state.cc:448: info: Increasing stack size by one 
page.src/sim/mem_state.cc:448: info: Increasing stack size by one 
page.src/sim/syscall_emul.cc:86: warn: ignoring syscall 
prctl(...)[PYI-100:WARNING] LOADER: failed to fork child process: Resource 
temporarily unavailableExiting @ tick 670342498000 because exiting with last 
active thread contextSimulated exit code not 0! Exit code is 1

Has anyone tried to run python benchmarks on gem5 or can help me move ahead in 
this direction? Thanks in advance!


Regards,
Anurag Kar
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to