On 10/8/21 1:11 PM, Charles Pandian wrote:
>
> Mr. Tom,
>
> ns3.35 and netanim-3.108 are installing under Debian 11 without any
> problem.
>
> What I mean as "native hardware/OS installation issue" in that post is:
>
> Generally, one will use an old Linux distribution for a long time and
> get used to it. If they decide to install ns3.35 on that, then it will
> require gcc/g++ versions 4.9 or above. For that, they will try to
> install the latest gcc and its dependent dev-libraries. In that case,
> the apt installer may advise removing some conflicting old
> package/library and it may spoil the working of another software that
> is previously installed in the system.
OK, I agree (by the way, ns-3.35 now requires g++ 7 or above, and Python
3.6 or above).
>
> In that case they will decide to install ns-3 under a type II
> hypervisor (such as VirtualBox or VMware).
> Instead of installing a Linux OS under type II hypervisor , we may
> install a compatible Linux on chroot environment and install ns3.35
> without disturbing the stability of the existing HOST OS (whatever may
> be the version).
>
> Further, under type II hypervisors the ./waf compile is not as fast as
> in chroot environment.
I think your guidance is useful and we should find a way to link to it
or incorporate it in documentation.
We have an existing wiki page:
https://www.nsnam.org/wiki/HOWTO_build_old_versions_of_ns-3_on_newer_compilers
We probably need a reverse version of this (i.e., How to use newer ns-3
versions on older systems) and recommend the chroot as a possible fix.
Presently, our installation instructions are on a wiki, but I would like
to move them to maintained documentation like the tutorial. I started
some drafts in this direction, which I plan to return to once I finish
the contributed code guide.
For the moment, I stashed a link here:
https://www.nsnam.org/wiki/Installation#Using_newer_version_of_ns-3_on_older_systems
Thank you for writing it up and sharing it with everyone.
>
> For your information, if someone tries to install the NetSimulyzer
> (the 3D Visualization Tool for ns-3) under VirtualBox, probably they
> will never be able to compile it because of memory-related issues.
> But, it can be compiled without any problem under chroot jail; because
> the chroot jail will have access to all the memory and CPU resources
> of the HOST.
I am curious, are people using the NetSimulyzer and do they have any
feedback and/or comments about it that they are willing to share in this
group? NetSimulyzer was announced earlier this year and is being
actively developed by Evan Black at NIST. There was a good tutorial on
it at the Workshop on ns-3 (please see this page for archived video; it
is the last link on the page:
https://www.nsnam.org/research/wns3/wns3-2021/tutorials/).
- Tom