Jason,

Sorry to bother you with this, but after I changed MyMSI.slicc to My_MSI.slicc 
I was able to compile the code, how ever I got the following error when I tried 
to run (His is with the complete files used)

[     CXX] src/base/date.cc -> ALL_MyMSI/base/date.o
[    LINK]  -> ALL_MyMSI/gem5.opt
scons: done building targets.
*** Summary of Warnings ***
Warning: Header file <capstone/capstone.h> not found.
         This host has no capstone library installed.
(gputest) nbeser1@beserai:~/2024/gem5$ build/ALL_MyMSI/gem5.opt 
configs/learning_gem5/part3/simple_ruby.py
gem5 Simulator System.  https://www.gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 24.0.0.0
gem5 compiled Oct  8 2024 21:34:49
gem5 started Oct  8 2024 21:39:03
gem5 executing on beserai, pid 127737
command line: build/ALL_MyMSI/gem5.opt 
configs/learning_gem5/part3/simple_ruby.py

fatal: This system assumes MyMSI from learning gem5!

Now the original files had MyMSI.slicc. Is it possible that the code really 
wanted the slicc file without the underscore, and there is a problem that 
requires it? Where in the code would it look for My_MSI.slicc?

I did not see anything in kconfig.

Nick

From: Jason Lowe-Power <ja...@lowepower.com>
Sent: Tuesday, October 8, 2024 12:32 PM
To: The gem5 Users mailing list <gem5-users@gem5.org>
Cc: Beser, Nicholas D. <nick.be...@jhuapl.edu>
Subject: [EXT] Re: [gem5-users] Problems with example from bootcamp 2024

APL external email warning: Verify sender 
ja...@lowepower.com<mailto:ja...@lowepower.com> before clicking links or 
attachments



Hi Nick,

I think there's another typo: "My_MSI.slicc" != "MyMSI.slicc"

Apologies if the bootcamp documentation is inconsistent. If you see 
inconsistencies in the upstream bootcamp, it would be great to open an issue on 
that repo.

Cheers,
Jason

On Tue, Oct 8, 2024 at 6:19 AM Beser, Nicholas D. via gem5-users 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote:

I am attempting to do the example from 2024 bootcamp described in the charts, 
and also in the README.md file located at:

 
2024<https://github.com/gem5bootcamp/2024/tree/main>/materials<https://github.com/gem5bootcamp/2024/tree/main/materials>/03-Developing-gem5-models<https://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-models>/06-modeling-cache-coherence<https://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-models/06-modeling-cache-coherence>/README.md
The charts give one set of instructions, however the README.md appears to be 
from bootcamp 2022. Is there an updated README? After following the 2024 chart 
directions, I am getting the following error when trying to build:

scons -j17 build/X86/gem5.opt PROTOCOL=MyMSI


Checking for member exclude_host in struct perf_event_attr...yes
Checking for pkg-config package protobuf... yes
Checking whether __i386__ is declared... no
Checking whether __x86_64__ is declared... yes
ValueError: Could not find My_MSI.slicc in PROTOCOL_DIRS:
  File "/home/nbeser1/2024/gem5/SConstruct", line 966:
    SConscript('src/SConscript', variant_dir=variant_path, exports=exports,
  File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 661:
    return method(*args, **kw)
  File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 598:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 287:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/home/nbeser1/2024/gem5/src/SConscript", line 564:
    SConscript(os.path.join(root, 'SConscript'), variant_dir=build_dir,
  File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 661:
    return method(*args, **kw)
  File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 598:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 287:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/home/nbeser1/2024/gem5/src/mem/ruby/protocol/SConscript", line 99:
    raise ValueError("Could not find {}.slicc in PROTOCOL_DIRS".format(

Here is an image of the MyMSI files in the src/mem/ruby/protocol directory

[cid:image001.png@01DB19CB.7CDAC850]

I want to put this exercise in a lecture to my computer architecture class, but 
I can’t get past the build process. Unfortunately, the lecture on this topic 
from bootcamp never made it into youtube.

Any help would be appreciated.

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