想請問ns2 2.34執行.tcl檔問題 - Linux

Table of Contents

想請問有人知道以下問題要怎麼解決嗎??
$ ns GPSR2110.tcl
num_nodes is set 199
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

(_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 14)
(Simulator create-wireless-node line 14)
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 < $val(nn)} {incr i} {
set node_($i) [$ns_ node]
$node_($i) set HA [expr $val(nn)-1]
$node_($i) random-motion 0 ;# disable rand..."
(file "GPSR2110.tcl" line 56)

感謝!~

--

All Comments

Joe avatarJoe2011-09-15
有NS2版喔!
Faithe avatarFaithe2011-09-17
請問在哪邊?剛剛沒找到 謝謝~
Genevieve avatarGenevieve2011-09-19
我找到了 ~謝謝喔