Hello , 

I have fix all the bug  when trying to run the leach script trace file 
generated by script-generator-tools using mannasim , but the 
tarce.tr that i get after the end of simulation is empty .  what i have on shel 
: 

Initializing MannaSim Script...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
LEACH requires RCALinkLayer! Forcing it!!!
LEACH requires LeachWirelessPhy! Forcing it!!!
LEACH requires Mac/Sensor! Forcing it!!!

Nodes count:
 - 1 access points
 - 10 common nodes
 - 0 cluster heads
 - 11 nodes
 - DumbAgent routing protocol
 - RCALinkLayer link layer
 - Phy/WirelessPhy/LeachWirelessPhy network interface

Scenario size: 100.0 x 100.0

Using trace.tr as trace file
num_nodes is set 11
Creating an access point...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
LEACH requires RCALinkLayer! Forcing it!!!
LEACH requires Mac/Sensor! Forcing it!!!
Using mica 2 mote settings
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
* Access point 0 = 0 created in (50.0, 50.0, 0.0)
Creating common node...
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
LEACH requires RCALinkLayer! Forcing it!!!
LEACH requires Mac/Sensor! Forcing it!!!
Using mica 2 mote settings
Setting up mica 2 mote with Antenna/OmniAntenna and range = 100
Setting disseminating type to programmed
Setting disseminating interval: 20.0
* Node 1 = 1 created in (65.195718391423924, 22.10439477213863, 0.0)
NO CLUSTER HEADS HAS BEEN DEFINED! Assuming 20% of common nodes.
* Node 2 = 2 created in (48.997000394853295, 34.352317468427266, 0.0)
* Node 3 = 3 created in (35.733602445448568, 35.65577135219042, 0.0)
* Node 4 = 4 created in (41.243919144032489, 21.511542527708944, 0.0)
* Node 5 = 5 created in (46.250442809541916, 77.977135906916644, 0.0)
* Node 6 = 6 created in (45.98732574190354, 95.19141712002056, 0.0)
* Node 7 = 7 created in (54.584607367676028, 65.441185126752217, 0.0)
* Node 8 = 8 created in (83.214464449889249, 92.487147959176056, 0.0)
* Node 9 = 9 created in (93.868381806587976, 82.022201866853138, 0.0)
* Node 10 = 10 created in (41.294232495731784, 73.068146581327611, 0.0)
Starting Simulation...
9 is setting code to 0
Node 9 is a cluster head at time 0.083247
9 is setting code to 1
csEnd(code): code > CS_MAX_CODE?; 1699622176 999

Is there any person that had something  like this ( is this a properly 
execution for leach or  there is some  errors !!!! 
 ) 

Plz help me , I really appreciate any suggestions 

Kind regards and thanks 
  in advance


                                          
_________________________________________________________________
Un avatar à votre image ? Créez votre mini-moi !
http://www.ilovemessenger.fr/minimize-me/

Reply via email to