How to use OMNeT++ witha a linux terminal?

981 views
Skip to first unread message

sassir

unread,
Jan 30, 2013, 8:51:26 AM1/30/13
to omn...@googlegroups.com
Hello everyone,

I wrote a script in order to repeat several simulations with different values of some parameters.

However, I would like to know how to execute my file ini with a linux terminal. I did not find anything on the Net.
I will appreciate any help.

Thank you in advance.

Best regards,


Vitor Bernardo

unread,
Jan 30, 2013, 9:19:24 AM1/30/13
to omn...@googlegroups.com
http://www.omnetpp.org/doc/omnetpp/manual/usman.html#sec354

--
Vítor Bernardo





--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rudolf Hornig

unread,
Jan 30, 2013, 10:05:49 AM1/30/13
to omn...@googlegroups.com
Take a look at the parameter iterations, experiments section. Also read about the opp_runall command because these together does exactly what you are doing without writing a single line of extra code.

sassir

unread,
Jan 30, 2013, 10:56:33 AM1/30/13
to omn...@googlegroups.com
Hello,

Thank you Vito and Rudolf for your help.

However, I still have a problem. The fifo example, that I tried, works very well. But, I am working on inet framework and all files ini are included in the example folder. In this case, I can not use classically Cmdenv .

For example: Here is where my file ini is included

inet/examples/adhoc/ieee80211/fingerprints.ini

I tried different combinaisons on the linux terminal by taking my aspiration from the fifo example, but, without success.

Do you know how to do in this case?

Rudolf Hornig

unread,
Jan 30, 2013, 11:27:39 AM1/30/13
to omn...@googlegroups.com
Take a look at the "run" scripts in the examples folder. They can be started just fine from that folder (by specifying -u Cmdenv). Follow how the are implemented.

An other approach: Start the simulation from the IDE (configure it to Cmdenv) and take a look at the Consol view. before startingthe sim, the IDE will dump out the exact command line it is using to start the simulation.

ILucrativeOne

unread,
Oct 30, 2018, 5:25:09 PM10/30/18
to OMNeT++ Users
May I ask a question or questions about omnet++ and how it works on ubuntu 16.04? I installed the package but can't find omnet++ anywhere neither in terminal nor in the sofware center. Can anyone help? Please! I will have further questions about how it works but until then I need to find the omnet application first. Thank you!

Attila Török

unread,
Oct 30, 2018, 5:33:18 PM10/30/18
to omn...@googlegroups.com
There is no "package" for OMNeT++ (AFAIK), at least not in the usual sense, and it doesn't need to be "installed". It is always self-contained, in the directory you extracted it to. (Apart from some files to store its config options, but nothing crucial.)
This has the advantage that you can have any number of OMNeT++ "installations" (versions) on your system at any moment, without them interfering.

So, to use an OMNeT++ installation, cd into its root directory, and "source" the setenv script. like this:

. setenv

Note the dot (period) and the space. Without those, it doesn't work.
Once you do this in a terminal, you can now start the IDE (by entering simply omnetpp), and use any command-line utilities of OMNeT++.

Attila


On Tue, Oct 30, 2018 at 10:25 PM ILucrativeOne <pavli...@gmail.com> wrote:
May I ask a question or questions about omnet++ and how it works on ubuntu 16.04? I installed the package but can't find omnet++ anywhere neither in terminal nor in the sofware center. Can anyone help? Please! I will have further questions about how it works but until then I need to find the omnet application first. Thank you!

--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

ILucrativeOne

unread,
Oct 31, 2018, 9:07:16 AM10/31/18
to OMNeT++ Users
I have installed it by omnet installation guide on Ubuntu 16.04 LTS, there are two lines of sudo's that I entered and I think that it installed or whatever the omnet installation, but I don't see anywhere where I have installed OMNeT++ neither in the search of programs in top-left corner nor in software center I don't see the  
application - the icon of the program nowhere after the installation through the terminal I hope that I explained it right

Ashika naik

unread,
Nov 2, 2018, 5:21:00 AM11/2/18
to omn...@googlegroups.com
type "omnetpp" command in the terminal and it will open

thanks
Reply all
Reply to author
Forward
0 new messages