gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Re: problem porting gem5 to arm64 (Jetson orin nano)

GT
Giacomo Travaglini
Thu, Sep 12, 2024 5:15 PM
  • #6 0.302 update-alternatives: error: alternative path /usr/bin/g++- doesn't exist

It looks like you are not passing the $version parameter and that’s why it does not find g++-{empty}

Giacomo

From: Beser, Nicholas D. Nick.Beser@jhuapl.edu
Date: Thursday, 12 September 2024 at 18:11
To: Giacomo Travaglini Giacomo.Travaglini@arm.com, The gem5 Users mailing list gem5-users@gem5.org
Subject: RE: problem porting gem5 to arm64 (Jetson orin nano)
Here is the output for one of the docker builds. The other failures are similar.

I think my gpu problem is that the software the docker is trying to load only runs on x86 processors.

Nick

From: Giacomo Travaglini Giacomo.Travaglini@arm.com
Sent: Thursday, September 12, 2024 10:53 AM
To: The gem5 Users mailing list gem5-users@gem5.org
Cc: Beser, Nicholas D. Nick.Beser@jhuapl.edu
Subject: [EXT] Re: problem porting gem5 to arm64 (Jetson orin nano)

APL external email warning: Verify sender Giacomo.Travaglini@arm.commailto:Giacomo.Travaglini@arm.com before clicking links or attachments

It would be useful to get an error log. Which {version} are you using?

Kind Regards

Giacomo

From: Beser, Nicholas D. via gem5-users <gem5-users@gem5.orgmailto:gem5-users@gem5.org>
Date: Thursday, 12 September 2024 at 15:37
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: [gem5-users] problem porting gem5 to arm64 (Jetson orin nano)
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-alternatives –install
/usr/bin/clang++ clang++ /usr/bin/clang++-${version} 100

Command, or the equivalent gcc command.

Does anyone have an idea what might be causing the error?

I am also trying to get the GPU code running on the jetson. The docker file is having problem installing hsakmt-roct and hsakmt-roct-dev. Is there an arm version of this code?

Nick
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

* #6 0.302 update-alternatives: error: alternative path /usr/bin/g++- doesn't exist It looks like you are not passing the $version parameter and that’s why it does not find g++-{empty} Giacomo From: Beser, Nicholas D. <Nick.Beser@jhuapl.edu> Date: Thursday, 12 September 2024 at 18:11 To: Giacomo Travaglini <Giacomo.Travaglini@arm.com>, The gem5 Users mailing list <gem5-users@gem5.org> Subject: RE: problem porting gem5 to arm64 (Jetson orin nano) Here is the output for one of the docker builds. The other failures are similar. I think my gpu problem is that the software the docker is trying to load only runs on x86 processors. Nick From: Giacomo Travaglini <Giacomo.Travaglini@arm.com> Sent: Thursday, September 12, 2024 10:53 AM To: The gem5 Users mailing list <gem5-users@gem5.org> Cc: Beser, Nicholas D. <Nick.Beser@jhuapl.edu> Subject: [EXT] Re: problem porting gem5 to arm64 (Jetson orin nano) APL external email warning: Verify sender Giacomo.Travaglini@arm.com<mailto:Giacomo.Travaglini@arm.com> before clicking links or attachments It would be useful to get an error log. Which {version} are you using? Kind Regards Giacomo From: Beser, Nicholas D. via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> Date: Thursday, 12 September 2024 at 15:37 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: [gem5-users] problem porting gem5 to arm64 (Jetson orin nano) 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-alternatives –install \ /usr/bin/clang++ clang++ /usr/bin/clang++-${version} 100 Command, or the equivalent gcc command. Does anyone have an idea what might be causing the error? I am also trying to get the GPU code running on the jetson. The docker file is having problem installing hsakmt-roct and hsakmt-roct-dev. Is there an arm version of this code? Nick IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.