[ns] Fw: error in leach configuration in ns2.34
m getting the contents in /ns-2.34/mit/leach_sims/leach.err mentioned below. Although when I executed ./test for leach it is running properlly invalid command name "Resource/Energy" while executing "Resource/Energy instproc setParams {args} { $self instvar energyLevel_ alarmLevel_ set energyLevel_ [lindex $args 0] set alarmLevel_ [lind..." (file "/home/saurabh/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" line 11) invoked from within "source.orig /home/saurabh/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source /home/saurabh/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" (file "mit/uAMPS/sims/uamps.tcl" line 30) invoked from within "source.orig mit/uAMPS/sims/uamps.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source mit/uAMPS/sims/uamps.tcl" (file "tcl/mobility/leach.tcl" line 18) invoked from within "source.orig tcl/mobility/leach.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig[list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig[list $fileName] ..." (procedure "source" line 8) invoked from within "source tcl/mobility/$opt(rp).tcl" (file "tcl/ex/wireless.tcl" line 187) Also as pr your post I have changed all paths in uAMPS.tcl file but still while executing ./test err file showing me the same contents..
[ns] help regarding mannnasim and leach protocol for sensor networks
anybody there to tell whether mannasim is compulsory to be used or it is optional for simulation of sensor networks using ns2.34 Also I would like to expect help from ns2 users about how to make my leach protocol work for ns2.34 Saurabh Mittal
[ns] Fw: help
- Forwarded Message - From: saurabh mittal To: "ns-users@isi.edu" Sent: Thursday, 2 January 2014 12:17 PM Subject: help Dear All Although its almost a year ago I started working on ns2 but still sometimes I find myself stuck inbetween some concepts on ns2. Can anyone tell me that whether it is compulsory to patch mannasim with ns2 for working in WSN simulations or there are some concepts in WSN for which mannasim is required . As the basic scripts which are freely available for WSN are working fine and showing results without taking help of mannasim. Saurabh