Errors while running TCL file for Mobility Models (GM & MG)

23 views
Skip to first unread message

Amy Nis

unread,
Mar 4, 2015, 1:57:12 PM3/4/15
to ns-u...@googlegroups.com


Whenever I try to run my TCL file for GaussMarkov (50 nodes and 100 nodes while 10 nodes run just fine).I get the following error and similar errors for Manhattan Grid (10, 50, 100 nodes). I ran the same file for other models and it ran okay.

$ ns SIM1.tcl
num_nodes is set 50
INITIALIZE THE LIST xListHead
Starting Simulation...
Loading connection pattern...
Loading mobility pattern...
ns: _o428 setdest 693.8878080290192 1000.2038242476098 0.9338243130597587:
    (_o428 cmd line 1)
    invoked from within
"_o428 cmd setdest 693.8878080290192 1000.2038242476098 0.9338243130597587"
    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 "_o428" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o428 setdest 693.8878080290192 1000.2038242476098 0.9338243130597587"


 Why am I getting these errors? :| Help?
I have attached my tcl file and ns movements file.

Thank you.
SIM1.tcl
GM_50.ns_movements

knudfl

unread,
Mar 4, 2015, 2:24:38 PM3/4/15
to ns-u...@googlegroups.com
Hi .

Could you please attach the missing file "tcp_tahoe_50_40" to a new post ?

-

Amy Nis

unread,
Mar 5, 2015, 1:06:01 AM3/5/15
to ns-u...@googlegroups.com
Hi, Sir Knudfl


editor is not letting me attach this file for some weird reasons. 

thank you.

Amy Nis

unread,
Mar 5, 2015, 1:16:36 AM3/5/15
to ns-u...@googlegroups.com
and cbrgen file can generate TCP traffic agents like TCP Tahoe and TCP Newreno? right?

I'm new to all this stuff. 

Thank you :) 

Amy Nis

unread,
Mar 5, 2015, 3:26:49 AM3/5/15
to ns-u...@googlegroups.com
I figured it out. My supervisor and this post helped: https://lists.iai.uni-bonn.de/pipermail/bonnmotion/2012/000112.html

I was getting the error because nodes were moving/going out of the defined x-axis and y-axis (i.e 1000, 1000) so I changed the (x,y) to (900,900)

hope it helps!

Amy
MS Computer Science (Student)
NTU
Reply all
Reply to author
Forward
0 new messages