LEACH protocol file .nam file

928 views
Skip to first unread message

Ravi Kumrawat

unread,
Feb 9, 2015, 9:30:53 AM2/9/15
to ns-u...@googlegroups.com
i have done leach protocol using NS2.35 flowing steps.it generate" .tc"l file as well as ".tr" but did not generate  "..nam "   file .how to generate .nam . help me.

1 Installation of Mannasim in ns-2.35
2 download mannasim  
https://dl.dropboxusercontent.com/u/24623828/mannasim/mannasim.tar.gz
3 the ns-modified-files/ to these locations
ns-allinone-2.35/ns-2.35/apps/udp.cc
ns-allinone-2.35/ns-2.35/common/ns-process.h
ns-allinone-2.35/ns-2.35/common/packet.cc
ns-allinone-2.35/ns-2.35/common/packet.h
ns-allinone-2.35/ns-2.35/Makefile.in
ns-allinone-2.35/ns-2.35/tcl/lib/ns-default.tcl
ns-allinone-2.35/ns-2.35/tcl/lib/ns-lib.tcl

4 ns2.35 ./configure
5 make

information about mannasim  link 
http://www.nsnam.com/2013/06/mannasima-sensor-network-simulator-for.html

knudfl

unread,
Feb 9, 2015, 2:41:00 PM2/9/15
to ns-u...@googlegroups.com
@Ravi Kumrawat ,  Hi.

Very simple :   Mannasim  isn't  supporting  NAM .  Sorry .  Nothing to do.


Besides that ,  I wonder why you are using the old version of  Mannasim.
Latest is  (year 2013) :   ns-allinone-2.35 patched for mannasim, by @paultsr →
https://github.com/paultsr/ns-allinone-2.35
>>> $ git clone https://github.com/paultsr/ns-allinone-2.35

I.e. much easier to handle : Is (also) for gcc -4.6 .. 4.9.x,  so tt's just to run $ ./install

Also available :  The $paultsr  patch :   ns2.35-mannasim.patch


-
ns2.35-mannasim.patch.gz

RAVI KUMRAWAT

unread,
Feb 11, 2015, 12:08:59 AM2/11/15
to ns-u...@googlegroups.com
can you konw any other way how to generate .NAM in leach protocol

knudfl

unread,
Feb 11, 2015, 4:45:36 PM2/11/15
to ns-u...@googlegroups.com
Hi .

Sorry,  Leach is not supporting NAM.

Visualizing :  Run  $ xgraph leach.alive.txt

Output examples,  post #4 here ....
http://www.linuxquestions.org/questions/linux-wireless-networking-41/how-many-successful-implementations-of-leach-on-ns2-4175531395/#4


-

RAVI KUMRAWAT

unread,
Feb 12, 2015, 4:32:27 AM2/12/15
to ns-u...@googlegroups.com
ok, thanks!! sir
Reply all
Reply to author
Forward
0 new messages