ns2

Network Animator not working while running a network simulation sample file


I am new to network simulation and I have recently installed ns2 by using ns-allinone-2.35. After installation I gave environment path settings and run a sample tcl file in terminal. The terminal shows the output and the folder contains the output file, but the network animator does not shows up.

And when I try nam in terminal it shows Segmentation fault (core dumped)

What should I do to ensure that the nam is working and show the outputs properly.


Solution

  • First of all let me say that you don't have to go through so much trouble... You just need to download a version of nam, and use it to show your output.
    To do that i have uploaded the nam file for you and it will work fine, you just have to download it and open your output using this nam :

    Filesize: 2.620 MB
    http://s000.tinyupload.com/?file_id=08988171564893843065

    Example :

    /ns-allinone-2.35/ns-2.35# ./nam ./out.nam