Hoa,

Thank you, you were correct, the system put the version number in the output. 
If I try -v it acts like I requested –help.

Nick

From: Hoa Nguyen via gem5-users <gem5-users@gem5.org>
Sent: Sunday, March 17, 2024 5:39 PM
To: The gem5 Users mailing list <gem5-users@gem5.org>
Cc: yb_zh...@mail.ustc.edu.cn; Hoa Nguyen <hoangu...@ucdavis.edu>
Subject: [EXT] [gem5-users] Re: Version of gem5

APL external email warning: Verify sender 
gem5-users-bounces+nick.beser=jhuapl....@gem5.org<mailto:gem5-users-bounces+nick.beser=jhuapl....@gem5.org>
 before clicking links or attachments



Hi all,

It seems to be a bug in gem5.

You can run the gem5 binary without any arguments. The gem5 version is within 
the first few lines of the output.

Regards,
Hoa Nguyen

On Sun, Mar 17, 2024, 14:31 yb_zhang--- via gem5-users 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote:
I tried it in my environment and got the same error as you, which makes me 
wonder maybe it's a bug. but you can still check the version of gem5 by running 
the command build/X86/gem5.opt -v.

More options for command line arguments can be found under 
src/python/m5/main.py, you can take a look at that file.

Best wishes!

Yibo Zhang
School of Computer Science and Technology,USTC

-----原始邮件-----
发件人:"Beser, Nicholas D. via gem5-users" 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
发送时间:2024-03-17 23:58:44 (星期日)
收件人: "The gem5 Users mailing list" 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
抄送: "Beser, Nicholas D." <nick.be...@jhuapl.edu<mailto:nick.be...@jhuapl.edu>>
主题: [gem5-users] Version of gem5
I wanted to confirm the version number of the gem5 that I was running, so I 
thought I could just try:

Build/X86/gem5.opt -B

Or

Build/X86/gem5.opt –version

Neither command sequence worked.  –version produced the error message no such 
option, and -B produced

AttributeError: module ‘m5-defines’ has not attribute ‘gem5Version’

Is there an easy way to confirm the version number?

Nick


_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org>
To unsubscribe send an email to 
gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to