Linux - NewbieThis 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
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.
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.
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484
Rep:
← ref. #17.
Howto "generate the different scenario".
You can change some options in 'leach_test'.
And generate a new file Xxxnodes* with mit/uAMPS/sims/genscen ,
and use the file in 'leach_test', line 16.
About editing `leach.tclŽ : I have no idea.
***** And : Which "leach.tcl" do you mean ? ?
$ cd ns-2.34/<with-MIT-leach> && find . -name leach.tcl
./mit/uAMPS/sims/leach.tcl
( ./tcl/ex/tcl/mobility/leach.tcl )
./tcl/mobility/leach.tcl
$ cd ns-2.35/<with-mannasim> && find . -name leach.tcl
→ → No leach.tcl
hello sir ,
i have successfully simulated Leach via mannsim on ns2.35. trace file is also generated. now the problem with the trace file is that it is not showing "rca" in the trace format.
pl. help what should i change in the cmu-trace file.
my trace file is looking as shown below.
hi all,
i have simulated leach on ns2.35-mannasim. now i want to generate graph between energy consumption and of cluster head.
for that first simulation i fixed up to Cluster head - 2%
scenario size = 300X 1500
simulation time = 500 s
No. of nodes = 100
local energy = 10 J
my simulation shows error:
str2addr:Address 1936614739 outside range of address field length 1073741824.
but if i change the scenario size to 500 X 500.simulation time = 500 and no. of nodes =20. then no error has been shown.
but these are not the sufficient parameters i can work with.
pl. help for the desired parameters.
i am working with ubuntu 13.04, mannasim patch for ns2.35 by pradeep kumar.
sytem with 4 GB RAM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.