LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2016, 06:10 AM   #1
soulef
LQ Newbie
 
Registered: Mar 2016
Location: Algeria
Posts: 1

Rep: Reputation: Disabled
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
 
Old 03-20-2016, 12:05 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/


-
 
1 members found this post helpful.
Old 03-22-2016, 10:29 PM   #3
jhonrinto
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
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
 
Old 03-27-2016, 07:58 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/


-
 
  


Reply

Tags
leach, ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with running leach protocol in ns2.34 leach.er Mohamed69 Linux - Software 14 04-16-2018 07:10 AM
leach.out total energy increase leach ns2.34 linuxUser123linux Linux - Software 1 07-13-2013 04:54 AM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration