[gem5-users] Re: Help: "Error: Can't find a working Python installation"

2023-06-20 Thread 李明轩 via gem5-users
Hi! Thanks for your detailed reply and advice! I’ve tried to switch to `develop` branch and successfully compile it. Thanks a lot! Best regards, Siris Li. > 2023年6月21日 04:26,Richard Cooper via gem5-users 写道: > > Hello, > Until then, you could either: > > 1) Use the `develop` branch of gem5

[gem5-users] Re: Help: "Error: Can't find a working Python installation"

2023-06-20 Thread Richard Cooper via gem5-users
Hello, The default python-config probably picks up your default Python installation (3.11) even if you choose a different Python version to invoke scons. You could check this by running python-config and checking which link options it produces. As Gabriel mentioned, Python 3.11 isn’t supported

[gem5-users] Re: Help: "Error: Can't find a working Python installation"

2023-06-20 Thread 李明轩 via gem5-users
Hello, I’ve looked through the web you provided and tried python 3.8.17, python 3.9.17, python 3.10.12. None of them solved my problem, the terminal still outputs "Error: Can't find a working Python installation”. > Hi, > With the current latest version of gem5, you must use python <= 3.10. Pyth

[gem5-users] Re: bad ioctl error in gpu_comput_driver.cc

2023-06-20 Thread Matt Sinclair via gem5-users
Right, the error you got with HeteroSync is because the generation of GPU the Makefile compiled for (gfxXXX) was not the same as the version the simulation supported. Since you were using GCN3 you would need to compile for gfx801 (APU) or gfx803 (dGPU) depending on what if you are trying to run a

[gem5-users] Re: Simple Switchable Processor with checkpoint restoration

2023-06-20 Thread Ayaz Akram via gem5-users
Hi Abdal, Assuming that you run into this problem when using different start and switch core types for SimpleSwitchable processor in your script, I think the main problem is that on restore the start core type is not the same as the core with which you took the checkpoint (which I am assuming was

[gem5-users] Re: bad ioctl error in gpu_comput_driver.cc

2023-06-20 Thread Anoop Mysore via gem5-users
Wrong build; it works when built for gfx-8 (per readme) $ make release-gfx8 in heterosync directory. On Tue, Jun 20, 2023, 6:26 PM Anoop Mysore wrote: > Oh I see, that makes sense; I was on ROCm 5.1.0. > I am now running on docker and the square test works as expected. > I don't see a ready-made

[gem5-users] Re: Help: "Error: Can't find a working Python installation"

2023-06-20 Thread gabriel.busnot--- via gem5-users
Hi, With the current latest version of gem5, you must use python <= 3.10. Python 3.11 will be supported in the next release of gem5 coming very soon. For details: https://gem5.atlassian.net/browse/GEM5-1295 Regards, Gabriel ___ gem5-users mailing lis

[gem5-users] Re: bad ioctl error in gpu_comput_driver.cc

2023-06-20 Thread Anoop Mysore via gem5-users
Oh I see, that makes sense; I was on ROCm 5.1.0. I am now running on docker and the square test works as expected. I don't see a ready-made config for full system emulation with gcn3 -- is that available someplace else or should I figure out how to build one? I think I need that because when I try

[gem5-users] Help: "Error: Can't find a working Python installation"

2023-06-20 Thread 李明轩 via gem5-users
I follow the instructions on gem5 website and try to compile using command `scons build/X86/gem5.opt -j 4`. However, it shows such error: "Error: Can't find a working Python installation”. My environment is M2 MacBook Air, gem5 v22.1.0.0. I’m sure that I have already installed Python 3.11.4 on my

[gem5-users] Re: simulate a multi-core processor with Gem5

2023-06-20 Thread Jason Lowe-Power via gem5-users
Hello, You may also find the "Learning gem5" documentation https://www.gem5.org/documentation/learning_gem5/introduction/ and the bootcamp videos https://www.youtube.com/playlist?list=PL_hVbFs_loVSaSDPr1RJXP5RRFWjBMqq3 useful. Cheers, Jason On Tue, Jun 20, 2023 at 10:49 AM Eliot Moss via gem5-us

[gem5-users] Re: About Risc-V custom ISA

2023-06-20 Thread Jason Lowe-Power via gem5-users
Hello, I believe you would have to modify your compiler to emit the instruction to avoid using embedded assembly. Cheers, Jason On Tue, Jun 20, 2023 at 10:36 AM 中国石油大学张天 via gem5-users < gem5-users@gem5.org> wrote: > When I have customized a RISC-V instruction, I want to know how to make > the

[gem5-users] Re: simulate a multi-core processor with Gem5

2023-06-20 Thread Eliot Moss via gem5-users
On 6/20/2023 10:41 AM, 中国石油大学张天 via gem5-users wrote: How to simulate a multi-core processor with Gem5, such as how to write configuration files? For example, in the following form: You don't write config files. You write python code that creates instances of python classes. The gem5 system w

[gem5-users] simulate a multi-core processor with Gem5

2023-06-20 Thread 中国石油大学张天 via gem5-users
How to simulate a multi-core processor with Gem5, such as how to write configuration files? For example, in the following form:___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org

[gem5-users] About Risc-V custom ISA

2023-06-20 Thread 中国石油大学张天 via gem5-users
When I have customized a RISC-V instruction, I want to know how to make the load program execute it naturally, without using embedded assembly? At present, I only know how to use embedded assembly to force this custom instruction to run.___ gem5-users

[gem5-users] Re: bad ioctl error in gpu_comput_driver.cc

2023-06-20 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only - General] Hi, SE mode supports ROCm 4.0 only. What version of ROCm is installed on the host machine? If they are different the IOCTLs might be as well. You can alternately try full system with GPU if you want to avoid docker. -Matt From: Anoop Mysore via gem5-users

[gem5-users] Re: bad ioctl error in gpu_comput_driver.cc

2023-06-20 Thread Anoop Mysore via gem5-users
Log: ___ 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 Jun 19 2023 11:00:56 gem5 started Jun 20 2

[gem5-users] bad ioctl error in gpu_comput_driver.cc

2023-06-20 Thread Anoop Mysore via gem5-users
I built gem5-gcn3 following: https://www.gem5.org/documentation/general_docs/gpu_models/GCN3 I