[ns] add new protocol: error while executed ns tar6.tcl
Gisane Michelon
gisanema at gmail.com
Sun Jun 14 17:41:07 PDT 2009
I create an new protocol to test and do the alteration in files necessary,
after compiled with ./configure, make clean, make, but where I execute 'ns
tar6.tcl' occurs the following error:
num_nodes is set 24
(_o14 cmd line 1)
invoked from within
"_o14 cmd addr"
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 "_o14" line 2)
(SplitObject unknown line 2)
invoked from within
"_o14 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 11)
(Simulator create-wireless-node line 11)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $num_nodes} {incr i} {
set n($i) [$ns node]
$n($i) set Y_ [expr 230*floor($i/$group_size) +
160*(($i%$group_size)>=($group..."
(file "tar6.tcl" line 139)
More information about the Ns-users
mailing list