Hello Shawgi.
Thank you very much for your kindly support on my answer to the RG question "Which is the best simulator for cloud computing?".
I failed to reply your message regarding to "<!> Error during startup: Cannot open ini file `omnetpp.ini'." from ResearchGate mailbox yesterday and today. Therefore, I answer your question here.
I give my suggestion on the simulation issue of iCanCloud as follows.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(1) "Launch as c local application" means "run the executable file for c local application".
To run the executable, you need an omnetpp.ini file. Without it, you will get the following error:
OMNeT++ Discrete Event Simulation (C) 1992-2010 1992-2005 Andras Varga [....]
This means that maybe omnetpp.ini never exists, then you need to create a ini file by yourself.
(2) Check the directory/folder which includes OverSim.exe, to make sure that ini file "omnetpp.ini" exists under the same directory.
(2a) If so, just type ./OverSim.exe to run /OverSim.exe (Please do NOT use the launching shortcut to run OverSim.exe
Then you can use Notepad++ (will be discussed later) to view omnetpp.ini to make sure that iCanCloud is included.
(2b) If you can NOT find ini file "omnetpp.ini", then you can use Notepad++ (will be discussed later) to create a very simple omnetpp.ini under the same directory/folder where OverSim.exe exists
Create the following very simple omnetpp.ini:
[General]
network = iCanCloud
Please check the user manaul of iCanCloud package to add more configuration details into the above ini file.
Note that one function of the ini file is to tell which network to simulate (there might be more than one network definitions in the NED files).
This means that "network = iCanCloud" means that you must make sure that you have corresponding NED file for iCanCloud (Please read more details in the Step 5 later).
(3) Software that will open or convert INI files
I recommend using Notepad++ to open/edit omnetpp.ini file, as shown in the following link.
(4) Please read the quick tutorial on OMNeT++ (provided by the following link) to understand the relationship between OMNeT++ and iCanCloud.
My short comment on the relationship between OMNeT++ and iCanCloud:
OMNeT++ provides the basic machinery and tools to write simulations, but itself it does not provide any components specifically for computer network simulations, queueing network simulations, system architecture simulations or any other area. Instead, these application areas are supported by various simulation models and frameworks such as iCanCloud.
iCanCloud is developed completely independent of OMNeT++, and follow its own release cycles.
This means that you need to create a specific ini file "omnetpp.ini" to configure the simulation environment for iCanCloud, as discussed above.
(5) Currently, iCanCloud provides different applications to be launched by users. Each application consists of a set of parameters that define the behavior of such application. Moreover, new applications can be added to the application repository of iCanCloud.
The folder that contains the collection of applications is ~/omnetpp-4.X/iCanCloud/src/Applications/Apps
Each application is located in a separated folder. Thus, three different files must be written to create an application.
(5a) Definition of the application (.ned file)
For more details of .ned language, please read chapter 3: The NED language of the manual provided by OMNeT++ framework ~/omnetpp-4.X/doc/Manual.pdf
(5b) Headers (.h file)
This file contains the function headers of the application.
(5c) Implementation (.cc file)
This file contains the implementation of each function contained in the headers file.
(6) The following link provides the user manual of OMNeT++.
You can read the section "9 Configuring Simulations" for OMNeT++.
I am not an expert of OMNeT++. Most of time, I use OPNET (another parallel network simulator with OMNeT++) for network simulation.
Currently I work on Apache Hadoop (real-world cloud computing platform instead of cloud simulator).
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I provide the above comments based on my best knowledge on iCanCloud/OMNeT++.
With best regards,
Winston Hong