Experienced Share: Install CTP-Castalia on OMNeT++
I have recently researched on tree routing protocol in WSN. I had analysed the CTP routing protocol under TinyOS’s nesC programming, however, due to some limitations the built-in TOSSIM simulator has to offer on energy and radio modeling and in graphical analysis, and after doing some research, I found that the WSN’s CTP on Castalia simulator just serve the purpose.
However, the intriguing part is that the CTP routing version ported on Castalia are developed few years back in 2011 with the existing tools on that particular year. Meaning to say, in short, I have to use the same old tools for today. But, I had done some trial and error to answer my curiosity question I had in mind: ‘I need latest tools. Why should I use tools that are already 9 years old while some of its features already obsolete? What if the Castalia’s CTP make to test run in latest tools (latest version of ubuntu, omnet++, castalia)? Can it be successfully compiled?
Therefore, I had for more than a week mingling with the versions mixture of ubuntu, omnet++, and castalia, for example I have tried tenth of tenth combination of version among these tools, for example ubuntu 18 + omnet++ 4.6 + castalia 3.2, or ubuntu 16 + omnet++ 4.2, castalia 3.0, ubuntu 10 (even the distro already not supported) + omnet++ 4.2.2 + castalia 3.2, ubuntu 14 + omnet++ 4.2.2 + castalia 3.0/3.2, but NONE works..I do get similar error during the make process such as the TosEnvironment.h error, dynamic argument error, bison compile error, gcc compile error, etc.
However, after almost give up on everything, finally after many trials and errors, I found that the only mixture that works for me is this combination: Ubuntu 12.04.5-LTS 64 bit, OMNeT++ 4.2.2, Castalia 3.2..even I have to satisfy myself of using not the latest tools in a rack! In particular, this combination are using these versions of software: java openjdk-6-jdk 1.6.0_41, java jre 1.6.0_41, gcc/g++ 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5), python 2.7.3, bison (GNU) 2.5, perl v5.14.2, flex 2.5.35, tcl/tk 8.5. Try this, and fingers crossed, you get the ctp-castalia compiled and run success for you.
I believe someone out there does struggle the same experienced I had and I hope that this note helps them find the exit road!
Particular links to the download:
1. Ubuntu 12.04.5 LTS 64 bit: http://releases.ubuntu.com/12.04/
2. OMNeT++ 4.2.2: https://omnetpp.org/download/old.html
3. Castalia 3.2: https://github.com/boulis/Castalia/releases
4. Ctp-Castalia-beta-1.1: https://code.google.com/archive/p/ctp-castalia/downloads
Hope it works for you as it works for me!
Knowing worth sharing.
Yusnaidi, UTM
From The Blog
How to install TinyOS 2.1.1 on Ubuntu 14.0.4 32 bit
How to install TinyOS-2.1.1 on Ubuntu 14.0.4 LTS 32-bitEven TinyOS has been updated to version 3 but in terms of simulation, I found few limitations hindered one to simulate particularly on micaz platform. I have been searching all over the web and other references...
How to Install TinyOS-2.1.2 on Ubuntu 14.04.5-LTS 64-Bit using Virtualbox VM
How to install TinyOS-2.1.2 on Ubuntu 14.04.5 LTS 64-bit VirtualBox VMThis guides let one to install TinyOS version 2.1.2 (from latest tree) on Ubuntu by using VirtualBox virtualization. Apart from enabling to compile TinyOS codes (for example at the very simple...
How to Install TinyOS-2.1.1 on VM Ubuntu
How to install TinyOS-2.1.1 on Ubuntu 14.04.5 LTS 32-bit VirtualBox VMThe recent TinyOS 3 version has limitation on supporting simulation. Therefore, to leverage the use of TOSSIM, the built-in TinyOS simulator, researchers has to rely on the backdated version of the...
Let's Start Something new
SAY HELLO!
"Two are Better Than One". I believe Bigger Mind Sparks Bigger Idea. Let's be a Team, because we are already a Family. Let's talk research. Let's share research. I would loved to learn new things, explore new possibilities, collaborate new research, improve knowledge skills, and learn from YOU!
A motivating discussion is worth comment. I do think that you ought to publish more on this issue, it may not be a taboo matter but generally people don’t talk about such issues. To the next! Kind regards!!
Original wood sport products for kids, for home
I agree with you
Hello 🙂 I bookmarked this site. Thanks heaps for this!… if anyone else has anything, it would be much appreciated. Great website Super Ezines Free Laptops Inside http://www.Ezines.M106.COM Enjoy!…
Nigdy nie zapomnij najpiekniejszych dni swojego zycia! Wracaj do nich, ilekroc w twoim zyciu wszystko zaczyna sie walic. – Jim Rohn