Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-08-2012, 10:18 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 13

Rep: Reputation: Disabled
Unhappy How to run LEACH on ns2.34.

I already installed ns2.34 on ubuntu10.10. Now I am trying to run LEACH. I followed all type of steps given in various threads. When I complete the steps and run ./test then wireless-demo-csci694.tcl works well and i find the output but for leach_test the leach.err file shows the following error and the output file shows nothing.
At first it showed the following error:
can't read "env(RCA_LIBRARY)": no such variable
while executing
"source $env(RCA_LIBRARY)/ns-ranode.tcl"
(file "mit/uAMPS/sims/uamps.tcl" line 9)
Then i changed all env(RCA_LIBRARY) and env(UAMPS_LIBRARY) by the path such as mit/rca and mit/uamps.
Then it showed the following error:
"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file "/home/kowsar/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" line 11)
can anyone help me to solve this problem?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
running leach on ns2.34 Stanley33 Linux - Software 76 12-06-2015 11:21 AM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
Leach on ns2.34 linux_ubuntu Linux - Newbie 2 10-04-2011 02:32 AM
LEACH on NS2 deepa_2111 Linux - Newbie 1 04-05-2011 07:53 PM
leach in ns2.33 hayet Linux - Newbie 2 03-18-2011 06:03 PM > Forums > Linux Forums > Linux - Software

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

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