I configured leach successfully in ns2.34 and g++4.4. but it not show the complete output in leach.out. it only creates TDMASchedule0.txt file and stops. Help me in this regards.
Node 94 is DEAD!!!! - ns-leach.tcl
Node 95 is DEAD!!!! - ns-leach.tcl
At 1.0999999999999999: - mit/uAMPS/stats.tcl
Total Energy = 4.5493449382265103
Total Data = 0
Total Alive = 4