[ns] Problems running wireless simulations

Josu Bagazgoitia jbagaz at gmail.com
Sun Sep 4 09:40:02 PDT 2005


Hi,


I think you have no problem. When you simulate simple-wireless.tcl ns 
creates a trace file called simple.tr <http://simple.tr>. There you can see 
what has happened during the simulation. This example does not create a nam 
file, so you cannot see the nodes moving. The solution is to create a nam 
file the same way it is created in wireless1.tcl (wireless1-out.nam).

I hope this helps you

BAGAZ

2005/9/4, Gaurav Arora <gauravsworld at gmail.com>:
> 
> 
> Everytime I try to run simple-wireless.tcl example from the tutorial all I
> get is:
> 
> num_nodes is set 2
> INITIALIZE THE LIST xListHead
> Starting Simulation...
> channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
> highestAntennaZ_ = 1.5, distCST_ = 550.0
> SORTING LISTS ...DONE!
> NS EXITING...
> 
> Am I doing something wrong? All the other simple simulations involving 
> wired
> nodes run properly.
> 
> Would really love to know how to fix this, have been banging my head with
> this for a few hours now.
>


More information about the Ns-users mailing list