Mannasim on ns 2.34 (and gcc 4.3)
Without much bragging about it:
After I read here that it was possible to run the Mannasim framework for ns2 on version 2.32, I thought that this might be as well possible for 2.34. Instead of philosophying about this (the source claims that it would take months and 1.5 years of C++ knowledge), I simply did it.
Here is a patch that installs mannasim into ns 2.34. http://www.box.net/shared/th6qi9b5v0
It is missing the tcl maker, but should otherwise work fine.
Read on! Knowledge hurts.
hii, im working with ns2.34 and want to install mannasim on it…plzzz.tell me the detailed steps for it……and the specific version of mannasim which i can use..
thanx
deepika - Tuesday, 27. July 2010 at 7:54 |
If you don’t know how to use a patch, just google how to use it
Nah, I’ll be nice and give you a quick walkthrough: You download and unpack ns2.34, you download the patch and place it in the top directory of your unpacked ns2.34.
Use cd to change into this directory and then say
patch -P0 < patchfilename
if that doesn't seem to work (e.g. the correct files to patch are not found), play arround with the parameter (e.g. -P1 -P2). At some point you will succeed.
Good luck.
knowledgehurts - Tuesday, 27. July 2010 at 9:47 |
OMG, its so complicated…i have downloaded a setup for mannasim…..tell me how to install it.And then tell about patch..I WANT A FULL DISCRIPTION yr…..each n every step to install mannasim on NS2.34…….REMEMBER NS 2.34…..2.34…..2.34
deepika - Wednesday, 28. July 2010 at 7:37 |
If you don’t listen, you won’t learn…
Wowowow - Wednesday, 28. July 2010 at 8:58 |
i am working on ns2.34 for WSN. To incorporate mannasim …
i first install the ns2.34
then patch ns2 by your given patchfile(it patched).
then replace the some files as instruction given in mannasim’s website from
the folder “ns-modified-files”.Bytheway in your patch no folder is created after patch named “ns-modified-files”
then i did ./configure
but the example scripts that are given in mannasim’s website are not working.
so, do i need to install again after patching ?
and do i need to replace the files as said in mannasim’s website?
pls , i need help.
anjon - Thursday, 29. July 2010 at 10:37 |
I dont know if it is right, but it seems worked…i did now again as followed :
1. patch ns2.34 by your patch file
2. install ns2.34
3. then the tcl scripts that is given in mannasim’s website worked. It made a trace file and write output in that trace file.
anjon - Thursday, 29. July 2010 at 11:19 |
hi
I am master student looking for mannasim patch on ns2.34
when i tried examples given on mannsim site i am getting errors like invalid command name “EnergyModel/Battery”
and lots of other errors can some one help me plzzzzzzzzzzz
apps
aparna - Tuesday, 17. August 2010 at 7:19 |
whether you solved your problem otherwise i will tell the procedure
balaji - Tuesday, 28. September 2010 at 17:28 |
you can try with ns2.29
else contact :9952696689 for more problems
CHINNAA - Saturday, 30. October 2010 at 19:07 |
Hi i am using ms2.29 bit still have this problem when running the examples
invalid command name “EnergyModel/Battery”
and other errors
plz help
anas - Saturday, 13. August 2011 at 23:44
hi
iam using ns2.34 in ubuntu 9.04,i created a scenario in mannasim with the script generator tool and got the trace files. Could you help me how to analyze the trace files and how to invoke the network animator ?
pravin - Monday, 13. September 2010 at 17:49 |
hi
im working with ns2.34 i need to kno which specific verison of mannasim ‘ll be supported by 2.34 and detailed steps for installing mannasim along with ns2.34.
shobana - Tuesday, 19. October 2010 at 5:44 |
At the moment, there is only one mannasim version available. It was originally released for ns 2.29. In this blog, I am explaining how to make it work with ns2.34
knowledgehurts - Wednesday, 2. March 2011 at 14:54 |
Hi
I ve been installed mannasim in ns 2.29 in both linux and xp..so u can better use of ns 2.29..if u still ve queries contact me @ 99945 66690…….
Thiyanes - Saturday, 23. October 2010 at 10:34 |
hi…! I have to create a simulation scenario in ns-2.34 for wireless sensor network for approx. 50 nodes. I am unable to understand whether any patch is needed for wsn simulations in ns-2.34 or not. Also, please suggest me the location for the appropriate patch if any. Its very urgent… please reply soon. tc
dsa - Thursday, 2. December 2010 at 8:12 |
There is no patches needed. Some simple WSN scenarios (AODV routing for example) work out of the box. However, they are perhaps not realistic enough (for 802.15.4 non-beacon mode simulations run with the on-board implementation could be sufficient). My advice: check what you want to show and what metrics you want to produce. Only if you are clear on that, you can clearly say if ns2 (with or without patches) is the right choice for simulation.
knowledgehurts - Wednesday, 2. March 2011 at 14:52 |
Hello,
I am new user of ns2. I would like to ask your help about the mobile-agents installation problems .
I need to integrate ns2.32 or ns2.34 with (http://www.cs.lamar.edu/faculty/osborne/Thesis/mobile-agents.tar)working on ns-2.1b9a.
But, when I modify NS-2.34 , it throws me error message.
please, show me steps how to install it in ns2.3x ?
thank you very much.
amine-ns - Friday, 31. December 2010 at 9:39 |
Hello
can anyone tell me….How to add patch in NS2.34?
i am unable to do it
Vishruti - Tuesday, 11. January 2011 at 12:40 |
You should probably be more specific if you expect help.
knowledgehurts - Wednesday, 2. March 2011 at 14:47 |
ns2.29 giving TK 8.4.11 error. I have gcc 4.4.3 on my machine so ns2.29 not getting installed on ubuntu lucid.
I want to patch mannasim
coolboy - Wednesday, 2. March 2011 at 13:38 |
So? Google the specific error!
knowledgehurts - Wednesday, 2. March 2011 at 14:46 |
mannasim not getting patched with ubuntu 2.34. if we follow the process like patching before installation and than installation, the install process completes without error but ./validate gives message “test output differs from reference output” for many tests, which is not the case for ns2.34 without mannasim. so can you describe the exact process patching mannasim with ns2.34. Moreover the patch does not have ns-modified folders
coolboy - Friday, 4. March 2011 at 7:10 |
Actually, the issue mentioned by coolboy on Friday, 4. March 2011 – the fact that ./validate does not behave as wished – is also present when installing the original Mannasim in ns2.27.
IMHO this is because the output of ns is altered by mannasim. Therefore the validate routine fails. This is not a bug in the patch or a compatibility issue with ns2.34.
@coolboy: since you seem to be into ns, I’d like you to invite you to add the ns-modified information… but I am not sure if the Mannasim extensions are really worth all this trouble, as I found them used in only one specific paper despite the authors’ claim that this is a “framework”…
knowledgehurts - Friday, 4. March 2011 at 10:03 |
hi i need a p2p protocol patch in NS2.3 in C++. i search it but didn’t get it.
gaya - Monday, 7. March 2011 at 8:53 |
hiii, i m using ns2.34 with gcc-4.3 and i have installed mannasim to using ‘mannasim-src-ns2.29.tar.gz’ ….after unzipping it, I did
cd ns-allinone-2.34 and run ./install
it is giving me following error
make: *** No rule to make target `tcp/tcp-qs.o’, needed by `ns’. Stop.
Ns make failed!
plzzzz help me out..
deepika - Sunday, 17. April 2011 at 9:56 |
Hi, For those who are unable to patch
Here is the link
http://www.wretch.cc/blog/ERIC80098/14177425
just go there and install it,
i have successfully patched my NS2..34, this is missing the Script generator tool as in version 2.29 it is present,
but further i dint know how to simulate WSN
if any one have any idea, please let me know
Thanks
Hammad - Monday, 25. July 2011 at 15:48 |
hello can you tell me how to download the patch file for 802.15.4.. is there any website for downloading it..please help me
dilja - Friday, 23. September 2011 at 18:03 |