A tcl file : No compilation. Simply run the interpreter = ns.
Make a copy of the file in ns-allinone-2.28/ns-2.28/tcl/mobility/ :
ns(228) dsdv-50nodes.tcl : ( will also provide out.tr, 796 kB.)
Code:
num_nodes is set 50
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Load complete...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...