Thanks for the reply guys but I still can't figure out how this works
exactly. So let me elaborate more:
I tired putting the data files in the same directory as the binary
executable and running it in SE_Mode with the se.py config script
didn't open the files.
What I am confused about is how the various parameters used when
running these benchmarks with runspec command are being translated
when running in gem5. For example, when running the bzip2 benchmark
with runspec, the command is :
runspec --config=default.cfg --size=test --tune=base --noreportable
--iteration=1 bzip2
So for instance the size parameter in the above command determines
which set of data files to use within the data directory provided by
the benchmark and the various other parameters control other things as
well.
Now, when I run the binary executable with the se.py in gem5, how do I
set these parameter values? I tired the -o and didn't work either:
build/X86_SE/gem5.opt config/example/se.py -c tests/test-prog/bzip2
--option="--size=test --tune=base --noreportable --iteration=1"
--caches --l2cache
Also, I looked at the files provided on on this wiki
(http://gem5.org/SPEC2006_benchmarks) and tried running it with the
provided files and that didn't work either (of course I changed the
directory path accordingly in those files).
So any other suggestions and ideas to try out would be much appreciated.
Quoting Gabe Black <[email protected]>:
-o is to pass command line arguments to the workload, not files for it
to open.
Gabe
On 02/09/12 23:35, Mahmood Naderan wrote:
you can use "-o".
see http://gem5.org/SPEC_benchmarks
On 2/10/12, Gabriel Michael Black <[email protected]> wrote:
Those files are opened by the simulator on behalf of the simulated
program, so they just need to be where the simulator can find them, in
the current working directory would likely work. You don't have to
pass them in explicitly.
Gabe
Quoting [email protected]:
Hi Everyone,
I am trying to run some SPEC2006 benchmarks in Gem5 with the X86_SE
mode. I have the compiled the spec binaries statically and I am
running it with the following command.
build/X86_SE/gem5.opt configs/example/se.py -c test/test-prog/bzip2
--caches --l2cache
However, this benchmark require opening certain files and when I run
the above command, I get the following, notice the line that says
"can't open file....". So how can I pass these required file to gem5
so I can run the benchmark successfully. I am new to gem5, so sorry
if this seem like a trivial question, but any help is much
appreciated.
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
warn: instruction 'fnstcw_Mw' unimplemented
warn: instruction 'fldcw_Mw' unimplemented
spec_init
Loading Input Data
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
Can't open file input.combined: No such file or directory
hack: be nice to actually delete the event here
Exiting @ tick 2376350000 because target called exit()
Thanks,
Zheng
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users