The cmd parameter expects a python list. You need to have commas between
the elements (https://developers.google.com/edu/python/lists). I would
encourage you to read up on how to program in Python :).

Jason

-----------
Jason Lowe-Power
Assistant Professor, Computer Science Department
University of California, Davis
3049 Kemper Hall
[email protected]


On Tue, May 1, 2018 at 12:28 AM Muhammad Ali Akhtar <
[email protected]> wrote:

> Hello All,
>
> I am trying to run axbench on gem5 SE mode. The benchmarks (Kmeans, jpeg)
> require name of input / output files as command line arguments. The
> executable opens the input files and produces output files.
>
> In my configuration script, I don't know how to pass the arguements to my
> executable when I set the process.cmd
>
>  *process.cmd = ['tests/test-progs/MyProgs/kmean.o']*
>
> I have tried various methods
>
> * process.cmd = ['tests/test-progs/MyProgs/kmean.o' ' 4.rgb' ' 4_out.rgb']*
>
> or
>
> * process.cmd = ['tests/test-progs/MyProgs/kmean.o 4.rgb 4_out.rgb']*
>
> but nothing seem to work
>
> Can anyone help?
>
> Muhammad Ali Akhtar
> Principal Design Engineer
> http://www.linkedin.com/in/muhammadakhtar
> _______________________________________________
> 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