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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-30-2014, 02:08 AM
|
#271
|
Member
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84
Rep: 
|
---------- 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.
|
|
|
05-30-2014, 04:45 AM
|
#272
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 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.
-
|
|
|
05-31-2014, 04:04 AM
|
#273
|
LQ Newbie
Registered: May 2014
Posts: 19
Rep: 
|
@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?
|
|
|
05-31-2014, 07:46 AM
|
#274
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 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>
-
|
|
|
05-31-2014, 12:10 PM
|
#275
|
LQ Newbie
Registered: May 2014
Posts: 19
Rep: 
|
@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?
|
|
|
05-31-2014, 02:55 PM
|
#276
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 275 .
Please rephrase your question. Not understandable as is.
Make the text readable :
Use short sentences.
And : Only one sentence each line.
-
|
|
|
05-31-2014, 04:05 PM
|
#277
|
LQ Newbie
Registered: May 2014
Posts: 19
Rep: 
|
#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?
|
|
|
06-01-2014, 05:02 AM
|
#278
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 277 .
"grid-deploy" : Unknown word / command ?
Where does the word "grid-deploy" appear ?
|
|
|
06-01-2014, 05:08 AM
|
#279
|
LQ Newbie
Registered: May 2014
Posts: 19
Rep: 
|
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
|
|
|
06-01-2014, 09:44 AM
|
#280
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 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.
-
|
|
|
06-04-2014, 10:21 AM
|
#281
|
LQ Newbie
Registered: May 2014
Posts: 19
Rep: 
|
#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.
|
|
|
06-04-2014, 01:31 PM
|
#282
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 281 .
Latest script collection : awk_scripts-05.2014.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
|
|
|
06-08-2014, 09:01 AM
|
#283
|
LQ Newbie
Registered: May 2014
Posts: 19
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 12:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|