-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

Reply via email to