LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   leach ns2.34 probléme de cluster (https://www.linuxquestions.org/questions/linux-newbie-8/leach-ns2-34-probl%E9me-de-cluster-4175575134/)

soulef 03-17-2016 06:10 AM

leach ns2.34 probléme de cluster
 
Hi !! i use ns2.34 !! i'm trying to run leach. Everything seems to
be running fine and the simulation also runs till the end. But the
result says : "Warning! There are no nodes in cluster" for all the
cluster heads. Each cluster heads clusterNodes_ list is empty.
help please

knudfl 03-20-2016 12:05 PM

Welcome to LQ.

You are probably using the wrong 'Linux OS' for LEACH.
If "leach+pegasis-ns234-files-2.tar.gz" : Please use CentOS 6.7 - 64bits
http://ftp.funet.fi/pub/mirrors/cent..._64-LiveCD.iso
... All newer Ubuntu`s may fail with LEACH.
Easy to install more OS`s : Install 'VirtualBox', and install CentOS into VirtualBox.

There is also "leach_ns235_Oct2015.tar.gz" (same as leach_ns235-Jun2015.patch) :
Same OS >>> CentOS 6.7 - 64bits
Post #11 http://www.linuxquestions.org/questi...4175556129/#11

"leach+pegasis-ns234" http://www.linuxquestions.org/questions/tags/pegasis/
"leach_ns235" http://www.linuxquestions.org/questi...gy-4175556129/
.. and http://www.linuxquestions.org/questi...leach%20ns235/


-

jhonrinto 03-22-2016 10:29 PM

ask total energy stat-clus
 
sir i have a problem with stat-clus..
my condition is 5 number of cluster, 100 nodes, init energy = 2..
my question is my total energy should be at least almost 200, but why in my simulation, there is only 14.166879372131042 sir? can you help me to solve this.
thaks in advance :)

Code:

At 38.400000000000276: - mit/uAMPS/stats.tcl
                Total Energy = 14.166879372131042
                Total Data = 3515
                Total Alive = 0

Simulation complete. - mit/uAMPS/stats.tcl


knudfl 03-27-2016 07:58 AM

Re #3, @jhonrinto : Welcome to LQ.

Please read
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://www.catb.org/~esr/faqs/smart-questions.html
... I.e. to get answers you must specify your OS.
Like CentOS 6.7 - 64bits, Ubuntu 10.04 - 64bits etc.

PEGASIS and LEACH, ns-2.34 http://www.linuxquestions.org/questions/tags/pegasis/


-


All times are GMT -5. The time now is 12:30 PM.