Hi I am working on MAODV.I have ported MAODV in ns-2.26.When I am running the simulation script ns.tcl,I m getting the following error
[EMAIL PROTECTED] ex]$ ns ns.tcl 10 30 1 num_nodes is set 50 INITIALIZE THE LIST xListHead Loading connection pattern ... Loading scenarios file... Starting Simulation ... ns: _o374 aodv-join-group 0xE000000: (_o374 cmd line 1) invoked from within "_o374 cmd aodv-join-group 0xE000000" 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 "_o374" line 2) (SplitObject unknown line 2) invoked from within "_o374 aodv-join-group 0xE000000" I thing others who worked on MAODV, might have face this problem.If anybody know how to slove this problem plz let me know.It is very urgent. The traffic pattern is as follows: 2 # First Multicast group 3 # 10 sender: nodes 0 through 9 4 # receiver(s): nodes 20 through 49 5 # 6 for {set i 0} {$i < 10} {incr i} { 7 set udp_($i) [new Agent/UDP] 8 $udp_($i) set dst_addr_ 0xE000000 9 $ns_ attach-agent $node_($i) $udp_($i) 10 # 11 set cbr_($i) [new Application/Traffic/CBR] 12 $cbr_($i) set packetSize_ 256 13 $cbr_($i) set interval_ 0.50 14 $cbr_($i) set random_ 1 15 # send enough packets to keep simulation nearly busy: 2 packets 16 # a second, starting at 30, stopping at 899: 2*870 = 1740 17 $cbr_($i) set maxpkts_ 1740 18 $cbr_($i) attach-agent $udp_($i) 19 $cbr_($i) set dst_ 0xE000000 20 $ns_ at 30.0 "$cbr_($i) start" 21 } 22 # 23 # the nodes have to join the multicast group to receive the packet... 25 for {set i 20} {$i < 50} {incr i} { 26 $ns_ at 0.0100000000 "$node_($i) aodv-join-group 0xE000000" 27 } Thanks in advance --------------------------------- Check out what you're missing if you're not on Yahoo! Messenger