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>
发送时间:2024-03-17 23:58:44 (星期日)
收件人: "The gem5 Users mailing list" <gem5-users@gem5.org>
抄送: "Beser, Nicholas D." <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
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to