Castalia :- Simulator Installation steps with OMNET++ in ubuntu 14.04

Castalia with Omnet++ Simulator Installation  steps in ubuntu 14.04...


1.Download the OMNeT++ 4.5 (source + IDE, tgz)..

For given link http://omnetpp.org/omnetpp/doc_details/2282-omnet-45-source--ide-tgz   It is 181 mb large MB file and it save in your home directory folder

2. Untar and unzip the source file by the command on terminal
 $ tar xvfz omnetpp-4.5-src.tgz

3.Set environment variables by typing in to your bash file or terminal

$ export PATH=$PATH:~/omnetpp-4.5/bin
$ export LD_LIBRARY_PATH=~/omnetpp-4.5/lib

4. You are now ready to build OMNeT:

$ cd omnetpp-4.5/
$ NO_TCL=1 ./configure
$ make

5. Download the castalia 3.2 from https://forge.nicta.com.au/frs/?group_id=301

6. Untar and unzip the source code:

$ tar –xvzf Castalia-3.2.tar.gz

7. You are ready to build Castalia:

$ cd Castalia-3.2/
$ ./makemake

8. Take some time to install then use
$ make

Successfully installed the Castalia enjoy if any problem then contact me
mail Id vikasmain{.it , 34007}@gmail.com




























Comments

  1. sir, can you please tell me where can i download castalia files?

    ReplyDelete
  2. Download all files follow that link..https://castalia.forge.nicta.com.au/index.php/en/

    ReplyDelete
  3. thank you for your info sir. i have download the castlia file from there. when i want to exract the file it says "error setting owner: operation not permitted" and does castalia 3.2 compatible with omnet 4.6? thanks in advance sir.

    ReplyDelete
  4. Use Omnet++ 4.5 ver its beeter for you with castalia 3.2

    ReplyDelete
  5. hello sir,
    can i install castalia in windows?

    ReplyDelete
  6. Ya you installed in windows also but import in omnet++

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. hi i have a problem in castalia's intallation. is it possible for you to solve this ?
    http://8pic.ir/images/ztd5djdf556vg042pcoo.jpg

    ReplyDelete
  9. Dear sir...i would like to ask you if Castalia simulator is suitable for simulation wsn security?

    ReplyDelete
    Replies
    1. for Security purpose you are using omnet or NS2 as comparison to castalia according to my point of view...

      Delete
  10. Dear sir, when i try to add the castalia 3.2 to the Omnetpp 5.0b2, there is no recognized 'projects' by Omnetpp to add. Even adding from an archive file does not work and the button 'Finish' is not active.
    Here is the screenshot:
    https://www.dropbox.com/s/acw11k00j06j0f5/Omnet%2B%2Bcastalia%20Win.jpg?dl=0
    Thank you in advance.

    ReplyDelete
  11. same problem with me.....sir please explain!

    ReplyDelete
  12. hello , sir thankyou for ur help till noe we got through ur blog.
    sir noe we want to use castalia on omnet++ can u help us to do same .

    ReplyDelete
  13. hello sir
    i was in need of leach-c protocol in castalia.Can you please help me out .

    ReplyDelete
  14. PLEASE sir i have a problem with OMNET ++ instalation this the eror i got

    OMNeT++ was configured without Tcl/Tk ($NO_TCL set). Tkenv (the GUI
    runtime environment) will not be available, simulations need to be run
    under Cmdenv.

    ReplyDelete
  15. hello sir
    i use the simulat Castalia to simulate leach protocol performance results in wireless sensor networks , I implement the package leach under castalia, we must now try leach:

    Default configuration:

    1- without activating the central node mobility (base station Sink)
    2-activating mobility ...
    please help me i'm blocked
    thank you

    ReplyDelete
  16. hello Sir
    i need your help please, i have a problem when installing Castalia this is the last line after taping the command make
    src/helpStructures/CastaliaModule.cc:192:76: error: ‘sendDirect’ was not declared in this scope
    sendDirect(drawPowerMsg, classPointers.resourceManager, "powerConsumption");
    ^
    Makefile:202: recipe for target 'out/gcc-release//src/helpStructures/CastaliaModule.o' failed
    make: *** [out/gcc-release//src/helpStructures/CastaliaModule.o] Error 1

    ReplyDelete
  17. Hello Sir
    I extract and run it successfully under ubuntu. However, how can i import the project inside omnet5.0? I follow some tutorial but alwayes lead to error.

    ReplyDelete
  18. Hello sir,

    When I installed Castalia in ubuntu 16.04 it gives me following error.

    vishal@vishal-Lenovo-Z51-70:~/Castalia-3.2$ make
    src/helpStructures/CastaliaModule.cc
    In file included from src/helpStructures/CastaliaModule.cc:13:0:
    src/helpStructures/CastaliaModule.h:60:2: error: ‘cModule’ does not name a type
    cModule *resourceManager;
    ^
    src/helpStructures/CastaliaModule.h: In constructor ‘classPointersType::classPointersType()’:
    src/helpStructures/CastaliaModule.h:63:22: error: class ‘classPointersType’ does not have any field named ‘resourceManager’
    classPointersType():resourceManager(NULL) { }
    ^
    src/helpStructures/CastaliaModule.h: At global scope:
    src/helpStructures/CastaliaModule.h:69:52: error: expected class-name before ‘{’ token
    class CastaliaModule: public virtual cSimpleModule {
    ^
    In file included from /home/vishal/omnetpp-5.0/include/omnetpp/ccomponent.h:27:0,
    from /home/vishal/omnetpp-5.0/include/omnetpp.h:26,
    from src/helpStructures/CastaliaModule.h:18,
    from src/helpStructures/CastaliaModule.cc:13:
    src/helpStructures/CastaliaModule.cc: In member function ‘virtual void CastaliaModule::finish()’:
    /home/vishal/omnetpp-5.0/include/omnetpp/clog.h:255:60: error: ‘getThisPtr’ was not declared in this scope
    #define EV_LOG(logLevel, category) OPP_LOGPROXY(getThisPtr(), logLevel, category).getStream()
    ^
    Makefile:202: recipe for target 'out/gcc-release//src/helpStructures/CastaliaModule.o' failed
    make: *** [out/gcc-release//src/helpStructures/CastaliaModule.o] Error 1
    vishal@vishal-Lenovo-Z51-70:~/Castalia-3.2$

    ReplyDelete
    Replies
    1. Need to use latest version of castalia otherwise create Make directory manually....

      Delete
  19. Castalia 3.3 is designed for static GTS allocation. Does ubuntu 14.04(32 bit) is suitable for Castalia 3.3 and Omnet++4.6 ?
    Which version of Castalia is suitable for dynamic GTS allocation (i.e. Castalia 3.2)?

    Thanks & regards,

    Varsha Bhosale

    ReplyDelete
    Replies
    1. After 3.2 all version is suitable for dynamiic GTS need to link the JDE environment... @Varsha Bhosale

      Delete
  20. hello sir
    when i Untar and unzip the source code of castalia 3.2 there is no problem but when i execute the command ./makemake it's said the command is not found
    please help me
    Thanks

    ReplyDelete
  21. hello sir
    I am very new to wireless sensor network and castalia. Following the installation guide and your tutorial i installed it on my ubuntu 16.04.
    i m following the user manual.
    isn't there a simple *so called 'hello worls'* or *tic toc* kind of basic method to start programming in it..
    .
    your help is really appreciated.

    ReplyDelete
    Replies
    1. I think it's too late if you still need then reply me....

      Delete
  22. sir can i use Castalia for clustering?

    ReplyDelete
    Replies
    1. @Unknown Castalia is not best for Clustering Prefer another tools such as NS3 etc...

      Delete
  23. unable to download castalia from given link. Please help me

    ReplyDelete
  24. Hey Dear @Naveen KG You need to register for NICTA otherwise downloaad from that other link https://sourceforge.net/projects/castalias/

    ReplyDelete
  25. good evening sir

    sir I have doubt does Castalia works in windows 10 along with omnet++5.0 version

    ReplyDelete
  26. I want to download castalia but all those links doesn't work !!
    what i should do !?!?

    ReplyDelete
  27. You should download from : https://github.com/boulis/Castalia

    ReplyDelete
  28. i need help in installation of castalia 3.3 with omnet 4.6++ on windows 10

    ReplyDelete

Post a Comment

Popular posts from this blog

Ns2 Installation steps in ubuntu 12.04 / 13.10 / 14.04 (package NS2.35)

Installation steps for CupCarbon simulator on Ubuntu 14.04