LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 05-30-2014, 02:08 AM   #271
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled


---------- Post added 05-30-14 at 12:38 PM ----------
@knudfl
Ok, I would take care.

Last edited by Chakraborty; 05-30-2014 at 02:09 AM.
 
Old 05-30-2014, 04:45 AM   #272
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 269 .
Quote:
nam didnt work : When I click play the simulation suddenly close
Yes, I know.
You will have to change something in {gpsr-k_90test.tcl, cbr90, grid-deploy90},
.. probably make it less complex, so nam can chew it.

-
 
Old 05-31-2014, 04:04 AM   #273
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
@knudfl
what is relation grid-deploy you made and scenario in tcl that i made? and whats scenario that gpsr-k_90test.tcl used? is scenario that ive made with SUMO is called?
 
Old 05-31-2014, 07:46 AM   #274
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 273 .

`cbr90´ , your file was edited : All "99" edited to 89.

`grid-deploy90´ , your file shortened, so the last lines are :
$node_(89) set X_ 180.000000000000
$node_(89) set Y_ 160.000000000000
$node_(89) set Z_ 0.000000000000

Please read the files : They are simple (and short) text files.
And to check differences you can always use the diff command :
$ diff <original file> <new file>

-
 
Old 05-31-2014, 12:10 PM   #275
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
@knudfl

thanks.i knew what part was edited. the thing that make me confused is what is function grid-deploy anyway?
is it my scenario that i made used sumo didnt run because the tcl use grid deploy instead my scenario or the grid-deploy got nothing to do with my scenario made by sumo?
 
Old 05-31-2014, 02:55 PM   #276
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 275 .

Please rephrase your question. Not understandable as is.

Make the text readable :
Use short sentences.
And : Only one sentence each line.

-
 
Old 05-31-2014, 04:05 PM   #277
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
#276

my question is what is function of grid-deploy?
is it related with my scenario that i made by sumo?
is it the tcl just run the grid-deploy and not run my scenario?
 
Old 06-01-2014, 05:02 AM   #278
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 277 .

"grid-deploy" : Unknown word / command ?

Where does the word "grid-deploy" appear ?
 
Old 06-01-2014, 05:08 AM   #279
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
grid-deploy is a file..you shortened it so it can suited with my tcl..
what function is that file for gpsr algorithm anyway?
is it my tcl running scenario used "grid-deploy"?
because i think my your edited tcl not run my
 
Old 06-01-2014, 09:44 AM   #280
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 279 .

No grid-deploy.
You mean "the file grid-deploy90" or "ns-2.34/gpsr/grid-deploy10x10.tcl" ?
Then please write so.

The file gpsr/grid-deploy10x10.tcl contains X Y Z settings for wireless-gpsr.tcl.
Could also have been part of the file wireless-gpsr.tcl.

The files are working OK with a proper executable 'ns-gpsr-k'.
Install the package "gpsr-keliu-ns-2.34-ubuntu10_i386.deb"
https://drive.google.com/file/d/0B7S...it?usp=sharing
→ $ cd ns-2.34/gpsr/
... and you can do : $ ns-gpsr-k gpsr-k_90test.tcl

Important : You cannot build your own version of ns-2.34/ + GPSR-KeLiu
on a contemporary updated OS. Only 'CentOS 6.5 - i386'
(or the unsupported / outdated Ubuntu 10.10 - i386) can be used.

-
 
Old 06-04-2014, 10:21 AM   #281
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
#280

ok,but what is error with nam? the output is

node 89 is not defined... node 78 is not defined... node 88 is not defined... node 66 is not defined... node 82 is not defined... node 8 is not defined... node 54 is not defined... node 26 is not defined... node 20 is not defined... node 69 is not defined... node 70 is not defined... node 29 is not defined... node 36 is not defined... node 60 is not defined... node 48 is not defined... node 30 is not defined... node 2 is not defined... node 37 is not defined... node 12 is not defined... node 84 is not defined... node 89 is not defined... node 78 is not defined... node 88 is not defined...

the nam is working but the there arent node.
btw, i used scenario in my tcl that made by sumo to replace the contain of grid-deploy90 file.

anyway, do you have link of awk script for gpsr keliu version that matched with file trace? i need throughput,pdr,plr,routing overhead..please share..thanks for paying attention.
 
Old 06-04-2014, 01:31 PM   #282
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 281 .

Latest script collection : awk_scripts-05.2014.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
 
Old 06-08-2014, 09:01 AM   #283
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
the awk doesnt suit file trace..the output.tr

191 M 0.00000 7 (140.00, 0.00, 0.00), (22.52, 347.46), 1.71
192 M 0.00000 8 (160.00, 0.00, 0.00), (184.00, 293.00), 1.48
193 s 0.008877640 _82_ RTR --- 0 gpsr 29 [0 0 0 0] ------- [82:255 -1:255 32 0]
194 s 0.009388887 _8_ RTR --- 1 gpsr 29 [0 0 0 0] ------- [8:255 -1:255 32 0]
195 s 0.009412640 _82_ MAC --- 0 gpsr 87 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]

191-195 is line number in gedit. what is the format of that trace? what is the different between part 192 and part 193?
by the way, i used gpsr KeLiu version.
thanks for the answer
 
Old 06-08-2014, 11:33 AM   #284
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 283 .

http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats

M : Looks like `M´ is "Mobile Node Movement".
s : send
 
Old 06-08-2014, 01:52 PM   #285
maulanaibrahim
LQ Newbie
 
Registered: May 2014
Posts: 19

Rep: Reputation: Disabled
Just share.. i found the detail explanation of trace

http://itantenna.blogspot.com/2012/0...-analysis.html
 
  


Closed Thread

Tags
gdb, gpsr, gpsr-hls, gpsr-keliu, xgraph#195


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
patch for working leach protocol in ns2.34 fedora rajcek Linux - Wireless Networking 4 02-04-2013 06:59 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
free routing protocol in fedora wahaha Linux - Networking 2 10-26-2006 01:16 AM
RIP(Routing Information protocol) cranium2004 Linux - Networking 2 05-01-2005 06:08 AM
Routing Protocol karunesh Linux - Networking 3 09-04-2002 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 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
Open Source Consulting | Domain Registration