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

Lily avatar
By Lily
at 2011-09-15T13:13

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)

感謝!~

--
Tags: Linux

All Comments

Joe avatar
By Joe
at 2011-09-15T21:05
有NS2版喔!
Faithe avatar
By Faithe
at 2011-09-17T01:17
請問在哪邊?剛剛沒找到 謝謝~
Genevieve avatar
By Genevieve
at 2011-09-19T13:45
我找到了 ~謝謝喔

神奇的回收筒...

Bethany avatar
By Bethany
at 2011-09-14T21:11
: 推 trashprince:我上一次rm .trash 差點把整個home刪了 09/13 22:44 : → trashprince:我的發行版很奇怪 .trash居然指向home 09/13 22:45 我猜不是 .trash 指向 /h ...

請教一下kvm如何切換主機

Heather avatar
By Heather
at 2011-09-14T21:07
※ 引述《Cubicalex (π郎)》之銘言: : 請教各位大大 小弟現在用kvm登入刀鋒伺服器主機 : 刀鋒伺服器共有五刀 如果現在登入後他的位置在第三刀 : 1 我該如何將位置轉到第一刀來? : 2 如果我要將第一刀的資料傳到第三刀 該怎麼做? : 請各位大大指 ...

CentOS 安裝問題

Tristan Cohan avatar
By Tristan Cohan
at 2011-09-14T18:28
想請教安裝 CentOS6 過程中 我選了 minimal,自訂套件 哪些選項該勾取,才會有 wget、rpm、yum 那些東西呢 - ...

Win7/XP iSCSI initiator抓不到Unbuntu 11.04的iSCSI Target

Zenobia avatar
By Zenobia
at 2011-09-14T18:19
我在Ubuntu有做以下設定 軟體安裝 apt-get install iscsitarget 設定檔 vi /etc/ietd.cof Target iqn.2010-10.com.ec:storage.data1t.iscsi.data01 Lun 0 Path=/dev/sdb,Typ ...

在文字介面下載google doc或是skydrive的檔案??

Michael avatar
By Michael
at 2011-09-14T15:38
因為最近覺得這兩個空間很好用 所以檔案都丟在上面 有時候想要在linux下使用檔案 但是都不知道該怎麼下載 我本來想要用wget 但是失敗了Q_Q 請問有辦法下載嗎?? - ...