Discussion:
[gem5-users] Why to modify Hostname in dist-gem5
Boyang Xu
2018-07-18 18:08:49 UTC
Permalink
Hi all,

There is a command "*/bin/hostname node${MY_RANK}*" in the file
*boot.easy.ckpt.rcS*, but I do not know its function. I tried to delete
this command and then took a checkpoint with the script. It works!
Moreover, I also restored from this checkpoint and run bench by dist-gem5.
However, it is unable to find the real reason of modifying Hostname by
Google, so I guess that the reason is to set DNS. Should I set DNS when
using dist-gem5? Is there another way to set DNS in dist-gem5?
Any suggestion and help on this question is welcomed. Thanks a lot!

Best Regards,
Boyang Xu

A graduate student in UVIC
Gabor Dozsa
2018-07-19 09:11:15 UTC
Permalink
Hi Boyang,

dist-gem5 defines a unique hostname for each simulated system as a convenience for the user. It is not obligatory, you can use IP addresses directly instead of hostnames. dist-gem5 does not require DNS.

- Gabor

From: gem5-users <gem5-users-***@gem5.org> on behalf of Boyang Xu <***@gmail.com>
Reply-To: gem5 users mailing list <gem5-***@gem5.org>
Date: Wednesday, 18 July 2018 at 20:09
To: "gem5-***@gem5.org" <gem5-***@gem5.org>
Subject: [gem5-users] Why to modify Hostname in dist-gem5

Hi all,

There is a command "/bin/hostname node${MY_RANK}" in the file boot.easy.ckpt.rcS, but I do not know its function. I tried to delete this command and then took a checkpoint with the script. It works! Moreover, I also restored from this checkpoint and run bench by dist-gem5. However, it is unable to find the real reason of modifying Hostname by Google, so I guess that the reason is to set DNS. Should I set DNS when using dist-gem5? Is there another way to set DNS in dist-gem5?
Any suggestion and help on this question is welcomed. Thanks a lot!


Best Regards,
Boyang Xu

A graduate student in UVIC
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.
Loading...