2015-11-17 4 views
0

Я создал файл .tcl для имитации Специальная маршрутизация на основе Gossiping. Когда я пытаюсь запустить его с помощью NS 2.35 я получаю следующее сообщение об ошибке:Запуск файла tcl в симуляторе сети

xgridsz=, ygridsz= 
Sim.: utime/stime: 67 10 stack/heap: -4192 4591616 
num_nodes is set 0 
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl 

couldn't read file "": no such file or directory 
while executing 
"source.orig {}" 
("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 $val(cp)" 
(file "simAODVG.tcl" line 155) 

Ссылка моего TCL файла приводится ниже:

https://drive.google.com/file/d/0B1OEPsG0ILELSHhMQzZQdW5STW8/view?usp=sharing

Как я решить эту проблему?

ответ

0

Line 155, "":

couldn't read file "" : no such file or directory

Ответ: "" определяется в строке 18: set val(cp) [lindex $argv 1]

...... и argv 1 кажется не быть определен в любом месте?


Смежные вопросы