[gem5-users] Re: gem5art SPEC2017 FS Tutorial : error opening disk image

2021-09-22 Thread Hoa Nguyen via gem5-users
Hi Reiko,

Can you point to the tutorial and the launch experiment script that you
used?

I think it's possible that the
file disk-image/spec2017/spec2017-image/spec2017 didn't exist, or the path
to that file was incorrect.

Regards,
Hoa Nguyen

On Wed, Sep 22, 2021, 12:24 PM Reiko Matsuda-dunn via gem5-users <
gem5-users@gem5.org> wrote:

> Hello!
>
> I have been following the tutorial here. I've modified the
> launch_spec2017_experiment to just run the 602.gcc_s test with the o3 cpu,
> and I'm getting the error posted below.
>
> Some additional info that might be helpful:
>  - I'm using WSL2.
>  - from simout:
> command line: gem5/build/X86/gem5.opt -re 
> --outdir=/home/user/gem5-resources/src/spec-2017/results/o3/test/602.gcc_s 
> configs/run_spec.py vmlinux-4.19.83 
> disk-image/spec2017/spec2017-image/spec2017 o3 602.gcc_s test
>
> Any guidance would be much appreciated!
> -Reiko
>
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (1024 Mbytes)
> build/X86/mem/mem_interface.cc:791: warn:
> DRAM device capacity (32768 Mbytes) does not match the address range assigned 
> (128 Mbytes)
> build/X86/sim/kernel_workload.cc:46: info: kernel located at:
> vmlinux-4.19.83
> build/X86/dev/serial/terminal.cc:170: warn:
> Sockets disabled, not accepting terminal connections
> build/X86/dev/storage/disk_image.cc:95: panic:
> Error opening disk-image/spec2017/spec2017-image/spec2017
> Memory Usage: 8726460 KBytes
> Program aborted at tick 0
> --- BEGIN LIBC BACKTRACE ---
> gem5/build/X86/gem5.opt(+0x951420)[0x55d0ad0f7420]
> gem5/build/X86/gem5.opt(+0x97407e)[0x55d0ad11a07e]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f63f0e9a3c0]
> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f63f047518b]
> /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f63f0454859]
> gem5/build/X86/gem5.opt(+0x345fb5)[0x55d0acaebfb5]
> gem5/build/X86/gem5.opt(+0x107f1a0)[0x55d0ad8251a0]
> gem5/build/X86/gem5.opt(+0x107f37d)[0x55d0ad82537d]
> gem5/build/X86/gem5.opt(+0x1448796)[0x55d0adbee796]
> gem5/build/X86/gem5.opt(+0x1449a66)[0x55d0adbefa66]
> gem5/build/X86/gem5.opt(+0x31a261)[0x55d0acac0261]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8738)[0x7f63f1150738]
>
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyObject_MakeTpCall+0xab)[0x7f63f1150b1b]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8de0)[0x7f63f1150de0]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
>
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
>
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
>
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
>
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
>
> /lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
> --- END LIBC BACKTRACE ---
> ReplyForward
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> 

[gem5-users] Re: Access to gem5 101 course

2021-09-22 Thread Scott Blankenberg via gem5-users
Hello Javed Osmany,

Did you try clicking the links to the different parts of the course?

Thanks,

Scott Blankenberg
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


[gem5-users] Re: Access to gem5 101 course

2021-09-22 Thread Javed Osmany via gem5-users
The link is working okay for me.

Best regards
JO

From: Bobby Bruce via gem5-users [mailto:gem5-users@gem5.org]
Sent: 22 September 2021 18:53
To: gem5 users mailing list 
Cc: scot...@synopsys.com; Bobby Bruce 
Subject: [gem5-users] Re: Access to gem5 101 course

Yip, dead link for me as well. I'll see what we can do.

The Learning gem5 Tutorial should be sufficient though if you're new to gem5.
--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Mon, Sep 20, 2021 at 10:16 AM Scott Blankenberg via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Dear all,

Can anyone still access the gem5 101 course at : 
https://www.gem5.org/documentation/learning_gem5/gem5_101/#:~:text=Branch%20prediction%20and%20predication%20are%20two%20common%20techniques,how%20to%20incorporate%20gem5%20into%20your%20research%20process.

When I click the links I get a page not found error.

Thanks,

Scott Blankenberg
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to 
gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] gem5art SPEC2017 FS Tutorial : error opening disk image

2021-09-22 Thread Reiko Matsuda-dunn via gem5-users
Hello!

I have been following the tutorial here. I've modified the
launch_spec2017_experiment to just run the 602.gcc_s test with the o3 cpu,
and I'm getting the error posted below.

Some additional info that might be helpful:
 - I'm using WSL2.
 - from simout:
command line: gem5/build/X86/gem5.opt -re
--outdir=/home/user/gem5-resources/src/spec-2017/results/o3/test/602.gcc_s
configs/run_spec.py vmlinux-4.19.83
disk-image/spec2017/spec2017-image/spec2017 o3 602.gcc_s test

Any guidance would be much appreciated!
-Reiko

build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (1024 Mbytes)
build/X86/mem/mem_interface.cc:791: warn:
DRAM device capacity (32768 Mbytes) does not match the address range
assigned (128 Mbytes)
build/X86/sim/kernel_workload.cc:46: info: kernel located at:
vmlinux-4.19.83
build/X86/dev/serial/terminal.cc:170: warn:
Sockets disabled, not accepting terminal connections
build/X86/dev/storage/disk_image.cc:95: panic:
Error opening disk-image/spec2017/spec2017-image/spec2017
Memory Usage: 8726460 KBytes
Program aborted at tick 0
--- BEGIN LIBC BACKTRACE ---
gem5/build/X86/gem5.opt(+0x951420)[0x55d0ad0f7420]
gem5/build/X86/gem5.opt(+0x97407e)[0x55d0ad11a07e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f63f0e9a3c0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f63f047518b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f63f0454859]
gem5/build/X86/gem5.opt(+0x345fb5)[0x55d0acaebfb5]
gem5/build/X86/gem5.opt(+0x107f1a0)[0x55d0ad8251a0]
gem5/build/X86/gem5.opt(+0x107f37d)[0x55d0ad82537d]
gem5/build/X86/gem5.opt(+0x1448796)[0x55d0adbee796]
gem5/build/X86/gem5.opt(+0x1449a66)[0x55d0adbefa66]
gem5/build/X86/gem5.opt(+0x31a261)[0x55d0acac0261]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8738)[0x7f63f1150738]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyObject_MakeTpCall+0xab)[0x7f63f1150b1b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8de0)[0x7f63f1150de0]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x8006b)[0x7f63f0f2806b]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x2a8daa)[0x7f63f1150daa]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(+0x74d6d)[0x7f63f0f1cd6d]
/lib/x86_64-linux-gnu/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x7d86)[0x7f63f0f24ef6]
--- END LIBC BACKTRACE ---
ReplyForward
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] gem5 v21.1.0.2 hotfix release: Fix Vector statistics

2021-09-22 Thread Bobby Bruce via gem5-users
Dear all,

The stable branch of the gem5 repository now contains the v21.1.0.2 hotfix
release. This release fixes a bug which was causing some vector statistics
in gem5 to break. We encourage gem5 users to pull the latest version of
gem5 from the repo's stable branch.

Kind regards,
Bobby
--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Matt Sinclair via gem5-users
Thanks Kyle!  I agree we should probably just update the documentation Imad
found to point to the gem5-resources documentation -- since that was what
we updated already.  This is part of my plan for later -- that way the
documentation doesn't go away, but we also don't need to update two
different sets of documentation.

Matt

On Wed, Sep 22, 2021 at 2:08 PM Kyle Roarty  wrote:

> The issue with the rocblas build is that we don't install rocm-cmake until
> after we install rocblas. It looks like rocblas downloads it automatically
> if we don't have it installed, so that's why I didn't get any issues when
> initially testing it. This patch
>  should fix
> the issue.
>
> Also, I think the documentation Imad was using was the documentation we
> have in util/dockerfiles/gcn-gpu. I'm of the opinion that we should just
> remove that README because we have better documentation on gem5.org and
> in gem5-resources (Although we still say to build gfx8-apu in the gem5.org
> documentation)
>
> Kyle
> --
> *From:* mattdsinclair.w...@gmail.com 
> *Sent:* Wednesday, September 22, 2021 1:11 PM
> *To:* gem5 users mailing list 
> *Cc:* Poremba, Matthew ; Kyle Roarty <
> kroa...@wisc.edu>; Imad Al Assir ; Bobby Bruce <
> bbr...@ucdavis.edu>
> *Subject:* Re: [gem5-users] Re: gem5 GCN GPU docker error
>
> Collating responses to emails since you all type faster than me
>
> - Imad: glad to hear things work with the updates Matt P proposed!
> - documentation: Matt P, yes we did update the documentation here:
> https://resources.gem5.org/ (e.g.,
> https://resources.gem5.org/resources/square), but apparently didn't
> propagate those updates to the webpage Imad was using.  I will add that to
> my list for the week.  Bobby, I see you did part of this already.  I
> believe there is more that needs to be cleaned up based on what Imad/Matt P
> said, but I will wait until your version is checked in (imminently) before
> re-reading and updating.
> - apt repos: Matt P, you must be right about rocblas updating something.  *
> Kyle, can you please take care of updating the docker to use the specific
> rocblas version we need?*
>
> Matt
>
> On Wed, Sep 22, 2021 at 1:03 PM Bobby Bruce via gem5-users <
> gem5-users@gem5.org> wrote:
>
> Just jumping in here,
>
> I can confirm I can't build the image anymore. I had assumed this was just
> a problem on my end before reading these emails. However, the image hosted
> at http://gcr.io/gem5-test/gcn-gpu should be the most up-to-date version
> of this Docker prior to this build error being introduced. It should work.
>
> I've updated the website script here:
> https://gem5-review.googlesource.com/c/public/gem5-website/+/50807.
> Apologies, our documentation could definitely do with some tidying up :).
>
> --
> Dr. Bobby R. Bruce
> Room 3050,
> Kemper Hall, UC Davis
> Davis,
> CA, 95616
>
> web: https://www.bobbybruce.net
>
>
> On Wed, Sep 22, 2021 at 10:02 AM Imad Al Assir via gem5-users <
> gem5-users@gem5.org> wrote:
>
> Dear Matt,
>
> Many thanks for catching this error! It did indeed solve the problem; I
> was able to successfully run square and other applications from hip-samples
> on both, the manually built dockerfile with everything related to rocBLAS
> and MIOpen commented, and the pre-built docker image which I believe has
> rocBLAS and MIOpen installed (based on its size).
>
> Many thanks again,
> Imad
>
> On Sep 22 2021, at 6:48 pm, Poremba, Matthew 
> wrote:
>
>
> [AMD Official Use Only]
>
>
>
> Hi Imad,
>
>
>
>
>
> Yes, the docker seems to have broken in the past few days.
>
>
>
> Regarding the benchmark not completing, please change your command to use
> 3 CPUs:
>
>
>
>
>
> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
>
> -w /gem5 gcr.io/gem5-test/gcn-gpu \
>
> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n3 \
>
> --benchmark-root=/gem5-resources/src/gpu/square/bin \
>
> -c square
>
>
>
> ROCm 4.0 requires 3 CPUs to run now.  I thought we had updated the
> README.md and website before gem5 21.1 release to reflect this but looks
> like they are not up to date.
>
>
>
>
>
> -Matt
>
>
>
> *From:* Imad Al Assir via gem5-users 
> *Sent:* Wednesday, September 22, 2021 9:31 AM
> *To:* Matt Sinclair 
> *Cc:* gem5 users mailing list ; Kyle Roarty <
> kroa...@wisc.edu>; Imad Al Assir 
> *Subject:* [gem5-users] Re: gem5 GCN GPU docker error
>
>
> [CAUTION: External Email]
>
> Hello,
> Thank you for your reply. I was simply following the documentation on the
> gem5 website:
> https://www.gem5.org/documentation/general_docs/gpu_models/GCN3
> 

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Kyle Roarty via gem5-users
The issue with the rocblas build is that we don't install rocm-cmake until 
after we install rocblas. It looks like rocblas downloads it automatically if 
we don't have it installed, so that's why I didn't get any issues when 
initially testing it. This 
patch should fix 
the issue.

Also, I think the documentation Imad was using was the documentation we have in 
util/dockerfiles/gcn-gpu. I'm of the opinion that we should just remove that 
README because we have better documentation on gem5.org and in gem5-resources 
(Although we still say to build gfx8-apu in the gem5.org documentation)

Kyle

From: mattdsinclair.w...@gmail.com 
Sent: Wednesday, September 22, 2021 1:11 PM
To: gem5 users mailing list 
Cc: Poremba, Matthew ; Kyle Roarty ; 
Imad Al Assir ; Bobby Bruce 
Subject: Re: [gem5-users] Re: gem5 GCN GPU docker error

Collating responses to emails since you all type faster than me

- Imad: glad to hear things work with the updates Matt P proposed!
- documentation: Matt P, yes we did update the documentation here: 
https://resources.gem5.org/ (e.g., 
https://resources.gem5.org/resources/square), but apparently didn't propagate 
those updates to the webpage Imad was using.  I will add that to my list for 
the week.  Bobby, I see you did part of this already.  I believe there is more 
that needs to be cleaned up based on what Imad/Matt P said, but I will wait 
until your version is checked in (imminently) before re-reading and updating.
- apt repos: Matt P, you must be right about rocblas updating something.  Kyle, 
can you please take care of updating the docker to use the specific rocblas 
version we need?

Matt

On Wed, Sep 22, 2021 at 1:03 PM Bobby Bruce via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Just jumping in here,

I can confirm I can't build the image anymore. I had assumed this was just a 
problem on my end before reading these emails. However, the image hosted at 
http://gcr.io/gem5-test/gcn-gpu should be the most up-to-date version of this 
Docker prior to this build error being introduced. It should work.

I've updated the website script here: 
https://gem5-review.googlesource.com/c/public/gem5-website/+/50807. Apologies, 
our documentation could definitely do with some tidying up :).

--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Wed, Sep 22, 2021 at 10:02 AM Imad Al Assir via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Dear Matt,

Many thanks for catching this error! It did indeed solve the problem; I was 
able to successfully run square and other applications from hip-samples on 
both, the manually built dockerfile with everything related to rocBLAS and 
MIOpen commented, and the pre-built docker image which I believe has rocBLAS 
and MIOpen installed (based on its size).

Many thanks again,
Imad

On Sep 22 2021, at 6:48 pm, Poremba, Matthew 
mailto:matthew.pore...@amd.com>> wrote:

[AMD Official Use Only]



Hi Imad,





Yes, the docker seems to have broken in the past few days.



Regarding the benchmark not completing, please change your command to use 3 
CPUs:





docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \

-w /gem5 
gcr.io/gem5-test/gcn-gpu \

build/GCN3_X86/gem5.opt configs/example/apu_se.py -n3 \

--benchmark-root=/gem5-resources/src/gpu/square/bin \

-c square



ROCm 4.0 requires 3 CPUs to run now.  I thought we had updated the README.md 
and website before gem5 21.1 release to reflect this but looks like they are 
not up to date.





-Matt



From: Imad Al Assir via gem5-users 
mailto:gem5-users@gem5.org>>
Sent: Wednesday, September 22, 2021 9:31 AM
To: Matt Sinclair mailto:sincl...@cs.wisc.edu>>
Cc: gem5 users mailing list mailto:gem5-users@gem5.org>>; 
Kyle Roarty mailto:kroa...@wisc.edu>>; Imad Al Assir 
mailto:imad.al.as...@upc.edu>>
Subject: [gem5-users] Re: gem5 GCN GPU docker error


[CAUTION: External Email]

Hello,
Thank you for your reply. I was simply following the documentation on the gem5 
website: 
https://www.gem5.org/documentation/general_docs/gpu_models/GCN3
In other words, to build the image, I used:
 docker build -t gcn-gpu .


This command didn't complete and was interrupted by the error I pasted in the 
previous mail.


I was also using the command in the documentation to compile square:
docker run --rm -v $PWD/gem5-resources:$PWD/gem5-resources -w 

[gem5-users] syscall perf_event_open (#241) unimplemented

2021-09-22 Thread walt_90--- via gem5-users
I got the following error while trying to run a binary with se.py
build/ARM/sim/syscall_emul.cc:66: fatal: syscall perf_event_open (#241) 
unimplemented.Memory Usage: 703864 KBytes
I am using the latest version of gem5 on Ubuntu 18.04.

I read the related threads titled:
[gem5-users] Using perf_event with the ARM PMU inside gem5 on Linux
gem5-dev] Change in gem5/gem5[develop]: arch-arm: Implement ArmPMU DTB 
generation

According to my understanding to these threads, this problem have been fixed, 
am I correct?
Thanks.___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: regarding gem5

2021-09-22 Thread Bharadwaj, Srikant via gem5-users
[AMD Official Use Only]

Hi Sravani,
Are you trying to build a Garnet standalone system?
Where did you get your repository from? Did you clone it from somewhere other 
than 
https://gem5.googlesource.com/public/gem5?
The screenshot doesn't tell us enough about what the gem5_gt directory is, and 
what it contains.

Thanks,
Srikant

From: Sravani Sravanam 20PHD7041 via gem5-users 
Sent: Wednesday, September 22, 2021 3:39 AM
To: gem5 users mailing list 
Cc: Sravani Sravanam 20PHD7041 
Subject: [gem5-users] Re: regarding gem5

[CAUTION: External Email]
yes sir,  
https://gem5.googlesource.com/public/gem5
 but this link will not work out for Network-on-chip. because it should contain 
the same folders of gem5 consisting of NoC i.e network on chip

On Wed, Sep 22, 2021 at 3:30 PM Gabriel Busnot via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Just read the error message you get. It cannot be more explicit than that: The 
SConstruct file is missing from your gem5_gt directory. And not knowing where 
this gem5_gt directory comes from and what it contains, what can I say?

git clone 
https://gem5.googlesource.com/public/gem5
cd gem5
scons build/NULL/gem5.opt PROTOCOL=Garnet_standalone -j2

This should work.

And one more time : do not send screenshots! Copy paste the content of your 
terminal instead. And read again the long answer I made to you a few days ago 
about how to ask questions in an efficient and informative manner.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to 
gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Matt Sinclair via gem5-users
 Collating responses to emails since you all type faster than me

- Imad: glad to hear things work with the updates Matt P proposed!
- documentation: Matt P, yes we did update the documentation here:
https://resources.gem5.org/ (e.g.,
https://resources.gem5.org/resources/square), but apparently didn't
propagate those updates to the webpage Imad was using.  I will add that to
my list for the week.  Bobby, I see you did part of this already.  I
believe there is more that needs to be cleaned up based on what Imad/Matt P
said, but I will wait until your version is checked in (imminently) before
re-reading and updating.
- apt repos: Matt P, you must be right about rocblas updating
something.  *Kyle,
can you please take care of updating the docker to use the specific rocblas
version we need?*

Matt

On Wed, Sep 22, 2021 at 1:03 PM Bobby Bruce via gem5-users <
gem5-users@gem5.org> wrote:

> Just jumping in here,
>
> I can confirm I can't build the image anymore. I had assumed this was just
> a problem on my end before reading these emails. However, the image hosted
> at http://gcr.io/gem5-test/gcn-gpu should be the most up-to-date version
> of this Docker prior to this build error being introduced. It should work.
>
> I've updated the website script here:
> https://gem5-review.googlesource.com/c/public/gem5-website/+/50807.
> Apologies, our documentation could definitely do with some tidying up :).
>
> --
> Dr. Bobby R. Bruce
> Room 3050,
> Kemper Hall, UC Davis
> Davis,
> CA, 95616
>
> web: https://www.bobbybruce.net
>
>
> On Wed, Sep 22, 2021 at 10:02 AM Imad Al Assir via gem5-users <
> gem5-users@gem5.org> wrote:
>
>> Dear Matt,
>>
>> Many thanks for catching this error! It did indeed solve the problem; I
>> was able to successfully run square and other applications from hip-samples
>> on both, the manually built dockerfile with everything related to rocBLAS
>> and MIOpen commented, and the pre-built docker image which I believe has
>> rocBLAS and MIOpen installed (based on its size).
>>
>> Many thanks again,
>> Imad
>>
>> On Sep 22 2021, at 6:48 pm, Poremba, Matthew 
>> wrote:
>>
>>
>> [AMD Official Use Only]
>>
>>
>>
>> Hi Imad,
>>
>>
>>
>>
>>
>> Yes, the docker seems to have broken in the past few days.
>>
>>
>>
>> Regarding the benchmark not completing, please change your command to use
>> 3 CPUs:
>>
>>
>>
>>
>>
>> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources
>> \
>>
>> -w /gem5 gcr.io/gem5-test/gcn-gpu \
>>
>> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n3 \
>>
>> --benchmark-root=/gem5-resources/src/gpu/square/bin \
>>
>> -c square
>>
>>
>>
>> ROCm 4.0 requires 3 CPUs to run now.  I thought we had updated the
>> README.md and website before gem5 21.1 release to reflect this but looks
>> like they are not up to date.
>>
>>
>>
>>
>>
>> -Matt
>>
>>
>>
>> *From:* Imad Al Assir via gem5-users 
>> *Sent:* Wednesday, September 22, 2021 9:31 AM
>> *To:* Matt Sinclair 
>> *Cc:* gem5 users mailing list ; Kyle Roarty <
>> kroa...@wisc.edu>; Imad Al Assir 
>> *Subject:* [gem5-users] Re: gem5 GCN GPU docker error
>>
>>
>> [CAUTION: External Email]
>>
>> Hello,
>> Thank you for your reply. I was simply following the documentation on the
>> gem5 website:
>> https://www.gem5.org/documentation/general_docs/gpu_models/GCN3
>> 
>> In other words, to build the image, I used:
>>  docker build -t gcn-gpu .
>>
>>
>> This command didn't complete and was interrupted by the error I pasted in
>> the previous mail.
>>
>>
>> I was also using the command in the documentation to compile square:
>> docker run --rm -v $PWD/gem5-resources:$PWD/gem5-resources -w
>> $PWD/gem5-resources/src/gpu/square gcr.io/gem5-test/gcn-gpu make square
>>
>>
>> NOT "make gfx8-apu", as written in the documentation, which caused an
>> error: "no rule to make target 'gfx8-apu' ", and I assumed was a typo.
>>
>>
>> To run it, I also used the command in the doc:
>> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources
>> \
>> -w /gem5 gcr.io/gem5-test/gcn-gpu \
>> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 \
>> --benchmark-root=/gem5-resources/src/gpu/square/bin \
>> -c square
>>
>>
>> Note that in these commands, I modified the path of square to '
>> gem5-resources/src/gpu/square' instead of 'gem5-resources/src/square',
>> because that's where I found the code for it.
>> Also note that I tried downloading the pre-built binary of square (from
>> the 

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Bobby Bruce via gem5-users
Just jumping in here,

I can confirm I can't build the image anymore. I had assumed this was just
a problem on my end before reading these emails. However, the image hosted
at http://gcr.io/gem5-test/gcn-gpu should be the most up-to-date version of
this Docker prior to this build error being introduced. It should work.

I've updated the website script here:
https://gem5-review.googlesource.com/c/public/gem5-website/+/50807.
Apologies, our documentation could definitely do with some tidying up :).

--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Wed, Sep 22, 2021 at 10:02 AM Imad Al Assir via gem5-users <
gem5-users@gem5.org> wrote:

> Dear Matt,
>
> Many thanks for catching this error! It did indeed solve the problem; I
> was able to successfully run square and other applications from hip-samples
> on both, the manually built dockerfile with everything related to rocBLAS
> and MIOpen commented, and the pre-built docker image which I believe has
> rocBLAS and MIOpen installed (based on its size).
>
> Many thanks again,
> Imad
>
> On Sep 22 2021, at 6:48 pm, Poremba, Matthew 
> wrote:
>
>
> [AMD Official Use Only]
>
>
>
> Hi Imad,
>
>
>
>
>
> Yes, the docker seems to have broken in the past few days.
>
>
>
> Regarding the benchmark not completing, please change your command to use
> 3 CPUs:
>
>
>
>
>
> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
>
> -w /gem5 gcr.io/gem5-test/gcn-gpu \
>
> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n3 \
>
> --benchmark-root=/gem5-resources/src/gpu/square/bin \
>
> -c square
>
>
>
> ROCm 4.0 requires 3 CPUs to run now.  I thought we had updated the
> README.md and website before gem5 21.1 release to reflect this but looks
> like they are not up to date.
>
>
>
>
>
> -Matt
>
>
>
> *From:* Imad Al Assir via gem5-users 
> *Sent:* Wednesday, September 22, 2021 9:31 AM
> *To:* Matt Sinclair 
> *Cc:* gem5 users mailing list ; Kyle Roarty <
> kroa...@wisc.edu>; Imad Al Assir 
> *Subject:* [gem5-users] Re: gem5 GCN GPU docker error
>
>
> [CAUTION: External Email]
>
> Hello,
> Thank you for your reply. I was simply following the documentation on the
> gem5 website:
> https://www.gem5.org/documentation/general_docs/gpu_models/GCN3
> 
> In other words, to build the image, I used:
>  docker build -t gcn-gpu .
>
>
> This command didn't complete and was interrupted by the error I pasted in
> the previous mail.
>
>
> I was also using the command in the documentation to compile square:
> docker run --rm -v $PWD/gem5-resources:$PWD/gem5-resources -w
> $PWD/gem5-resources/src/gpu/square gcr.io/gem5-test/gcn-gpu make square
>
>
> NOT "make gfx8-apu", as written in the documentation, which caused an
> error: "no rule to make target 'gfx8-apu' ", and I assumed was a typo.
>
>
> To run it, I also used the command in the doc:
> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
> -w /gem5 gcr.io/gem5-test/gcn-gpu \
> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 \
> --benchmark-root=/gem5-resources/src/gpu/square/bin \
> -c square
>
>
> Note that in these commands, I modified the path of square to '
> gem5-resources/src/gpu/square' instead of 'gem5-resources/src/square',
> because that's where I found the code for it.
> Also note that I tried downloading the pre-built binary of square (from
> the gem5-resources website: http://resources.gem5.org/README
> ),
> but the result was the same: application running indefinitely.
>
>
> Thanks again for your help,
> Imad
>
>
> PS: If it helps, here are the last things printed when running square in
> gem5 in the pre-built docker image:
>
>
> [...] just warnings
>
>
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
>
> gem5 version 21.1.0.1
> gem5 compiled Sep 21 2021 14:52:55
> gem5 started Sep 22 2021 15:26:26
> gem5 executing on 8d532399b09e, pid 1
> command line: build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2
> 

[gem5-users] Re: Access to gem5 101 course

2021-09-22 Thread Bobby Bruce via gem5-users
Yip, dead link for me as well. I'll see what we can do.

The Learning gem5 Tutorial should be sufficient though if you're new to
gem5.
--
Dr. Bobby R. Bruce
Room 3050,
Kemper Hall, UC Davis
Davis,
CA, 95616

web: https://www.bobbybruce.net


On Mon, Sep 20, 2021 at 10:16 AM Scott Blankenberg via gem5-users <
gem5-users@gem5.org> wrote:

> Dear all,
>
> Can anyone still access the gem5 101 course at :
> https://www.gem5.org/documentation/learning_gem5/gem5_101/#:~:text=Branch%20prediction%20and%20predication%20are%20two%20common%20techniques,how%20to%20incorporate%20gem5%20into%20your%20research%20process
> .
>
> When I click the links I get a page not found error.
>
> Thanks,
>
> Scott Blankenberg
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Imad Al Assir via gem5-users
Dear Matt,

Many thanks for catching this error! It did indeed solve the problem; I was 
able to successfully run square and other applications from hip-samples on 
both, the manually built dockerfile with everything related to rocBLAS and 
MIOpen commented, and the pre-built docker image which I believe has rocBLAS 
and MIOpen installed (based on its size).
Many thanks again,
Imad

On Sep 22 2021, at 6:48 pm, Poremba, Matthew  wrote:
>
> [AMD Official Use Only]
>
>
> Hi Imad,
>
>
> Yes, the docker seems to have broken in the past few days.
>
> Regarding the benchmark not completing, please change your command to use 3 
> CPUs:
>
>
> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
> -w /gem5 gcr.io/gem5-test/gcn-gpu \
> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n3 \
> --benchmark-root=/gem5-resources/src/gpu/square/bin \
> -c square
>
> ROCm 4.0 requires 3 CPUs to run now. I thought we had updated the README.md 
> and website before gem5 21.1 release to reflect this but looks like they are 
> not up to date.
>
>
> -Matt
>
> From: Imad Al Assir via gem5-users 
> Sent: Wednesday, September 22, 2021 9:31 AM
> To: Matt Sinclair 
> Cc: gem5 users mailing list ; Kyle Roarty 
> ; Imad Al Assir 
> Subject: [gem5-users] Re: gem5 GCN GPU docker error
>
>
>
>
>
> [CAUTION: External Email]
> Hello,
> Thank you for your reply. I was simply following the documentation on the 
> gem5 website: https://www.gem5.org/documentation/general_docs/gpu_models/GCN3 
> (https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gem5.org%2Fdocumentation%2Fgeneral_docs%2Fgpu_models%2FGCN3=04%7C01%7Cmatthew.poremba%40amd.com%7C2675554a18524cefdd0008d97de67d9b%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637679251172742925%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=izNVhdZSvEH7gisG849pkXAdKu2MtDMOt3aBbn9J26o%3D=0)
> In other words, to build the image, I used:
>
>
> docker build -t gcn-gpu .
>
>
>
> This command didn't complete and was interrupted by the error I pasted in the 
> previous mail.
>
>
> I was also using the command in the documentation to compile square:
> docker run --rm -v $PWD/gem5-resources:$PWD/gem5-resources -w 
> $PWD/gem5-resources/src/gpu/square gcr.io/gem5-test/gcn-gpu make square
>
>
>
> NOT "make gfx8-apu", as written in the documentation, which caused an error: 
> "no rule to make target 'gfx8-apu' ", and I assumed was a typo.
>
>
> To run it, I also used the command in the doc:
> docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
>
> -w /gem5 gcr.io/gem5-test/gcn-gpu \
>
> build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 \
>
> --benchmark-root=/gem5-resources/src/gpu/square/bin \
>
> -c square
>
>
>
> Note that in these commands, I modified the path of square to 
> 'gem5-resources/src/gpu/square' instead of 'gem5-resources/src/square', 
> because that's where I found the code for it.
> Also note that I tried downloading the pre-built binary of square (from the 
> gem5-resources website: http://resources.gem5.org/README 
> (https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresources.gem5.org%2FREADME=04%7C01%7Cmatthew.poremba%40amd.com%7C2675554a18524cefdd0008d97de67d9b%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637679251172752910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=aoZN7pZU%2Be9m0dvaemraGLb0MEulGMRH%2FVExbRdyllI%3D=0)),
>  but the result was the same: application running indefinitely.
>
>
>
> Thanks again for your help,
> Imad
>
>
>
> PS: If it helps, here are the last things printed when running square in gem5 
> in the pre-built docker image:
>
>
> [...] just warnings
>
>
> gem5 Simulator System. http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
>
>
> gem5 version 21.1.0.1
> gem5 compiled Sep 21 2021 14:52:55
>
> gem5 started Sep 22 2021 15:26:26
>
> gem5 executing on 8d532399b09e, pid 1
>
> command line: build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 
> --benchmark-root=/gem5-resources/src/gpu/square/bin -c square
>
>
>
> info: Standard input is not a terminal, disabling listeners.
> Num SQC = 1 Num scalar caches = 1 Num CU = 4
>
> coalescer.slave is deprecated. `slave` is now called `in_ports`
>
> warn: coalescer.slave is deprecated. `slave` is now called `in_ports`
>
> warn: coalescer.slave is deprecated. `slave` is now called `in_ports`
>
>
>
> [...] same warning as the one right above this line, repeated multiple times
>
>
> warn: system.ruby.network adopting orphan SimObject param 'ext_links'
> warn: system.ruby.network adopting orphan SimObject param 'int_links'
>
> build/GCN3_X86/sim/simulate.cc:107: info: Entering event queue @ 0. Starting 
> simulation...
>
> build/GCN3_X86/mem/ruby/system/Sequencer.cc:573: warn: Replacement policy 
> updates recently became the responsibility of SLICC state machines. Make sure 
> to setMRU() near callbacks in 

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only]

Hi Imad,


Yes, the docker seems to have broken in the past few days.

Regarding the benchmark not completing, please change your command to use 3 
CPUs:


docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
-w /gem5 gcr.io/gem5-test/gcn-gpu \
build/GCN3_X86/gem5.opt configs/example/apu_se.py -n3 \
--benchmark-root=/gem5-resources/src/gpu/square/bin \
-c square

ROCm 4.0 requires 3 CPUs to run now.  I thought we had updated the README.md 
and website before gem5 21.1 release to reflect this but looks like they are 
not up to date.


-Matt

From: Imad Al Assir via gem5-users 
Sent: Wednesday, September 22, 2021 9:31 AM
To: Matt Sinclair 
Cc: gem5 users mailing list ; Kyle Roarty 
; Imad Al Assir 
Subject: [gem5-users] Re: gem5 GCN GPU docker error

[CAUTION: External Email]
Hello,
Thank you for your reply. I was simply following the documentation on the gem5 
website: 
https://www.gem5.org/documentation/general_docs/gpu_models/GCN3
In other words, to build the image, I used:
 docker build -t gcn-gpu .

This command didn't complete and was interrupted by the error I pasted in the 
previous mail.

I was also using the command in the documentation to compile square:
docker run --rm -v $PWD/gem5-resources:$PWD/gem5-resources -w 
$PWD/gem5-resources/src/gpu/square gcr.io/gem5-test/gcn-gpu make square

NOT "make gfx8-apu", as written in the documentation, which caused an error: 
"no rule to make target 'gfx8-apu' ", and I assumed was a typo.

To run it, I also used the command in the doc:
docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
-w /gem5 gcr.io/gem5-test/gcn-gpu \
build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 \
--benchmark-root=/gem5-resources/src/gpu/square/bin \
-c square

Note that in these commands, I modified the path of square to 
'gem5-resources/src/gpu/square' instead of 'gem5-resources/src/square', because 
that's where I found the code for it.
Also note that I tried downloading the pre-built binary of square (from the 
gem5-resources website: 
http://resources.gem5.org/README),
 but the result was the same: application running indefinitely.

Thanks again for your help,
Imad

PS: If it helps, here are the last things printed when running square in gem5 
in the pre-built docker image:

[...] just warnings

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 21.1.0.1
gem5 compiled Sep 21 2021 14:52:55
gem5 started Sep 22 2021 15:26:26
gem5 executing on 8d532399b09e, pid 1
command line: build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 
--benchmark-root=/gem5-resources/src/gpu/square/bin -c square

info: Standard input is not a terminal, disabling listeners.
Num SQC =  1 Num scalar caches =  1 Num CU =  4
coalescer.slave is deprecated. `slave` is now called `in_ports`
warn: coalescer.slave is deprecated. `slave` is now called `in_ports`
warn: coalescer.slave is deprecated. `slave` is now called `in_ports`

[...] same warning as the one right above this line, repeated multiple times

warn: system.ruby.network adopting orphan SimObject param 'ext_links'
warn: system.ruby.network adopting orphan SimObject param 'int_links'
build/GCN3_X86/sim/simulate.cc:107: info: Entering event queue @ 0.  Starting 
simulation...
build/GCN3_X86/mem/ruby/system/Sequencer.cc:573: warn: Replacement policy 
updates recently became the responsibility of SLICC state machines. Make sure 
to setMRU() near callbacks in .sm files!
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall access(...)
build/GCN3_X86/sim/mem_state.cc:443: info: Increasing stack size by one page.
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)

[...] same warning as above repeated multiple times

build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Imad Al Assir via gem5-users
Hello,
Thank you for your reply. I was simply following the documentation on the gem5 
website: https://www.gem5.org/documentation/general_docs/gpu_models/GCN3
In other words, to build the image, I used:
docker build -t gcn-gpu .

This command didn't complete and was interrupted by the error I pasted in the 
previous mail.
I was also using the command in the documentation to compile square:
docker run --rm -v $PWD/gem5-resources:$PWD/gem5-resources -w 
$PWD/gem5-resources/src/gpu/square gcr.io/gem5-test/gcn-gpu make square

NOT "make gfx8-apu", as written in the documentation, which caused an error: 
"no rule to make target 'gfx8-apu' ", and I assumed was a typo.
To run it, I also used the command in the doc:
docker run --rm -v $PWD/gem5:/gem5 -v $PWD/gem5-resources:/gem5-resources \
-w /gem5 gcr.io/gem5-test/gcn-gpu \
build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 \
--benchmark-root=/gem5-resources/src/gpu/square/bin \
-c square

Note that in these commands, I modified the path of square to 
'gem5-resources/src/gpu/square' instead of 'gem5-resources/src/square', because 
that's where I found the code for it.
Also note that I tried downloading the pre-built binary of square (from the 
gem5-resources website: http://resources.gem5.org/README), but the result was 
the same: application running indefinitely.

Thanks again for your help,
Imad

PS: If it helps, here are the last things printed when running square in gem5 
in the pre-built docker image:
[...] just warnings
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 version 21.1.0.1
gem5 compiled Sep 21 2021 14:52:55
gem5 started Sep 22 2021 15:26:26
gem5 executing on 8d532399b09e, pid 1
command line: build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 
--benchmark-root=/gem5-resources/src/gpu/square/bin -c square

info: Standard input is not a terminal, disabling listeners.
Num SQC = 1 Num scalar caches = 1 Num CU = 4
coalescer.slave is deprecated. `slave` is now called `in_ports`
warn: coalescer.slave is deprecated. `slave` is now called `in_ports`
warn: coalescer.slave is deprecated. `slave` is now called `in_ports`

[...] same warning as the one right above this line, repeated multiple times
warn: system.ruby.network adopting orphan SimObject param 'ext_links'
warn: system.ruby.network adopting orphan SimObject param 'int_links'
build/GCN3_X86/sim/simulate.cc:107: info: Entering event queue @ 0. Starting 
simulation...
build/GCN3_X86/mem/ruby/system/Sequencer.cc:573: warn: Replacement policy 
updates recently became the responsibility of SLICC state machines. Make sure 
to setMRU() near callbacks in .sm files!
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall access(...)
build/GCN3_X86/sim/mem_state.cc:443: info: Increasing stack size by one page.
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)

[...] same warning as above repeated multiple times
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall 
set_robust_list(...)
build/GCN3_X86/sim/syscall_emul.cc:84: warn: ignoring syscall rt_sigaction(...)
(further warnings will be suppressed)
build/GCN3_X86/sim/syscall_emul.cc:84: warn: ignoring syscall 
rt_sigprocmask(...)
(further warnings will be suppressed)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall get_mempolicy(...)
build/GCN3_X86/arch/generic/debugfaults.hh:144: warn: MOVNTDQ: Ignoring 
non-temporal hint, modeling as cacheable!
build/GCN3_X86/arch/x86/generated/exec-ns.cc.inc:27: warn: instruction 
'frndint' unimplemented
build/GCN3_X86/sim/mem_state.cc:443: info: Increasing stack size by one page.
build/GCN3_X86/gpu-compute/gpu_compute_driver.cc:699: warn: unimplemented 
ioctl: AMDKFD_IOC_ACQUIRE_VM
build/GCN3_X86/sim/syscall_emul.hh:1676: warn: mmap: writing to shared mmap 
region is currently unsupported. The write succeeds on the target, but it will 
not be propagated to the host or shared mappings
build/GCN3_X86/sim/mem_state.cc:443: info: Increasing stack size by one page.
build/GCN3_X86/gpu-compute/gpu_compute_driver.cc:450: warn: Signal events are 
only supported currently
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/sim/power_state.cc:105: warn: PowerState: Already in the 
requested power state, request ignored
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall 
set_robust_list(...)
build/GCN3_X86/sim/syscall_emul.cc:73: warn: ignoring syscall mprotect(...)
build/GCN3_X86/gpu-compute/gpu_compute_driver.cc:594: warn: unimplemented 
ioctl: AMDKFD_IOC_SET_SCRATCH_BACKING_VA
build/GCN3_X86/gpu-compute/gpu_compute_driver.cc:604: warn: unimplemented 

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only]

Hi Imad & Matt,


I am seeing the same error as of this morning.  Not sure quite what the issue 
is, but I suspect not everything is choosing a specific package version and 
something was updated in an apt repo or one of the repos rocBLAS's install.sh 
script pulls from.  I'm trying some things out in parallel with other stuff so 
I'll report back later.

Imad:  Depending on what you are doing, you do not need rocBLAS and can comment 
out all of the rocBLAS and MIOpen runs. This will let you run GPU apps that 
don't have dependencies on those libraries.


-Matt

From: Matt Sinclair via gem5-users 
Sent: Wednesday, September 22, 2021 8:35 AM
To: gem5 users mailing list 
Cc: Imad Al Assir ; Kyle Roarty ; Matt 
Sinclair 
Subject: [gem5-users] Re: gem5 GCN GPU docker error

[CAUTION: External Email]
(Resending since bounced the first time)

Hi Imad,

I just built the docker earlier this week and did not have any problems (e.g., 
I ran square and it completed in < 2 hours).  How are you trying to build it?  
And how are you running the applications you mentioned?

Thanks,
Matt

On Wed, Sep 22, 2021 at 12:31 AM Imad Al Assir via gem5-users 
mailto:gem5-users@gem5.org>> wrote:
Hello,
Is there a problem with the most recent gcn-gpu docker file?
I tried building it several times on Ubuntu 20.04 and 18.04 but it kept giving 
me this error:

[...]
Unpacking rocblas (2.32.0-cc18d25f) ...
dpkg: dependency problems prevent configuration of rocblas:
 rocblas depends on rocm-core; however:
  Package rocm-core is not installed.

dpkg: error processing package rocblas (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rocblas-dev:
 rocblas-dev depends on rocblas (>= 2.32.0); however:
  Package rocblas is not configured yet.

dpkg: error processing package rocblas-dev (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 rocblas
 rocblas-dev
+ check_exit_code 1
+ ((  1 != 0  ))
+ exit 1
The command '/bin/sh -c ./install.sh -d -a all -i' returned a non-zero code: 1

I also tried downloading the pre-built docker image 
(gcr.io/gem5-test/gcn-gpu)
 and built gem5 supposedly with no errors (but with a warning about deprecated 
namespaces not being supported by the compiler). Then when I tried running the 
'square' sample application and other ones from 
gem5-resources/src/gpu/hip-samples (e.g. MatrixTranspose, dynamic_shared, 
inline_asm, etc.), they just kept running indefinitely (> 2 hours), and I had 
to kill them to stop them.

May you please try building the latest version of the gcn-gpu dockerfile and/or 
running a sample application on the pre-built docker image, and inform us if it 
works, and if not, how to fix the problem?

Thanks in advance,
Imad Al Assir
[Image removed by sender. Sent from 
Mailspring]___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to 
gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: gem5 GCN GPU docker error

2021-09-22 Thread Matt Sinclair via gem5-users
(Resending since bounced the first time)

Hi Imad,

I just built the docker earlier this week and did not have any problems
(e.g., I ran square and it completed in < 2 hours).  How are you trying to
build it?  And how are you running the applications you mentioned?

Thanks,
Matt

On Wed, Sep 22, 2021 at 12:31 AM Imad Al Assir via gem5-users <
gem5-users@gem5.org> wrote:

> Hello,
> Is there a problem with the most recent gcn-gpu docker file?
> I tried building it several times on Ubuntu 20.04 and 18.04 but it kept
> giving me this error:
>
> [...]
> Unpacking rocblas (2.32.0-cc18d25f) ...
> dpkg: dependency problems prevent configuration of rocblas:
>  rocblas depends on rocm-core; however:
>   Package rocm-core is not installed.
>
> dpkg: error processing package rocblas (--install):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of rocblas-dev:
>  rocblas-dev depends on rocblas (>= 2.32.0); however:
>   Package rocblas is not configured yet.
>
> dpkg: error processing package rocblas-dev (--install):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  rocblas
>  rocblas-dev
> + check_exit_code 1
> + ((  1 != 0  ))
> + exit 1
> The command '/bin/sh -c ./install.sh -d -a all -i' returned a non-zero
> code: 1
>
> I also tried downloading the pre-built docker image (
> gcr.io/gem5-test/gcn-gpu) and built gem5 supposedly with no errors (but
> with a warning about deprecated namespaces not being supported by the
> compiler). Then when I tried running the 'square' sample application and
> other ones from gem5-resources/src/gpu/hip-samples (e.g. MatrixTranspose,
> dynamic_shared, inline_asm, etc.), they just kept running indefinitely (> 2
> hours), and I had to kill them to stop them.
>
> May you please try building the latest version of the gcn-gpu dockerfile
> and/or running a sample application on the pre-built docker image, and
> inform us if it works, and if not, how to fix the problem?
>
> Thanks in advance,
> Imad Al Assir
> [image: Sent from Mailspring]
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: regarding gem5

2021-09-22 Thread Sravani Sravanam 20PHD7041 via gem5-users
yes sir,  https://gem5.googlesource.com/public/gem5 but this link will not
work out for Network-on-chip. because it should contain the same folders of
gem5 consisting of NoC i.e network on chip

On Wed, Sep 22, 2021 at 3:30 PM Gabriel Busnot via gem5-users <
gem5-users@gem5.org> wrote:

> Just read the error message you get. It cannot be more explicit than that:
> The SConstruct file is missing from your gem5_gt directory. And not knowing
> where this gem5_gt directory comes from and what it contains, what can I
> say?
>
> git clone https://gem5.googlesource.com/public/gem5
> cd gem5
> scons build/NULL/gem5.opt PROTOCOL=Garnet_standalone -j2
>
> This should work.
>
> And one more time : do not send screenshots! Copy paste the content of
> your terminal instead. And read again the long answer I made to you a few
> days ago about how to ask questions in an efficient and informative manner.
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: regarding gem5

2021-09-22 Thread Gabriel Busnot via gem5-users
Just read the error message you get. It cannot be more explicit than that: The 
SConstruct file is missing from your gem5_gt directory. And not knowing where 
this gem5_gt directory comes from and what it contains, what can I say?

git clone https://gem5.googlesource.com/public/gem5
cd gem5
scons build/NULL/gem5.opt PROTOCOL=Garnet_standalone -j2

This should work.

And one more time : do not send screenshots! Copy paste the content of your 
terminal instead. And read again the long answer I made to you a few days ago 
about how to ask questions in an efficient and informative manner.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s