Dear friends,

According to your comment I rebuilt the gem5 with riscv and used the bzip2 
benchmark, but the current problem is that after running the spec in gem5, 
there is a waring related to executable file in bzip2 benchmark which you can 
see as follow.

-----------------------------------------------------------------------------------------------------------
~/GEM5_RISCV/gem5$ ./run_gem5_riscv_spec06_benchmark.sh bzip2 
/home/ubuntu/GEM5_RISCV/gem5/output_dir
Command line:
.
.
.
Selected SPEC_CPU2006 benchmark
--> bzip2
Process stdout file: /home/ubuntu/GEM5_RISCV/gem5/output_dir/bzip2.out
Process stderr file: /home/ubuntu/GEM5_RISCV/gem5/output_dir/bzip2.err
['/home/ubuntu/cpu2006/benchspec/CPU2006/401.bzip2/run/run_base_ref_riscv.0000/bzip2_base.riscv',
 'input.source', '280']
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 ****
warn: readlink() called on '/proc/self/exe' may yield unexpected results in 
various settings.
      Returning 
'/home/ubuntu/cpu2006/benchspec/CPU2006/401.bzip2/run/run_base_ref_riscv.0000/bzip2_base.riscv'
info: Increasing stack size by one page.
fatal: Out of memory, please increase size of physical memory.
Memory Usage: 640028 KBytes
-----------------------------------------------------------------------------------------------------------------------------------------

As a result, I built the riscv.cfg file in spec for bzip2 benchmark again to be 
sure about the executable file and it was built successfully. So, in order to 
create the run_base_ref_riscv.0000 file I ran the below command and as you can 
see in following part, it was not successful. So, I reckon that my problem is 
related to creating file or the riscv compiler. What do you think about it?

-----------------------------------------------------------------------------------------------------------------------------------------
~$ runspec --config=riscv.cfg --size=ref --noreportable --tune=base 
--iterations=1 bzip2
.
.
.
Setting Up Run Directories
  Setting up 401.bzip2 ref base riscv default: created (run_base_ref_riscv.0000)
Running Benchmarks
  Running 401.bzip2 ref base riscv default

401.bzip2: copy 0 non-zero return code (exit code=2, signal=0)


****************************************
Contents of input.source.err
****************************************
../run_base_ref_riscv.0000/bzip2_base.riscv: 2: 
../run_base_ref_riscv.0000/bzip2_base.riscv: Syntax error: Unterminated quoted 
string

****************************************
Error: 1x401.bzip2
Producing Raw Reports
mach: default
  ext: riscv
    size: ref
      set: int
        format: raw -> /home/ubuntu/cpu2006/result/CINT2006.005.ref.rsf
Parsing flags for 401.bzip2 base: done
Doing flag reduction: done
        format: flags -> /home/ubuntu/cpu2006/result/CINT2006.005.ref.flags.html
        format: ASCII -> /home/ubuntu/cpu2006/result/CINT2006.005.ref.txt
        format: CSV -> /home/ubuntu/cpu2006/result/CINT2006.005.ref.csv
        format: HTML -> /home/ubuntu/cpu2006/result/CINT2006.005.ref.html, 
/home/ubuntu/cpu2006/result/invalid.gif, 
/home/ubuntu/cpu2006/result/CINT2006.005.ref.gif
      set: fp


Sorry for my long email and thank you for the time that you allocate to me.

Sincerely,
Artemis



[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

Reply via email to