Hoa,

I just ran the system monitor on my Jetson Orin Nano, and it says I have 8G of 
RAM. I think I should be in good position to work the problem.

Nick

From: Hoa Nguyen <[email protected]>
Sent: Friday, March 15, 2024 2:26 PM
To: Beser, Nicholas D. <[email protected]>
Cc: The gem5 Users mailing list <[email protected]>
Subject: Re: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender 
[email protected]<mailto:[email protected]> before clicking links or 
attachments



Hi Nick,

You can use the argument like this,

scons build/RISCV/gem5.opt –limit-ld-memory-usage -j`nproc`

I was able to compile gem5 with docker with 6GiB of RAM, and was not able to do 
that with 4GiB of RAM.

I think you already hint at a better solution, which is to use build the docker 
image on a different machine, and bundle the gem5 binary to the docker image. 
Then you can distribute the image to the Jetson.

Regards,
Hoa Nguyen

On Fri, Mar 15, 2024, 06:27 Beser, Nicholas D. 
<[email protected]<mailto:[email protected]>> wrote:
Hoa,

Thank you for your suggestion. The Jetson Orin Nano normally comes with 4Gbyte 
Ram, so I can see that it could be a problem. Where do you apply the 
–limit-ld-memory-usage command? Did you attempt to build it with the docker 
command? I am using the Jetson Orin Nano for GPU and openmpi work, so the 
docker approach would help isolate the system. I am going to work through the 
installation procedure and see where it ends up.

Nick

From: Hoa Nguyen <[email protected]<mailto:[email protected]>>
Sent: Thursday, March 14, 2024 11:58 PM
To: The gem5 Users mailing list 
<[email protected]<mailto:[email protected]>>
Cc: Beser, Nicholas D. <[email protected]<mailto:[email protected]>>
Subject: [EXT] Re: [gem5-users] Build gem5 on non x86 system

APL external email warning: Verify sender 
[email protected]<mailto:[email protected]> before clicking links or 
attachments



Hi Nick,

I don't think there would be any problem with compiling gem5 on arm (or riscv) 
architecture on Ubuntu. I've been compiling/using gem5 on 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:44 Beser, Nicholas D. via gem5-users 
<[email protected]<mailto:[email protected]>> 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 nano which runs Ubuntu 20.04 and is 
based on the ARM processor. Has anyone ever compiled gem5 on a non-x86 based 
system? I have access to gcc compilers for x86, arm and mips that run on ARM, 
but I am not sure what needs to be done to compile gem5 on ARM.

Nick Beser
_______________________________________________
gem5-users mailing list -- [email protected]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[email protected]>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to