Hello,

I am trying to simulate ODMRP. The Rice University multicasting extension
compiles successfully [http://www.monarch.cs.rice.edu/]. Please note that I
am using ns-allinone-2.1b8a.  However, when I try to run following command
to simulate ODMRP:

./ns scripts/run.tcl -x 1200 -y 800 -stop 900 -tr TRACES/out.tr  -mg 
mcast_communication_scenarios/cbr_100_4x64_1x1x10_mcast_ns_rs -nn 10 -rp
odmrp
[Ref: http://www.monarch.cs.rice.edu/ftp/multicast/README]

It gives me the following error:

*** no errormodel specified.
num_nodes is set 10
UniAgent: net_id is 0
UniAgent: net_id is 1
UniAgent: net_id is 2
UniAgent: net_id is 3
UniAgent: net_id is 4
UniAgent: net_id is 5
UniAgent: net_id is 6
UniAgent: net_id is 7
UniAgent: net_id is 8
UniAgent: net_id is 9
*** NOTE: no power scaling scenario specified.
*** NOTE: no connection pattern specified.
*** NOTE: no scenario file specified.
Loading multicast info file...
no value given for parameter "pktSize" to "_o16"
    (ODMRPNode mcast-create-source line 1)
    invoked from within
"$node_(0) mcast-create-source CBR $node_(0) 32769 0 49.1832544232 "
    invoked from within
"set cbr_(1) [$node_(0) mcast-create-source CBR $node_(0) 32769 0
49.1832544232 ]"
    (file "mcast_communication_scenarios/cbr_100_4x64_1x1x10_mcast_ns_rs"
line 7)
    invoked from within
"source.orig mcast_communication_scenarios/cbr_100_4x64_1x1x10_mcast_ns_rs"
    ("uplevel" body line 1)
    invoked from within
"uplevel source.orig $fileName"
    (procedure "source" line 12)
    invoked from within
"source $opt(mg)"
    invoked from within
"if { $opt(mg) == "" } {
        puts "*** NOTE: no multicast group scenario specified"
        set opt(mg) "none"
} else {
        puts "Loading multicast in..."
    (file "scripts/run.tcl" line 475)

This occurs even if I defined "pktSize" in the file "communication_scenarios
/cbr_100_4x64_1x1x10_mcast_ns_rs". Is there a separate command to simulate
ODMRP using NS-2?

Many thanks.

-Saurav


Reply via email to