Hi Finally I managed to run leach under ns-allinone-2.29. Unfortunatelly, when I ran the example script the output said that the total energy comsumed is equal to 367.6739273 ... etc. but this doen not look right as the every node has 2 joules as initial energy and if you run the simulation for 100 nodes this mean that the total initial energy is 200. so how come the totat energy consumed is larger than the total initial energy? Please help me to solve this problem and if the output is correct could you please provide me with an explanation for that and I will be grateful. Regards Anas
--------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.