I have already amended swarm patch as per NS-2.29 and its working fine now. when I run tclsh with Expt-das- compare.tcl I got error msg as:
Analysing results Packet Delivery Ratio ERROR while executing simulation_results/compare-das-10-AODV-103-2007-12Feb-Mon142339: Illegal division by zero at ./analyse- packetdeliveryratio.pl line 175, <> line 67. Creating Simulation in simulation_results/compare-das -10-DSR-104-2007-12Feb-Mon142341... INITIALIZE THE LIST xListHead Loading node movement file: movement/scen- 1500x300-50nodes-900s-20ms-900 -11.ns_movements Loading traffic file: traffic/scen-50-10flow-cbr -512b-4ps-11 Running Simulation in simulation_results/compare-das-10-DSR-104-2007-12Feb-Mon14234 1.. Packet Delivery Ratio ERROR while executing simulation_results/compare-das -10-DSR-104-2007-12Feb-Mon14234 1: Illegal division by zero at ./analyse- packetdeliveryratio.pl line 175, <> line 68. Creating Simulation in simulation_results/compare-das-10-SWARM-105-2007-12Feb-Mon142344... INITIALIZE THE LIST xListHead ERROR while executing simulation_results/compare-das -10-SWARM-105-2007-12Feb-Mon142344: error when calling class Agent/SWARM: port-dmux _o31