Hi Knudfl
Kindly take a relax look on this and help me on solution on executing ./test i got following err Quote:
http://www.linuxquestions.org/questi...2-34-a-870368/ [post #2] and http://www.linuxquestions.org/questi...368/page9.html [post # 134] when i run sudo gedit /etc/apt/sources.list in sources.list file i m getting as follows, Quote:
and also i am not seeing any lines in sources.list like deb http://76.73.4.58/ubuntu/ ... deb http://76.73.4.58/ubuntu/ ... I m not getting exactly what to add and where to add Thanks Pon |
# 871 .
No old Ubuntu compilers will work on a contemporary Ubuntu. So : No `hardy´ (or `maverick´) can be added. ! Do not use old instructions when you have Ubuntu 12.04. How to build a »leach + ns234« that works ... http://www.linuxquestions.org/questi...-4175504301/#2 Info : http://www.linuxquestions.org/questions/tags/pegasis/ . http://www.linuxquestions.org/questions/tags/leach/ - |
#867, @pon.
Quote:
|
hi i used pegesis patch, upon executing test in ns-2.34 directory i am getting error in pegasis.err . but in the following post knudfl mentioned to see err and output in mit/leach_sims/test_simulations/leach/,
mit/leach_sims/test_simulations/leach_2, but there are more files.there is one file leach.err-save in that i am seeing following mac/chanel.cc: INITIALIZE THE LIST xListHead SORTING LISTS ...DONE!, but upon executing ./test , there is no changes in this file. Pls tell me exactly where to see output and error in pegasis patched ns-2.34. Are pegasis.err pegasis.out right to see? Quote:
|
Ref. #874 .
Selecting simulations : See `leach_test', line 4 - 5 : #This is the algorithm that we are going to run. 1. leach 2. leach_c 3. pegasis alg=<algorithm> I.e. to run pegasis, edit line 5 to alg=pegasis The results are : ns-allinone-2.34/ns-2.34/mit/leach_sims/ \ { pegasis.alive, pegasis.alive.txt, pegasis.data, pegasis.data.txt, pegasis.energy, pegasis.energy.txt, pegasis.err, pegasis.out }. The file pegasis.err should be two lines : mac/chanel.cc: INITIALIZE THE LIST xListHead SORTING LISTS ...DONE! * Please read post #870. - |
i am getting err in pegasis.err, since more than 10 days i stuck in this.:scratch:
invalid command name "Resource/Energy" i am using ubuntu 12.04 and ns-2.34,the following quote suggested to have gcc-4.1.2 is it possible me to install gcc 4.1.2 ? is it mandatory to get rid of this err. or is there anyother way? almost i read all threads in thread. Quote:
Pon |
@ #874 Mr.knudfl,
Already i have alg=pegasis only, i am seeing pegasis.err pegasis.out in mit/leach_sims. but there is no pegasis.alive, pegasis.alive.txt, pegasis.data, pegasis.data.txt,pegasis.energy, pegasis.energy.txt my leach_test file Quote:
|
Similar PEGASIS problem
Hi pon
I wonder, did you find any solution to the pegasis problem your facing? My pegasis.out generates incorrect output as the energy stays the same yet the data remains 0 and nodes stays 100. Thanks! Quote:
|
Help in MIT code NS
pleas, can anyone make short describe for this files
ns-ranode.tcl extras.tcl ns-bsapp.tcl thanks ! |
Post #879, @NAYEFALDAUIS : Welcome to LQ.
* mit/rca/ns-ranode.tcl, mit/uAMPS/extras.tcl, mit/uAMPS/ns-bsapp.tcl .. are configuration files for running a leach simulation. Like all files.tcl, they are text files, easy readable. A) mit/rca/ns-ranode.tcl : .. part of the MIT SPIN project. . http://spinroot.com/spin/Workshops/w...0_paper_13.pdf . https://drive.google.com/file/d/0B7S...ew?usp=sharing . https://drive.google.com/file/d/0B7S...ew?usp=sharing B) mit/uAMPS/extras.tcl : .. MIT uAMPS . http://www-mtl.mit.edu/researchgroups/icsystems/uamps/ . https://www.google.com/webhp?hl=all&...+uAMPS+project §1) Functions to calculate distances. §2) Computational energy dissipation model ... for beamforming num signals of size bytes / signal. §3) Miscellaneous printing (output) functions. C) mit/uAMPS/ns-bsapp.tcl : .. MIT uAMPS §1) Base Station Application. §2) Helper Functions. §3) Receiving Functions §4) Sending Functions - |
problem in leach.out and leach.tr file
Hello every body
I have installed ns2.34 in ubuntu 14.04 and then i added leach patch into ns2.34.But when i run command ./leach_test,the generated leach.out and leach.tr simulation is only for 1.09 secs, whereas in ./leach_test file simulation time is set to 3600 secs. Please help me asap. thank you. |
thank you
Quote:
|
← Ref. post #881 .
`leach_test' → Line 25 : # stop is the time to stop the simulation if it is still running Line 26 : stop=3600 ( The latest update : leach+pegasis-ns234-files-2.tar.gz by @exidus : stop=50 ). As you can read in line 25 : 3600 (or 50) is just the maximum time. * The files are ancient. ./test, ./leach_test may have run for a longer time 15 years ago. Different version of ns2. Slower computers. With ns-2.34 and a modern computer, and with default parameters : It's 1 .. 2 seconds. - |
[QUOTE=knudfl;5282913]← Ref. post #881 .
Hello sir I added leach+pegasis patch into ns2.34.firstly everything was going correct but soon i observed that in my trace file leach.tr number of received packets are double or even more than the number of packets sent. Please tell me why this is happening. thank you |
Quote:
|
All times are GMT -5. The time now is 12:31 AM. |