Dear Sir/Madam, As I am beginner and unfortunately I did not found a complete tutorial about running SPEC benchmark in gem5 simulator in your web page, I followed the tutorial in (https://markgottscho.wordpress.com/2014/09/20/tutorial-easily-running-spec-cpu2006-benchmarks-in-the-gem5-simulator/comment-page-1/#comment-184) web page. I am using the RISCV version of gem5, but before this, I tested the "./run_gem5_alpha_spec06_benchmark.sh perlbench /home/ubuntu/GEM5_ALPHA/gem5/output_dir" command for ALPHA microprocessor and I had the same error. after running the below command in the terminal, there is an error related to instruction (panic: Unknown instruction 0xa5378082 at pc 0x0000000000010fa4).
~/GEM5_RISCV/gem5$ ./run_gem5_riscv_spec06_benchmark.sh perlbench /home/ubuntu/GEM5_RISCV/gem5/output_dir As follow you can find the result of running the addressed command for RISCV version of gem5. It should be note that the perlbech.out, perlbench.err and the stats.txt which are created after running the command are empty. I look froward to hearing from you. Sincerely, Artemis ~/GEM5_RISCV/gem5$ ./run_gem5_riscv_spec06_benchmark.sh perlbench /home/ubuntu/GEM5_RISCV/gem5/output_dir Command line: ./run_gem5_riscv_spec06_benchmark.sh perlbench /home/ubuntu/GEM5_RISCV/gem5/output_dir ================= Hardcoded directories ================== GEM5_DIR: /home/ubuntu/GEM5_RISCV/gem5 SPEC_DIR: /home/ubuntu/cpu2006 ==================== Script inputs ======================= BENCHMARK: perlbench OUTPUT_DIR: /home/ubuntu/GEM5_RISCV/gem5/output_dir ========================================================== Changing to SPEC benchmark runtime directory: /home/ubuntu/cpu2006/benchspec/CPU2006/400.perlbench/run/run_base_ref_riscv.0000 --------- Here goes nothing! Starting gem5! ------------ warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) gem5 Simulator System. http://gem5.org gem5 is copyrighted software; use the --copyright option for details. gem5 compiled Jul 17 2017 16:51:43 gem5 started Jul 19 2017 12:00:55 gem5 executing on ubuntu-VirtualBox, pid 7547 command line: /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt --outdir=/home/ubuntu/GEM5_RISCV/gem5/output_dir /home/ubuntu/GEM5_RISCV/gem5/configs/example/spec06_config.py --benchmark=perlbench --benchmark_stdout=/home/ubuntu/GEM5_RISCV/gem5/output_dir/perlbench.out --benchmark_stderr=/home/ubuntu/GEM5_RISCV/gem5/output_dir/perlbench.err Selected SPEC_CPU2006 benchmark --> perlbench Process stdout file: /home/ubuntu/GEM5_RISCV/gem5/output_dir/perlbench.out Process stderr file: /home/ubuntu/GEM5_RISCV/gem5/output_dir/perlbench.err ['/home/ubuntu/cpu2006/benchspec/CPU2006/400.perlbench/run/run_base_ref_riscv.0000/perlbench_base.riscv', '-I./lib', 'checkspam.pl', '2500', '5', '25', '11', '150', '1', '1', '1', '1'] Global frequency set at 1000000000000 ticks per second 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 info: Entering event queue @ 0. Starting simulation... **** REAL SIMULATION **** panic: Unknown instruction 0xa5378082 at pc 0x0000000000010fa4 Memory Usage: 636556 KBytes Program aborted at tick 1500 --- BEGIN LIBC BACKTRACE --- /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_Z15print_backtracev+0x28)[0x1040588] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_Z12abortHandleri+0x46)[0x1054586] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f71fe6e3390] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f71fd0eb428] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f71fd0ed02a] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZN8RiscvISA16UnknownInstFault9invoke_seEP13ThreadContextRK14RefCountingPtrI10StaticInstE+0x1a8)[0xcaba68] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZN8RiscvISA10RiscvFault6invokeEP13ThreadContextRK14RefCountingPtrI10StaticInstE+0x30)[0xcab7c0] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZN13BaseSimpleCPU9advancePCERKSt10shared_ptrI9FaultBaseE+0xd9)[0xf021d9] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZN15AtomicSimpleCPU4tickEv+0x448)[0xef9a38] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZN10EventQueue10serviceOneEv+0x11d)[0x10471cd] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_Z9doSimLoopP10EventQueue+0x50)[0x1060b80] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_Z8simulatem+0x34b)[0x106129b] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZZN8pybind1112cpp_function10initializeIRPFP22GlobalSimLoopExitEventmES3_JmEJNS_4nameENS_5scopeENS_7siblingENS_5arg_vEEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS_6detail13function_callEE1_4_FUNESO_+0x4f)[0xdd065f] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_+0xe24)[0xa6afd4] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7852)[0x7f71fe9ad552] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f71fead701c] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ffd)[0x7f71fe9accfd] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7124)[0x7f71fe9ace24] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7124)[0x7f71fe9ace24] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f71fead701c] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f71fe9a5b89] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x613b)[0x7f71fe9abe3b] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f71fead701c] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ffd)[0x7f71fe9accfd] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f71fead701c] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f71fe9a5b89] /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x76)[0x7f71fea13166] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_Z6m5MainiPPc+0x8f)[0x1051b5f] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(main+0x33)[0x83b873] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f71fd0d6830] /home/ubuntu/GEM5_RISCV/gem5/build/RISCV/gem5.opt(_start+0x29)[0x8571d9] --- END LIBC BACKTRACE --- [1484656507333_OutlookEmoji-1484656219114_image001.png.png] Zeynab (Artemis) Mohseni Researcher / PhD Candidate ARIES RESEARCH CENTER h<http://www.nebrija.es/aries>ttp://www.nebrija.es/aries<http://www.nebrija.es/aries> La Dehesa de La Villa Campus 55, Prineos Street, Madrid, 28040 Spain (+34) 91 452 11 00 (ext. 2807) [email protected]<mailto:[email protected]> www.nebrija.com<http://www.nebrija.com/>
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
