-
Notifications
You must be signed in to change notification settings - Fork 36
FAQ
Makoto "dave" Nakai edited this page Oct 25, 2022
·
5 revisions
At this point, since all of our users are AQUA members, this is a set of questions we frequently ask ourselves.
- A: Welcome to the club. Getting OMNeT++ to run is the biggest hassle. Once you have that done, everything else is smooth. There are a lot of dependencies on other free software packages, as well as on Java. The easiest install may be on a clean Ubuntu distribution, which can be done using Docker if you don't have such a machine handy. See Install OMNeT++ for additional info on troubleshooting.
- A: Ah, yes, the famous lack of hot chocolate. You need to run
OMNeT++ from the command line, not the Finder (on a Mac), and you
need to run
. setenv
to get some environment variables set properly. n.b.: there are probably multiplesetenv
files floating around, and I'm not certain which you need.
- A: Same as above. Do
. setenv
and try again, and it might work.
quisp_tutorial.ini
or anything other than omnetpp.ini
.
- A: You might need to go to the Run menu and pick "Run As OMNeT++ Simulation".
If you get this kind of error message when you use xhost
command,
- A: You can fix this with
export PATH="/opt/X11/lib$PATH"
make[1]: *** No rule to make target `out/clang-release//backends/ErrorTracking/Backend.o', needed by `out/clang-release//quisp'. Stop.
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
- A: If you have an older version of make, you might get something like this.
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
The newest version of make is 4.3 (as of Oct 25th, 2022), so you have to install the latest version.
- Q: Wow, OMNeT++ runs!!! Exciting! ...now what?
- A: See the basic installation notes if you haven't, which will show you how to add QuISP into OMNeT++, and run your first QuISP sims.
At the bottom of that you will find links to further build instructions, or you can skip straight to the running demos if you've already gotten QuISP installed.
- Q: Okay, I got the basic first QuISP demo running. What the heck are these .ini and .ned files, and how do I create my own?
- A: Yup... See, of course, the OMNeT++ documentation. There is a very brief description at the running demos doc.
- Q: There are a bunch of parameters in the .ini file that isn't described in the OMNeT++ documentation. What are they?
- A: Probably, you're looking at the quantum-specific parameters. At the moment, the best source of information on them is Takaaki Matsuo's master's thesis.
- Q: QuISP is fantastic, but I want Feature X, which doesn't seem to be included...?
- A: Time to start looking at the C++ code! OMNeT++ is very sophisticated and rich, i.e. complicated, so you'll have a bit of learning to do, but hopefully our existing code serves as a good guide to what you'll need. See also, of course, the OMNeT++ documentation. There are a lot of software design documents, which are potentially all suspect, as the code is evolving faster than the designs, and many elements of the desired design are still far from being implemented. But all of this should help you help yourself, and help us!
- Q: Can I change the generation of RuleSets without changing C++ code?
- A: At the moment, no.