@Daniel Gerzhoy <daniel.gerz...@gmail.com>, could you let us know how you
modified the dockerfile?

@Kyle or @Dan, if you can make an update to the dockerfile and push it,
we'd appreciate it.

It's really too bad (and difficult for everyone) that we're stuck on such a
specific version of ROCm :).

Cheers,
Jason

On Thu, Sep 3, 2020 at 11:11 AM Poremba, Matthew <matthew.pore...@amd.com>
wrote:

> [AMD Public Use]
>
>
>
> Hi all,
>
>
>
>
>
> I would also be interested if anyone has found a solution to this.  I
> currently cannot test any of the patches I was hoping to finish this week
> due to this issue.  I am not very familiar with docker, and after about 30
> minutes of going through documentation wasn’t even sure how to install
> additional things after the build command. Eventually I ended up rebuilding
> the whole image again.  I’ve also tried adding scons with pip, which seems
> to install the correct “script” for scons, however the “engine” version is
> still pointing to the older copy that ships with 16.04 so that again didn’t
> work. The last thing I am going to try it figure out what is installing the
> system version of scons (apt?) and remove that completely in hopes that it
> only finds the pip version.
>
>
>
>
>
> -Matt
>
>
>
> *From:* Jason Lowe-Power via gem5-dev <gem5-dev@gem5.org>
> *Sent:* Wednesday, September 2, 2020 8:03 AM
> *To:* Gabe Black <gabebl...@google.com>
> *Cc:* gem5 Developer List <gem5-dev@gem5.org>; Kyle Roarty <
> kroa...@wisc.edu>; Jason Lowe-Power <ja...@lowepower.com>
> *Subject:* [gem5-dev] Re: Scons minimum version breaks GCN-gpu dockerfile
> build
>
>
>
> [CAUTION: External Email]
>
> It's AMD's GPGPU runtime framework: https://rocmdocs.amd.com/en/latest/
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Frocmdocs.amd.com%2Fen%2Flatest%2F&data=02%7C01%7Cmatthew.poremba%40amd.com%7Ce7a7d2e4b29249f2bcb308d84f516166%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637346558243267801&sdata=q8hCTHB5S0MYRy4DrbqdM2NKT5WUSyDLAsieiZKbyEI%3D&reserved=0>
>
>
>
> From what I can tell (it's been many years since I've worked deeply with
> AMD GPGPUs) the user and kernel APIs change incredibly frequently. So,
> rather than trying to keep up with a moving target, the current GCN
> (graphics core next, which is actually not "next" anymore but a couple of
> generations behind) support in gem5 is tied to a version of ROCm from ~3-5
> years ago. This requires Ubuntu 16.04. Kyle did a great job setting up a
> docker environment with everything that's needed (
> https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/util/dockerfiles/gcn-gpu/Dockerfile
> <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgem5.googlesource.com%2Fpublic%2Fgem5%2F%2B%2Frefs%2Fheads%2Fdevelop%2Futil%2Fdockerfiles%2Fgcn-gpu%2FDockerfile&data=02%7C01%7Cmatthew.poremba%40amd.com%7Ce7a7d2e4b29249f2bcb308d84f516166%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637346558243277804&sdata=A46b5FVp9jRXV7RfP776yNG6gq2vnCBpr%2F7MWtV0Na8%3D&reserved=0>).
> Annoyingly, since gem5 (currently) only supports SE mode for GPGPUs you
> have to use the docker container to build benchmarks, build gem5 *and run*
> gem5.
>
>
>
> Matt, Brad, Tony, Kyle and others can probably answer any deeper questions.
>
>
>
> Cheers,
>
> jason
>
>
>
> On Wed, Sep 2, 2020 at 1:46 AM Gabe Black <gabebl...@google.com> wrote:
>
> What's a ROCM?
>
>
>
> Gabe
>
>
>
> On Tue, Sep 1, 2020 at 11:43 AM Jason Lowe-Power via gem5-dev <
> gem5-dev@gem5.org> wrote:
>
> Hi Dan,
>
>
>
> :facepalm: At least this is on develop and not the stable branch!
>
>
>
> I think we need to get input from Kyle on this since he developed that
> docker image. TBH, I think pip isn't a bad solution given that 16.04 is
> more than four years old and we're stuck with that to support the older
> version of the ROCM stack.
>
>
>
> Creating a jira issue would be appreciated. Please tag Kyle in it, if you
> do that.
>
>
>
> Cheers,
>
> Jason
>
>
>
> On Tue, Sep 1, 2020 at 11:19 AM Daniel Gerzhoy via gem5-dev <
> gem5-dev@gem5.org> wrote:
>
> Hey all,
>
>
>
> Pulled latest updates and the minimum version requirement for scons breaks
> the GCN-gpu dockerfile.
>
>
>
> My fix involved installing the latest scons via pip (after installing pip)
> but there is probably a better way to do it (apt-get) but it looks like the
> Ubuntu16.04 base for the DockerFile automatically points to 2.4 not 3.0 and
> I haven't figured out how to get it to install 3.0 instead yet.
>
>
>
> I can open up a Jira ticket as well if that's desirable. (Also if I should
> have just done that instead of sending this email please let me know, still
> learning protocol).
>
>
>
> Thanks,
>
>
>
> Dan
>
> _______________________________________________
> gem5-dev mailing list -- gem5-dev@gem5.org
> To unsubscribe send an email to gem5-dev-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
> _______________________________________________
> gem5-dev mailing list -- gem5-dev@gem5.org
> To unsubscribe send an email to gem5-dev-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
>
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to