LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error running tcl file simulating mpolsr (https://www.linuxquestions.org/questions/linux-newbie-8/error-running-tcl-file-simulating-mpolsr-934173/)

assassin91 03-13-2012 02:36 AM

error running tcl file simulating mpolsr
 
I edited the olsr_example.tcl script uploaded at http://masimum.inf.um.es/fjrm/?page_id=116
I changed OLSR to MPOLSR but when I run it this error is coming:

um_nodes is set 5

(_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 < $opt(nn)} {incr i} {
set node_($i) [$ns_ node]
}"
(file "mpolsr_example.tcl" line 84)

Plz help!!!

lucky89 04-18-2012 09:35 AM

hello
can you give me a script.tcl four MP-OLSR
when i change olsr to mpolsr a have the same problem??
thanks


All times are GMT -5. The time now is 11:37 PM.