trace file issue in leach+ns2
i have installed leach on ns2.35 on ubuntu14.04 machine via following steps mentioned in link below
http://www.nsnam.com/2015/05/leach-p...in-ns2-ns.html and installed successfully(no error in leach.err). when i run leach_test (having node movement file and cbr connection pattern file in tcl) trace file doest not contain whole packet trace. simulation is of 100 seconds and trace file contains only few miliseconds of trace. not even a single destination is receiving packet. even sources are not sending all packets. I set max packet limit 100 traffic type is cbr but trace file shows packet type audio. I explore every file of leach but not able to fix it. here is some lines of trace file for reference purpose Code:
s 0.003342763 _18_ AGT --- 808333344 audio 740309041 [0 12000000 0 0] ------- [18:0 -1:0 32 0] |
http://www.nsnam.com/2015/05/leach-p...in-ns2-ns.html :
Also published as 'leach_ns235-Jun2015.patch' http://www.linuxquestions.org/questi...4175556129/#11 Quote:
Quote:
»» # stop is the time to stop the simulation if it is still running «« - |
Quote:
I also searched for it on google, but regarding leach trace file i didnt get enough stuff. generally students are more concern with energy but i need to calculate throughput, PDR etc,,,so i need trace file. leach.err does not contain any error. But leach.out contains numerous warnings!!! please find wireless.tcl leach.test leach.tr leach.out on link below for reference purpose https://drive.google.com/drive/folde...U0?usp=sharing |
Re #3.
The important files are {the cbr connection pattern file and scenario file} : File names, please. About wireless.tcl : More or less the same for ~18 .. 20 years : 'wireless.tcl' Copyright (c) 1997 Regents of the University of California. 'wireless.tcl' : Used with Leach since ~2000 (ns2b1*), ~2004 (ns-2.27). - |
Quote:
scenario file https://drive.google.com/file/d/0B3n...ew?usp=sharing |
I made three different test runs ... like this :
1. The default ./leach_test, with default settings, default files: leach.tr = 96.5kB (1-leach.tr). 2. With wireless.tcl (2-wireless.tcl) edited to your files (cbr*, scen*), and nn=51 . Result : leach.tr = 132.3kB (2-leach.tr). 3. As 2. but with leach_test (2-leach_test): line 35 nn=51, line 17 topology_file="mit/uAMPS/sims/50nodes.txt" ( A new file 50nodes.txt was created with a genscen-50 script.) Result : leach.tr = 34.7kB (3-leach.tr) - |
Quote:
|
Re #7.
1-leach.tr, 2-leach.tr, 3-leach.tr are the renamed leach.tr from each of the three tests. As they are all created in ns-2.35/, renaming was a necessity. Else the file would be replaced with the next leach.tr . |
Quote:
Could you please attach these files???AS i m not able to see the exact difference. I m not able to conclude Whether problem relies in my installation or in my script!!!!!??? |
Re #9.
The files are too big to be attached. I will upload a package.tar.gz, and show a link in a new post ... tomorrow. |
Quote:
it will be grateful!! thank you sir,,,for giving your valuable time |
Re #10.
The package leach_test_ns-2.35_20Apr17.tar.gz was uploaded ... https://drive.google.com/file/d/0B7S...ew?usp=sharing Not quite sure it was done like #6. I got interrupted and forgot the sequences. I also started a second test ( 3-runs_2/ ) : Included in the package. - |
Re #12.
The leach version for ns-2.34 : A similar leach.tr leach_test_ns-2.34_22Apr17.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing |
@rc49 / @chopra_ramneet
Ref. http://network-simulator-ns-2.7690.n...81.html#a31482 Subject : "destination is not receiving any data packet" You can also try asking at https://stackoverflow.com/questions/tagged/ns2 Tagging with e.g. ns2, leach in stackoverflow goes this way : [Tag:ns2] [Tag:leach] - |
Quote:
chopra_ramneet is me :) actually i m posting issue on every blog known to me for past few days,,looking for the SOLUTION!!!! |
All times are GMT -5. The time now is 09:05 PM. |