output file simple.tr is created for above..but it is empty....and
tell me...
whether it is compulsory to build ns everytime u copy new code into it???tas there are many files to copied for z-mac.but inlast step of..
http://www4.ncsu.edu/~rhee/export/zm...c/zmac.htm...ie tramsmission schedule for z-mac..
all files requires as input to simZMAC are given....and when i copy these folder into ns...i first have to build ns agian???before also???
running it again...empty ouput file out.tr is only created..
Aspire-5745:/usr/local/ns-allinone-2.34/ns-2.34/zmacTcl# ns simZMAC.tcl -nn 21 -maxX 120 -maxY 120 -sinknode 20 -numsources 3 -ack 1 -to 8 -tno 32 -timeSyncErrorFlag false -timeSyncErrorValue 100 -a 0.5 -zmacMode 1 -valuefile zmac.tr
Setting slot size to 0.001328
num_nodes is set 21
INITIALIZE THE LIST xListHead
values-file lookup failed
(_o20 cmd line 1)
invoked from within
"_o20 cmd values-file zmac.tr"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o20" line 2)
(SplitObject unknown line 2)
invoked from within
"$mac_($i) values-file $valuefile"
("for" body line 6)
invoked from within
"for {set i 0} {$i < $numNodes } {incr i} {
set node_($i) [$ns_ node $i]
$node_($i) random-motion 0 ;# disable random motion
$god_ new_node $nod..."
(file "multiHopTopoGen.tcl" line 1)
invoked from within
"source.orig multiHopTopoGen.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source "multiHopTopoGen.tcl""
(file "simZMAC.tcl" line 99)