LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2013, 03:31 AM   #1
bnmeenu
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
NS: Leach-c eq_energy=0 condition simulation problem


Hi, LQ members.

I have installed ns-2.27 and ns-2.34 on Ubuntu 9.10.

I have a successful running ns-2 and I found no problems in leach_test simulation.

But, it does dead-lock operation in the leach-c algorithm simulation environment variable change to eq_energy=0.

Firsr time, I have successful simulation results.
I can't see the line "num_nodes is set 101" that after the successful simulation.

The simulator may be dead but remain the process.

So, I have to killed the process then it has gone.

How can I solve the problem?
 
Old 04-24-2013, 08:11 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
This isn't so much a Linux question as an ns question. I see a forum for ns at
http://network-simulator-ns-2.7690.n7.nabble.com/
 
Old 04-24-2013, 10:53 AM   #3
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
Leach energy http://network-simulator-ns-2.7690.n...+energy&days=0

And: There are some answers about "energy" in the two long LQ leach threads
* http://www.linuxquestions.org/questi...2-27-a-785379/
* http://www.linuxquestions.org/questi...2-34-a-870368/
Please look for answers by @ deepa_2111 .

All LQ leach http://www.linuxquestions.org/questions/tags/leach/

-

Last edited by knudfl; 04-24-2013 at 10:57 AM.
 
  


Reply

Tags
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
Leach-c eq_energy=0 condition simulation problem bnmeenu Linux - Networking 1 04-22-2013 05:29 PM
Leach-c eq_energy=0 condition simulation problem kguerilla Linux - Wireless Networking 9 09-21-2012 11:52 AM
Simulation du protocole LEACH Lau85 Linux - Newbie 3 05-06-2011 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:24 AM.

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