LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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


Reply
  Search this Thread
Old 07-30-2015, 11:43 AM   #16
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled

Plz help me to rectify this problem.
If someone knows kindly reply
 
Old 07-30-2015, 03:21 PM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #15.

""cbr-150"" : Unknown file.
""a scenario file"" : Unknown file.


Please have a look at the GPSR-KeLiu examples :
'GPSR-KeLiu-examples_01.2015.tar.gz'
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... The example "nn200-200wireless-gpsr.tcl" uses the file 'cbr200'.


-
 
Old 07-30-2015, 07:55 PM   #18
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled
Cbr150 is a CBR file and scenario file is also correct. For both the files AODV ,DSR are running .
Could you please tell me what could be the reason of killed process.
Thanks definitely I will look into the examples.
 
Old 07-30-2015, 11:30 PM   #19
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled
I tried nn200-200wireless-gpsr.tcl with cbr200 and nn200. It creates the .tr file but there are no gpsr packets. then i copied first 2 lines from cbr100.tcl i.e. "ragent turnon" into cbr200. Its running successfully and creating gpsr packets also.

I also tried nn200-200wireless-gpsr.tcl with my cbr-150 and scen1. Its running successfully. But not with mygpsr.tcl ? Again the same error Killed.

Then i compared and after a lot of tries , I found error is because of Trans range 250m, not because of memory problem.
I commented 40m line and uncommented 250 m line . It gives the same error with nn200-200wireless-gpsr.tcl.

Now kindly suggest what to do?

Regards & Thanks
 
Old 07-31-2015, 10:12 PM   #20
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled
Does anyone ever faced this kind of problem i.e. GPSR with transmission range 250 m.
Kindly tell me How i can overcome this problem.
Plz help...........


rgds
 
Old 08-01-2015, 02:08 AM   #21
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled
I am running wireless-gpsr.tcl with 150 nodes and transmission range as 250m and time 1000 . It does not run completely. After SORTING LISTS ... DONE! It shows the message Killed.
If i run with the same parameters but with less number of nodes , like i have tried for 90 nodes then it runs completely.

I also tried with higher number of nodes , then it shows the message Killed even earlier. Like for 150 nodes , It runs till 650 secs
For 175 nodes , it runs till 505 simulation time.
For 200 , it runs till 400 secs only...............

I also tried with same no of nodes like 175 with Trans range as 100 with the same simulation time. Its running completely fine.


Could someone ever faced this kind of problem. Plz help.......................

I was unable to find where i am wrong

Last edited by sims2801; 08-01-2015 at 02:17 AM.
 
Old 08-06-2015, 06:46 AM   #22
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled
May be the above problem is due to memory ........ still it is not solved but after a lot of tries , i found that GPSR is running successfully for 100 nodes , 250 transmission range and 1000 simulation time.

But now when i am running my awk files on gpsr trace file (.tr) it is showing division by zero error and no output.

I want to calculate Throughput, Delay, PDR and overhead . I have the awk files and they are giving correct output for AODV, DSR and LAR , but no output in case of GPSR.

Kindly help

What is the format of GPSR trace file?
There is no format_gpsr function in cmu-trace.cc file.
How can i calculate the above mentioned metrics values for GPSR.

thanks a lot .......
 
Old 08-07-2015, 07:21 AM   #23
sims2801
Member
 
Registered: Aug 2012
Posts: 50

Rep: Reputation: Disabled
Kundfl

What happened ? Did i do something wrong.
Sorry if i did something wrong but plz help..........

I tried on my other laptop but here i am facing another problem.

I successfully patched GPSR is ns-2.32 but when i am running wireless-gpsr.tcl
trace file does not have any gpsr packets instead it has all undefined packets........
plz see

s 0.008877640 _82_ RTR --- 0 undefined 29 [0 0 0 0] ------- [82:255 -1:255 32 0]
s 0.009388887 _8_ RTR --- 1 undefined 29 [0 0 0 0] ------- [8:255 -1:255 32 0]
r 0.010085707 _72_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085707 _81_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085707 _92_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085707 _83_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085734 _91_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085734 _71_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085734 _73_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085734 _93_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085774 _62_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085774 _80_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010085774 _84_ RTR --- 0 undefined 29 [0 ffffffff 52 800] ------- [82:255 -1:255 32 0]
r 0.010176954 _7_ RTR --- 1 undefined 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]
r 0.010176954 _18_ RTR --- 1 undefined 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]
r 0.010176954 _9_ RTR --- 1 undefined 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]
r 0.010176981 _17_ RTR --- 1 undefined 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]
r 0.010176981 _19_ RTR --- 1 undefined 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]
r 0.010177020 _6_ RTR --- 1 undefined 29 [0 ffffffff 8 800] ------- [8:255 -1:255 32 0]


Kindly help and suggest me something to overcome all these problems .
 
  


Reply

Tags
gpsr-keliu, lar and gpsr-keliu, 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
[SOLVED] GPSR on NS2.34 farfattou Linux - Software 17 01-10-2015 08:29 AM
[SOLVED] GPSR in ns2 aidin8790 Linux - Software 36 07-05-2014 02:56 AM
problem with GPSR in ns2 aidin8790 Linux - Software 0 04-26-2014 04:50 PM
patch GPSR in NS2.34 Mednabil Linux - Wireless Networking 2 12-23-2013 06:24 PM
Code of GPSR for ns2.33 or ns2.35 monikagoyal Linux - Software 31 04-26-2013 12:13 PM

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

All times are GMT -5. The time now is 04:31 AM.

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