[ns] I got some problems when I ran "simple-wireless.tcl" and "wireless1.tcl"

Gulis Buranakanist gb58 at cornell.edu
Tue Feb 3 08:50:50 PST 2004


Hi,

I'm using ns-2.26 on a PC, I got no problem when
I tried running example1a.tcl, 1b, 2, 3 and example4.
However when I tried running simple-wireless.tcl downloaded from the web,
I got only two messages

  >>"Starting Simulation...
  >>NS EXITING..."

The simulation window doesn't show up. I wonder if I should see two nodes
moving toward each other and transmitting packets.

Also when I ran wireless1.tcl, I got the warning:

  >>warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
  >>Loading connection pattern...
  >>couldn't read file "../mobility/scene/cbr-3-test": no such file or 
directory
  >>	while executing
  >>"source.orig ../mobility/scene/cbr-3-test"
  >>	("uplevel" body line 1)
  >>	invoked from within
   >>"uplevel source.orig [list $fileName]"
  >>	(procedure "source" line 12)
  >>	invoked from within
  >>"source $val(cp)"
  >>	(file "wireless1.tcl" line 121)

Please let me know what go wrong. I tried to fix them but things still
did not work.

Thank you

Gulis



More information about the Ns-users mailing list