want to run leach.tcl file generated from manassim
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.
want to run leach.tcl file generated from manassim
Can anybody help me
in running the leach tcl file from manas
sim whose error is as follows:
Initializing MannaSim Script...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
invalid command name "Node/MobileNode/SensorNode"
while executing
"Node/MobileNode/SensorNode set sensingPower_ 0.015"
(procedure "setup_mica2" line 18)
invoked from within
"setup_mica2 $val(antenna) $val(range)"
(procedure "set_default_settings" line 29)
invoked from within
"set_default_settings"
(file "leach.tcl" line 493)
Last edited by lakshmisreepanigrahi; 06-25-2016 at 04:44 AM.
Reason: skiped words
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #3.
You have to be very lucky to create a usable leach simulation with 'ScriptGeneratorTool'.
... If it was an easy task, we would have more than two known examples.
( LEACH_mannasim.tcl, kartiksd-leach.tcl ).
... You can use those examples to edit your {mannasim leach.tcl}.
Please upload your file to 'Google Drive' or dropbox ... and use a unique file name.
* The file name leach.tcl already exists : Suggested file name = mannasim-leach-4.tcl .
( We have a lot of "leach*.tcl files already : The "MIT leach".)
Hello Sir,
I am getting the same output as in post-1 while executing ur file "LEACH_mannasim.tcl".Can u please suggest what I am doing wrong.Is it ok to run the above file under "ns-allinone-2.35/ns-2.35" or i have to run it in home folder.please help.
Initializing MannaSim Script...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
invalid command name "Node/MobileNode/SensorNode"
while executing
"Node/MobileNode/SensorNode set sensingPower_ 0.015"
(procedure "setup_mica2" line 18)
invoked from within
"setup_mica2 $val(antenna) $val(range)"
(procedure "set_default_settings" line 29)
invoked from within
"set_default_settings"
(file "leach.tcl" line 493)
Hello sir,
now,i am able to run leach.tcl file,it shows the output,
but in the last line,it is showing the error.Below is the last lines of my o/p:
Node 10 - Temperature Data 28.454246 - Time 1.574636
Common Node 10 - Disseminating data - Time 1.575
- There is 100 data aggregated.
Warning! No Cluster Head ADVs were heard by 4
Node 4 sending 100 data to BS at time 1.580150
Error: Meta size 4064 too large (max = 1000).
Please help in costructing NAM and trace file from the above.
Last edited by lakshmisreepanigrahi; 07-15-2016 at 05:56 AM.
Hello sir,
i cannot edit post#1 to post#5 as no editing option is displaying.i have edited post#7.please reply.don't know how to upload file in google drive.
Last edited by lakshmisreepanigrahi; 07-15-2016 at 06:20 AM.
Hello sir,
i cannot edit post#1 to post#5 as no editing option is displaying.i have edited post#7.please reply.don't know how to upload file in google drive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.