gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Problems with example from bootcamp 2024

BN
Beser, Nicholas D.
Tue, Oct 8, 2024 1:18 PM

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

2024https://github.com/gem5bootcamp/2024/tree/main/materialshttps://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-modelshttps://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-models/06-modeling-cache-coherencehttps://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@01DB1962.E1148770]

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

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@01DB1962.E1148770] 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
JL
Jason Lowe-Power
Tue, Oct 8, 2024 4:32 PM

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-leave@gem5.org

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-leave@gem5.org >
BN
Beser, Nicholas D.
Wed, Oct 9, 2024 1:46 AM

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 jason@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.Beser@jhuapl.edu
Subject: [EXT] Re: [gem5-users] Problems with example from bootcamp 2024

APL external email warning: Verify sender jason@lowepower.commailto:jason@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.orgmailto: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:

2024https://github.com/gem5bootcamp/2024/tree/main/materialshttps://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-modelshttps://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-models/06-modeling-cache-coherencehttps://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.orgmailto:gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.orgmailto:gem5-users-leave@gem5.org

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 <jason@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.Beser@jhuapl.edu> Subject: [EXT] Re: [gem5-users] Problems with example from bootcamp 2024 APL external email warning: Verify sender jason@lowepower.com<mailto:jason@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-leave@gem5.org<mailto:gem5-users-leave@gem5.org>
BN
Beser, Nicholas D.
Wed, Oct 9, 2024 2:49 AM

That corrected the bug. The file in the completed directory did not have the underscore.

Thank you,

Nick

Sent with BlackBerry Work
(www.blackberry.com)

From: Jason Lowe-Power <jason@lowepower.commailto:jason@lowepower.com>
Date: Tuesday, Oct 08, 2024 at 12:32 PM
To: The gem5 Users mailing list <gem5-users@gem5.orgmailto:gem5-users@gem5.org>
Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edumailto:Nick.Beser@jhuapl.edu>
Subject: [EXT] Re: [gem5-users] Problems with example from bootcamp 2024

APL external email warning: Verify sender jason@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.orgmailto: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:

2024https://github.com/gem5bootcamp/2024/tree/main/materialshttps://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-modelshttps://github.com/gem5bootcamp/2024/tree/main/materials/03-Developing-gem5-models/06-modeling-cache-coherencehttps://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:ii_1926cf83ca94cff311]

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.orgmailto:gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.orgmailto:gem5-users-leave@gem5.org

That corrected the bug. The file in the completed directory did not have the underscore. Thank you, Nick Sent with BlackBerry Work (www.blackberry.com) From: Jason Lowe-Power <jason@lowepower.com<mailto:jason@lowepower.com>> Date: Tuesday, Oct 08, 2024 at 12:32 PM To: The gem5 Users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edu<mailto:Nick.Beser@jhuapl.edu>> Subject: [EXT] Re: [gem5-users] Problems with example from bootcamp 2024 APL external email warning: Verify sender jason@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:ii_1926cf83ca94cff311] 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-leave@gem5.org<mailto:gem5-users-leave@gem5.org>