for your eyes only
Knowledge Hurts – a blog of thoughts, things and stuff.

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.

Advertisement

27 Responses to “Mannasim on ns 2.34 (and gcc 4.3)”

  1. 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

  2. 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.

  3. 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

  4. If you don’t listen, you won’t learn…

  5. 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.

  6. 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.

  7. 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

  8. 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 ?

  9. 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.

    • 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

  10. 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…….

  11. 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

    • 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.

  12. 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.

  13. Hello
    can anyone tell me….How to add patch in NS2.34?
    i am unable to do it

  14. 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

  15. 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

  16. 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”…

  17. hi i need a p2p protocol patch in NS2.3 in C++. i search it but didn’t get it.

  18. 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..

  19. 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

  20. 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


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.