hey asrmaster,
from what i have analysed, the problem is due to the manner in which the channel is implemented. I have posted my reply on the other thread. i havent run on ns2.1b5, but ns2.35 gives me the smae resutls as yours |
Hi deepa,
Thanks for your reply and help. But, I have a question. The your results in ns-2.35 are equivalent to my results in the ns-2.1b5 or ns-2.34? Quote:
|
hi asrmaster,
sorry for being unclear. my ns2.35 results match your ns2.34 results. am in the process of fixing the channel. Can you please do me a favour ? Can you send me your ns2.1b5 's leach.out ? can you please enable 'quiet' (set the parameter to 0) in uamps.tcl, re-run it and send me the output file leach.out (in ns2.1b5) ? just want to verify what happens when a cluster head dies on the ns2.1b5 version. also, can you tell me which version of linux you used to install ns2.1b5 ? Your help would be appreciated a lot .. thanks in advance Deepa |
Energy consumption
Hello
Can u give me the methode to calculate the energy consumption of nodes in NS2 (scripts or tcl code)? or any other information that can help me. Thank you |
LEACH on ns2.35
@deepa_2111. Can you please explain how you added LEACH on ns2.35? I am using cygwin. Thanks a lot
Quote:
|
mit leach in ns2.34
i have installed ns-leach2.34 in ns2.34.the test command in run successfully. but in leach.out file the following errors occured.plz help me. what should i done.
couldn't read file "/home/narendra/simulator/NS-allinone-2.34/NS-2.34/mit/rca/ns-ranode.tcl": no such file or directory while executing "source.orig /home/narendra/simulator/NS-allinone-2.34/NS-2.34/mit/rca/ns-ranode.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 $env(RCA_LIBRARY)/ns-ranode.tcl" (file "mit/uAMPS/sims/uamps.tcl" line 9) 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) |
help for ns2
could you please help me
im doing project with ns2 i have one problem that is how to make a node to dead randomly in ns2 |
pleese help me
how to make deadnodes in ns2 help me it's urrgenttt............
|
@deepa_2111...
i am also trying to implement LEACH on ns2.35. How did you go about this?? Which patch of LEACH did you use?? Its a little important for my project to kickstart. Kindly help!! Need steps in brief. Thx in advance. |
LEACH in ns2.35?
hi all;
anyone of you has implemented LEACH in ns2.35?? Kindly guide me..as i am stalled because of this. Please help!! |
|
@knudfl
I went through the link earlier also. deepa_2111 has not given detailed steps. Need to implement LEACH to kickstart things. Any other link?? @deepa_2111...are you reading this?? for benefit of beginners like me, kindly give us steps you took in ns2.35. |
# 42.
Well, you know that you can install leach on ns-2.34, if you have a usable OS. I.e. you can have as many versions of ns-allinone-2.xx as you want, installed at the same time. . |
@ knudfl
can u please tell me what pp means in tcl script that is provided in nsleach. |
#44
Quote:
Another example using pp : http://wiki.tcl.tk/1821 >>> Powerpoint - export slides to images. $pp Quit unset pp I guess you will have to learn tcl to find an answer. . |
All times are GMT -5. The time now is 05:32 PM. |