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) |
Welcome to LQ.
"leach.tcl" : Where did you find it ? There are LEACH_mannasim.tcl, kartiksd-leach.tcl in the examples, mannasim-examples05.2016.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing - |
reply
hello knudfl,
I have created the leach.tcl file by using the ScriptGeneratorTool. Now,plz help me in debugging the error. thank you. |
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) |
Re #5.
OK, you are using an executable 'ns' with no mannasim. HOWTO mannasim Code:
$ tar xvf ns-allinone-2.35_gcc482.tar.gz |
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. |
Re #7.
Bold characters is to be used for a single word only. Please edit posts #1, #5 and #7 to use code tags http://www.linuxquestions.org/questi....php?do=bbcode ... I.e. like [code]code text[/code] Repeat, from post #4 : »» Please upload your file to 'Google Drive' .. «« ... and please use a new file name, e.g. laksh-mannasim-leach.tcl - |
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. |
Quote:
http://www.wikihow.com/Use-Google-Drive Also, knudfl talked about using code tags in your posts. These are inserted by selecting text and clicking on the hash (#) button in the edit menu. For example: Code:
This is some code |
Upload a file : Log in to 'Google Docs'
... and simple pull your laksh-mannasim-leach.tcl.txt into the browser. Upload to a pastebin site http://pastebin.com/ Upload to Dropbox https://www.dropbox.com/home |
All times are GMT -5. The time now is 02:45 AM. |