[gem5-users] Re: args passing to binary workload in SE

2022-12-14 Thread Ginger Luo 罗江 via gem5-users
Oh sorry for the typo in the subject, fixed;
Thanks, I’ll give a try.

Thanks, G

From: Hoa Nguyen 
Sent: Thursday, December 15, 2022 5:28 AM
To: The gem5 Users mailing list 
Cc: Ginger Luo 罗江 
Subject: Re: [gem5-users] args passing to binary workload in FS

Hi,

It seems that it's down to how se.py parses the arguments. Specifically, the 
string passed to "-o" will always be splitted with the space character as the 
delimiter as shown here,
https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/configs/example/se.py#98

You can change the parsing logic there to avoid parsing the space characters 
inside a pair of quotes.

Also note that se.py is not for simulation in FS mode.

Regards,
Hoa Nguyen

On Wed, Dec 14, 2022 at 12:19 AM Ginger Luo 罗江 via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Hello,

I’m trying to pass a string containing blank char to binary workload, but seems 
the quotes will also be passed:

   command line: ./build/RISCV/gem5.opt configs/example/se.py --caches -c 
/home/vmware/repos/fibo/md5 -o '  1 "bull foo bar" '

The commandline of the binary will receive “hello foo bar” with the quotes, if 
I remove the inner quote pair, only bull will be received, how can I just get 
the 3 words without quotes? Thanks a lot!

Thanks, G

___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to 
gem5-users-le...@gem5.org
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: args passing to binary workload in FS

2022-12-14 Thread Hoa Nguyen via gem5-users
Hi,

It seems that it's down to how se.py parses the arguments. Specifically,
the string passed to "-o" will always be splitted with the space character
as the delimiter as shown here,
https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/configs/example/se.py#98

You can change the parsing logic there to avoid parsing the space
characters inside a pair of quotes.

Also note that se.py is not for simulation in FS mode.

Regards,
Hoa Nguyen

On Wed, Dec 14, 2022 at 12:19 AM Ginger Luo 罗江 via gem5-users <
gem5-users@gem5.org> wrote:

> Hello,
>
>
>
> I’m trying to pass a string containing blank char to binary workload, but
> seems the quotes will also be passed:
>
>
>
> *   command line: ./build/RISCV/gem5.opt configs/example/se.py
> --caches -c /home/vmware/repos/fibo/md5 -o '  1 "bull foo bar" '*
>
>
>
> The commandline of the binary will receive “hello foo bar” with the
> quotes, if I remove the inner quote pair, only bull will be received, how
> can I just get the 3 words without quotes? Thanks a lot!
>
>
>
> *Thanks, G*
>
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Looking for experienced gem5 users/architects

2022-12-14 Thread Nigel Paver via gem5-users

While in at ARM my research team was responsible for the original ARM models in 
gem5 and we used it extensively.
I am now at Samsung SARC/ACL and we are setting up a SOC Architecture team and 
I'm looking for talented architecture researchers with extensive experience 
with gem5.
Would suit a recent or soon to graduate PhD. Particularly interested in memory 
subsystem architecture design and analysis

Contact me for more details (nigel.pa...@samsung.com) or see

https://www.linkedin.com/jobs/view/3399651851

Regards

--Nigel




___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] args passing to binary workload in FS

2022-12-14 Thread Ginger Luo 罗江 via gem5-users
Hello,

I’m trying to pass a string containing blank char to binary workload, but seems 
the quotes will also be passed:

   command line: ./build/RISCV/gem5.opt configs/example/se.py --caches -c 
/home/vmware/repos/fibo/md5 -o '  1 "bull foo bar" '

The commandline of the binary will receive “hello foo bar” with the quotes, if 
I remove the inner quote pair, only bull will be received, how can I just get 
the 3 words without quotes? Thanks a lot!

Thanks, G

___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org