[gem5-users] Problem with menuconfig on github codespace

2025-04-10 Thread Beser, Nicholas D. via gem5-users
I have run the cache coherence exercise from the bootcamp 2024 slides on my jetson orin nano and PC running linux without any issue. The class that I am teaching is attempting to run this on github codespace, and is running into a problem. The menuconfig does not seem to be available on codespac

[gem5-users] Re: [EXT] Re: Success with GPU

2025-03-02 Thread Beser, Nicholas D. via gem5-users
rch group, but of course takes a bit longer. What is the issue with the stats file exactly? I guess you wrote your own CPU version of square and that version is not behaving as expected? I am not an expert at the CPU part of gem5, but I'd need more information about how you disabled the C

[gem5-users] Re: [EXT] Re: Success with GPU

2025-03-02 Thread Beser, Nicholas D. via gem5-users
the CPU part of gem5, but I'd need more information about how you disabled the CPU part to understand or try to look into this. Likewise, what stats are you looking at for the CPU? Thanks, Matt On Sun, Mar 2, 2025 at 2:54 PM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>&

[gem5-users] Re: [EXT] Re: Success with GPU

2025-03-02 Thread Beser, Nicholas D. via gem5-users
expert at the CPU part of gem5, but I'd need more information about how you disabled the CPU part to understand or try to look into this. Likewise, what stats are you looking at for the CPU? Thanks, Matt On Sun, Mar 2, 2025 at 2:54 PM Beser, Nicholas D. via gem5-users mailto:gem5-users@g

[gem5-users] Success with GPU

2025-03-02 Thread Beser, Nicholas D. via gem5-users
Based on the discussion, It seems that docker can't find the gem5-vega that is in the /usr/local/bin. I noticed that the instructions also had us building the VEGA_X86/gem5.opt binary with the following command: I. docker run --volume $(pwd):$(pwd) -w $(pw

[gem5-users] Re: [EXT] Re: Problem running gpu example with codespace

2025-03-01 Thread Beser, Nicholas D. via gem5-users
ons are. Is it this: https://github.com/gem5bootcamp/gem5-bootcamp-env/blob/51590ae00b0e451c9b6a8854addbb94128ab4cac/materials/developing-gem5-models/11-gpu/README.md? Thanks, Matt On Wed, Feb 26, 2025 at 8:34 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: root@codespaces-e992b2:/

[gem5-users] Problem running gpu example with codespace

2025-02-26 Thread Beser, Nicholas D. via gem5-users
root@codespaces-e992b2:/workspaces/en525-712-81-sp25-amd-gpu-using-gem5-gem5bootcamp2024# gem5-vega gem5/configs/example/apu_se.py -n 3 --gfx-version= gfx902 -c gem5-resources/src/gpu/square/bin/square gem5 Simulator System. https://www.gem5.org gem5 is copyrighted software; use the --copyrigh

[gem5-users] Re: [EXT] Re: Attempting to create a 3 level cache with four cores

2025-02-20 Thread Beser, Nicholas D. via gem5-users
roblem. When you "import *" from m5.objects it imports the *module* MESI_Two_Level, not the object. You probably need to use this instead: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/cachehierarchies/ruby/mesi_two_level_cache_hierarchy.py#L53 Cheers, Jason On Thu,

[gem5-users] Re: [EXT] Re: Attempting to create a 3 level cache with four cores

2025-02-20 Thread Beser, Nicholas D. via gem5-users
src/python/gem5/components/cachehierarchies/ruby/mesi_two_level_cache_hierarchy.py#L53 Cheers, Jason On Thu, Feb 20, 2025 at 11:53 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I am trying to create a O3CPU based design with a 3 level cache (4 cores). I am running

[gem5-users] Attempting to create a 3 level cache with four cores

2025-02-20 Thread Beser, Nicholas D. via gem5-users
I am trying to create a O3CPU based design with a 3 level cache (4 cores). I am running into an error with O3CPU, and I am not sure if what I am trying todo is possible with gem5. Here is the code: from m5.objects import * from m5 import instantiate, simulate, curTick # Create the system system

[gem5-users] Benchmarking on Gem5

2024-10-30 Thread Beser, Nicholas D. via gem5-users
How accurate are the simulations on Gem5? I have a space craft project that is using an old processor (space qualified). The project engineer would like to run some classic benchmarks on it, but the processor would not be available for many months. Are the gem5 processor models clock accurate?

[gem5-users] Re: [EXT] Re: Does GarnetPt2Pt and GarnetMesh still work in Gem5?

2024-10-28 Thread Beser, Nicholas D. via gem5-users
with traffic generators) and all of the ISAs. Cheers, Jason On Sat, Oct 26, 2024 at 1:01 PM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I have been looking over the example of Garnet in the 2024 bootcamp. The Ring-garnet does work as advertised. I was wondering

[gem5-users] Re: [EXT] Re: Does GarnetPt2Pt and GarnetMesh still work in Gem5?

2024-10-28 Thread Beser, Nicholas D. via gem5-users
sed with traffic generators) and all of the ISAs. Cheers, Jason On Sat, Oct 26, 2024 at 1:01 PM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I have been looking over the example of Garnet in the 2024 bootcamp. The Ring-garnet does work as advertised. I was wonderin

[gem5-users] Does GarnetPt2Pt and GarnetMesh still work in Gem5?

2024-10-26 Thread Beser, Nicholas D. via gem5-users
I have been looking over the example of Garnet in the 2024 bootcamp. The Ring-garnet does work as advertised. I was wondering if GarnetPt2Pt and GarnetMesh still works. The example from the older 2022 bootcamp used NULL/gem5.opt, but while the code is still in the materials/archive, the command

[gem5-users] question about bootcamp 2024 slides on Cache Hierarchies

2024-10-12 Thread Beser, Nicholas D. via gem5-users
Jason, I went through both the youtube and slides for the talk on cache-hierarchies. I have some question that I hoping you might answer. The ruby example in the slides looked at the parallel algorithm. I noticed that you recommended using gem5-mesi. That was a pre-built gem5 in codespace. Look

[gem5-users] Re: [EXT] Re: Problems with example from bootcamp 2024

2024-10-08 Thread Beser, Nicholas D. via gem5-users
her 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-us

[gem5-users] Re: [EXT] Re: Problems with example from bootcamp 2024

2024-10-08 Thread Beser, Nicholas D. via gem5-users
eers, Jason On Tue, Oct 8, 2024 at 6:19 AM Beser, Nicholas D. via gem5-users 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/m

[gem5-users] Problems with example from bootcamp 2024

2024-10-08 Thread Beser, Nicholas D. via gem5-users
I am attempting to do the example from 2024 bootcamp described in the charts, and also in the README.md file located at: 2024/materials/03-Developing-gem5-models

[gem5-users] Question about running GPU emulation in gem5

2024-10-05 Thread Beser, Nicholas D. via gem5-users
I am teaching an advanced computer architecture class and had the class run the GPU example that was run in the 2024 bootcamp: docker run --volume $(pwd):$(pwd) -w $(pwd) ghcr.io/gem5/gcn-gpu:v24-0 gem5/build/VEGA_X86/gem5.opt gem5/configs/example/apu_se.py -n 3 --gfx-version=gfx902 - c gem5-r

[gem5-users] Problems running ruby example from bootcamp 2024

2024-09-21 Thread Beser, Nicholas D. via gem5-users
I tried to follow the charts that were published (06 Modeling Cache Coherence) and I copied the completed code into gem5/src/mem/ruby/protocol. After successfully building the gem5.opt for ALL_MyMSI, I tried to run the script on the ARM Jetson: $ build/ALL_MyMSI/gem5.opt configs/learning_gem5/p

[gem5-users] What models are included with generic build/ALL?

2024-09-16 Thread Beser, Nicholas D. via gem5-users
I have my class experimenting with gem5 this semester, and one of the classes will be looking at O3CPU model. If I don't specify CPU_MODELS=O3CPU in the build process, does the gem5 program already include the O3CPU model? I noticed that I was able to use some of these models without specifying

[gem5-users] Error message when compiling for ARM (Jetson orin nano)

2024-09-16 Thread Beser, Nicholas D. via gem5-users
I attempted to compile gem5.opt (ALL) and received the following error message: (After a long an apparently error free output) build/ALL/gem5.opt -j6 &>buildlogopt.txt [SO Param] m5.objects.KvmGic, MuxingKvmGicV2 -> ALL/python/_m5/param_MuxingKvmGicV2.cc {standard input}: Assembler messages: {s

[gem5-users] Problems running mips with gem5

2024-09-15 Thread Beser, Nicholas D. via gem5-users
I compiled gem5 with the ALL option. I tried to run MIPS code and was told that that my code was compiled big endian for mips. GEM5 said that it only compiles for little endian. I used the dockcross option in the gem5 test-progs area, If I try to compile little endian, (-EL), the compiler fails

[gem5-users] Unusual error when attempting bootcamp 2024 script

2024-09-14 Thread Beser, Nicholas D. via gem5-users
I have ported gem5 to the jetson orin nano, and created a version of gem5 v24 running on the jetson and also runnin on my own docker image. I can execute this script on the jetson directly, but when I try to run it on the docker image, I get a certificate error. (I don't get the error when I run

[gem5-users] problem porting gem5 to arm64 (Jetson orin nano)

2024-09-12 Thread Beser, Nicholas D. via gem5-users
I am attempting to setup the docker containers for gem5 (version 24) for the jetson orin nano. I am using the 2024 bootcamp files from github. I am running into errors on both the gcc-version and clang version builds. Apparently when I try to do the build they all fail with the: RUN update-al

[gem5-users] Re: [EXT] Re: Building Bootcamp 2024

2024-08-09 Thread Beser, Nicholas D. via gem5-users
rebuilt version of the devcontainer from ghcr.io/gem5/devcontainer:bootcamp-2024<http://ghcr.io/gem5/devcontainer:bootcamp-2024>. See https://github.com/orgs/gem5/packages/container/package/devcontainer Cheers, Jason On Thu, Aug 8, 2024 at 3:50 PM Beser, Nicholas D. via gem5-users m

[gem5-users] Re: [EXT] Re: Building Bootcamp 2024

2024-08-09 Thread Beser, Nicholas D. via gem5-users
out of disk space? You can use a prebuilt version of the devcontainer from ghcr.io/gem5/devcontainer:bootcamp-2024<http://ghcr.io/gem5/devcontainer:bootcamp-2024>. See https://github.com/orgs/gem5/packages/container/package/devcontainer Cheers, Jason On Thu, Aug 8, 2024 at 3:50 PM Beser

[gem5-users] Building Bootcamp 2024

2024-08-08 Thread Beser, Nicholas D. via gem5-users
I have been reviewing the bootcamp 2024 data set and trying to build a version for both the X86 and Arm64 (Jetson Orin Nano). The older bootcamp 2022 had a set of docker commands that built the entire system. I had been using that docker environment interactively. I noticed that the bootcamp 202

[gem5-users] SPEC2006 benchmark

2024-05-10 Thread Beser, Nicholas D. via gem5-users
Hoa, I just received the SPEC2006 and SPEC2017 benchmarks to use with my advanced computer architecture class. The first thing I noticed that the SPEC2006 benchmark was so old that it did not know about the ubuntu 20.04 OS version. I tried to build it on my Virtual box system, and although it s

[gem5-users] Re: [EXT] Re: Version of gem5

2024-03-17 Thread Beser, Nicholas D. via gem5-users
----原始邮件- 发件人:"Beser, Nicholas D. via gem5-users" mailto:gem5-users@gem5.org>> 发送时间:2024-03-17 23:58:44 (星期日) 收件人: "The gem5 Users mailing list" mailto:gem5-users@gem5.org>> 抄送: "Beser, Nicholas D." mailto:nick.be...@jhuapl.edu>> 主题: [gem5-users] V

[gem5-users] Version of gem5

2024-03-17 Thread Beser, Nicholas D. via gem5-users
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'

[gem5-users] Re: [EXT] Re: Build gem5 on non x86 system

2024-03-15 Thread Beser, Nicholas D. via gem5-users
make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption. Regards, Hoa Nguyen On Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.

[gem5-users] Re: [EXT] Re: Build gem5 on non x86 system

2024-03-15 Thread Beser, Nicholas D. via gem5-users
n an arm system and it works for me. However, please make sure that the system has enough memory to compile gem5. Typically compiling gem5 takes a lot of memory, and you can pass "--limit-ld-memory-usage" to reduce the memory consumption. Regards, Hoa Nguyen On Thu, Mar 14, 2024, 17

[gem5-users] Re: [EXT] Re: Build gem5 on non x86 system

2024-03-15 Thread Beser, Nicholas D. via gem5-users
n Thu, Mar 14, 2024, 17:44 Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I have been using gem5 on a number of linux systems such as WSL under windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin

[gem5-users] Build gem5 on non x86 system

2024-03-14 Thread Beser, Nicholas D. via gem5-users
I have been using gem5 on a number of linux systems such as WSL under windows 10/11, and Oracle VM and native Ubuntu 22.04 on a X86 system. All of the system were X86 based. I have a jetson orin nano which runs Ubuntu 20.04 and is based on the ARM processor. Has anyone ever compiled gem5 on a

[gem5-users] Re: [EXT] Re: Problems upgrading to latest version

2023-07-24 Thread Beser, Nicholas D. via gem5-users
There have been numerous codebase updates over the past year and we can't guarantee all of the tutorials will work as intended with the latest version. -- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Jul 23, 2023, at 7:00 AM, Bese

[gem5-users] Problems upgrading to latest version

2023-07-23 Thread Beser, Nicholas D. via gem5-users
I had been running version 22, and I had also run the bootcamp 2022 example for demonstrating MESI_Two_Level protocol. After I upgraded to version 23.0.0.1, I first noticed that I had trouble compiling the example. After finding a work around, to generate gem5.opt, The program seems to be missin

[gem5-users] Question about pulling in the latest version of gem5 with the bootcamp 2022 files.

2023-07-22 Thread Beser, Nicholas D. via gem5-users
I am using the bootcamp examples to teach my computer architecture class about gem5. I would like to pull in the latest version of gem5 from the github location. The command I am using is: git clone --recursive https://github.com/gem5bootcamp/gem5-bootcamp-env.git When I compile gem5, Instead o

[gem5-users] Re: [EXT] Re: Running benchmarks and gem5art

2023-07-02 Thread Beser, Nicholas D. via gem5-users
-for-nvm-in-gem5-3dd07ae9ccaa https://fleker.medium.com/building-running-whetstone-dhrystone-in-gem5-90d465a10bb4 As you had mentioned, some of them are proprietary and that made it hard to obtain and run. On Thu, Jun 29, 2023, 10:23 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem

[gem5-users] Re: [EXT] Re: Running benchmarks and gem5art

2023-06-29 Thread Beser, Nicholas D. via gem5-users
um.com/building-running-whetstone-dhrystone-in-gem5-90d465a10bb4 As you had mentioned, some of them are proprietary and that made it hard to obtain and run. On Thu, Jun 29, 2023, 10:23 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I have been preparing a lecture for

[gem5-users] Running benchmarks and gem5art

2023-06-29 Thread Beser, Nicholas D. via gem5-users
I have been preparing a lecture for my computer architecture class on running benchmarks using gem5. I noticed when I searched the web for examples, gem5art came up. I had been using the bootcamp 2022 tutorial as a guideline, so I am not sure where gem5art fits in. (https://www.gem5.org/documen

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-13 Thread Beser, Nicholas D. via gem5-users
-dependencies This is running on a VM system (X86, Ubuntu 22.04). Nick From: Beser, Nicholas D. via gem5-users Sent: Monday, June 12, 2023 9:46 PM To: The gem5 Users mailing list ; Jason Lowe-Power Cc: Bobby Bruce ; Ayaz Akram ; Thiago Rodrigues ; Beser, Nicholas D. Subject: [gem5-users] Re: [EXT

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-12 Thread Beser, Nicholas D. via gem5-users
//gcr.io>` as in "google container registry." I believe you have an "e" instead of a "c" in your URL. Cheers, Jason On Sat, Jun 10, 2023 at 7:52 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: Bobby, I tried your recommendatio

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-12 Thread Beser, Nicholas D. via gem5-users
instead of a "c" in your URL. Cheers, Jason On Sat, Jun 10, 2023 at 7:52 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: Bobby, I tried your recommendation for docker and got an error: $ docker pull ger.io/gem5-test/gem5-tutorial-env:latestError<http://g

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-10 Thread Beser, Nicholas D. via gem5-users
en these released. The “Obtain_resources” change was definitely one. I’m sorry for all the trouble your having with it. If you run into any additional problems please reach out to me directly. -- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybru

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-09 Thread Beser, Nicholas D. via gem5-users
for my assignments can be found here under different branches for each assignment: https://github.com/jlpteaching/gem5-assignment-template Cheers, Jason On Fri, Jun 9, 2023 at 9:08 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I will take a look at docker. I nee

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-09 Thread Beser, Nicholas D. via gem5-users
uble your having with it. If you run into any additional problems please reach out to me directly. -- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net<https://www.bobbybruce.net/> On Jun 2, 2023, at 6:02 PM, Beser, Nicholas D. via ge

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-09 Thread Beser, Nicholas D. via gem5-users
m 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Jun 2, 2023, at 6:02 PM, Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I installed gem5 prior to downloading the gem5-tutorial-codespace. Is the correct procedure git clone –recu

[gem5-users] Please disregard the last email

2023-06-04 Thread Beser, Nicholas D. via gem5-users
It turned out that the scons amr64.CROSS_COMPILE=aarch64-linux-gnu- build/arm64/out/m5 will take care of that problem. How did the bootcamp get the compiler to be installed without gnu? Nick ___ gem5-users mailing list -- gem5-users@gem5.org To unsubsc

[gem5-users] Problems with cross compilers

2023-06-04 Thread Beser, Nicholas D. via gem5-users
This might be a foolish question. I installed the cross compiler for ARM64 on my Ubuntu system, and instead of installing it as aarch64-linux-g++, it comes up as aarch64-linux-gnu-g++. Did gem5 has a way of redirecting the install or creating symbolic links? The bootcamp 2022 assumed that the A

[gem5-users] Re: [EXT] Re: Possible bug between X86 processors?

2023-06-04 Thread Beser, Nicholas D. via gem5-users
ary that is being simulated (for example different ISA than the ISA gem5 binary expects). I wonder if you see the same error for other binaries/programs on the AMD system? -Ayaz On Sat, Jun 3, 2023 at 11:12 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I am worki

[gem5-users] Re: [EXT] Re: Possible bug between X86 processors?

2023-06-04 Thread Beser, Nicholas D. via gem5-users
at 11:12 AM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: I am working my way through the bootcamp 2022 tutorial, and I noticed something odd. It suggests that if I have different types of X86 processors, I may have issues in execution. I was working with two different

[gem5-users] Possible bug between X86 processors?

2023-06-03 Thread Beser, Nicholas D. via gem5-users
I am working my way through the bootcamp 2022 tutorial, and I noticed something odd. It suggests that if I have different types of X86 processors, I may have issues in execution. I was working with two different systems. A slower (6 core) VM system (genuine intel), and a AMD Ryzen 9 16 core pro

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-02 Thread Beser, Nicholas D. via gem5-users
ng the --recursive flag. If you are using a different version of gem5, my guess is that your scripts might need to be updated because of changes in the standard library. -Ayaz On Fri, Jun 2, 2023 at 12:28 PM Beser, Nicholas D. via gem5-users mailto:gem5-users@gem5.org>> wrote: Thiago,

[gem5-users] Re: [EXT] Re: Question about running the hpca-2023 tutorial

2023-06-02 Thread Beser, Nicholas D. via gem5-users
_Error: 'str' object has no attribute 'get_local_path' in the" -> '(86) set_se_binary_workload.py' -< file After that I used the get_started scripts (part 1) and the benchmark worked just fine. The new Python API is very friendly but I could not us

[gem5-users] Question about running the hpca-2023 tutorial

2023-05-31 Thread Beser, Nicholas D. via gem5-users
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

[gem5-users] Question about gem5 tutorial

2023-04-30 Thread Beser, Nicholas D. via gem5-users
I am working my way through the tutorial and I have some questions. I noticed that the tutorial at: https://www.gem5.org/documentation/learning_gem5/part1/cache_config/ has a section called Adding parameters to your script. It describes the parser arguments that seem to be built in to the curre