LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 11-07-2017, 02:21 AM   #1
rendipras
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Rep: Reputation: Disabled
Get some errors using Greedy forwarding routing in ns2 (ns_2greedyfrd.tar.gz)


hello,
i started greedy forwarding in ns2.33 using ns_2greedyfrd.tar.gz. But i have one problem while i try to execute. this is error:

num_nodes is set 105

(_o15 cmd line 1)
invoked from within
"_o15 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 "_o15" line 2)
(SplitObject unknown line 2)
invoked from within
"_o15 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 14)
(Simulator create-wireless-node line 14)
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 < $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;
}"
(file "greedy.tcl" line 116)

thank for advance
 
Old 11-07-2017, 12:39 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,064
Blog Entries: 13

Rep: Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505Reputation: 3505
Hi rendipras,

I've closed this discussion because it is a duplicate of this one:

https://www.linuxquestions.org/quest...gz-4175617117/

While I realize that these are posted by different users, the text is identical for the questions.

If you have two accounts, please use only one of them.

If this happens to be a coincidence, I do feel that answers for one of the questions will suffice to answer both users. Please subscribe to that other thread to see any answer updates.
 
1 members found this post helpful.
  


Closed Thread

Tags
greedy, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get some errors using Greedy forwarding routing in ns2 (ns_2greedyfrd.tar.gz) kundilta Linux - Newbie 7 11-09-2017 06:06 AM
hi..sir. i am using ns2 simulator for my project . i am trying to write simple tcl program in ns2 ..i got the errors like. B.ravi LinuxQuestions.org Member Intro 2 01-09-2016 05:08 PM
I am getting following msg when running a modified greedy forwarding routing in ns-2 jaiswal.raaj Linux - Wireless Networking 1 07-17-2015 05:53 AM
Ask Greedy Traffic Aware Routing (GyTAR) Script irma_nd Ubuntu 4 08-13-2014 03:59 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration