I was reviewing the tutorial with the hope that I could setup something similar 
for a class that I am teaching at Johns Hopkins Whiting School of Engineering. 
Is there a way of running this locally on my linux system. I have gem5 
installed, and it runs the basic routines described in the getting started 
documentation. When I try to run the tutorial I get the following error:

~/gem5$ build/X86/gem5.opt ../gem5-tutorial-codespace/materials/hello-world.py
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 22.1.0.0
gem5 compiled May 30 2023 13:05:58
gem5 started May 31 2023 09:12:10
gem5 executing on besernd1-vm5, pid 862230
command line: build/X86/gem5.opt 
../gem5-tutorial-codespace/materials/hello-world.py

ImportError: cannot import name 'obtain_resource' from 
'gem5.resources.resource' (unknown location)

At:
  ../gem5-tutorial-codespace/materials/hello-world.py(6): <module>
  build/X86/python/m5/main.py(597): main

The github link: https://github.com/gem5-hpca-2023/gem5-tutorial-codespace does 
not give precise instructions on integrating any changes required back into 
gem5. I was wondering if there was a clearer procedure.

Thank-you,

Nick Beser
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to