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> 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
>
>
>
>
>
> 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
> 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

Reply via email to