OOF2: The Manual
At this point, you should have an executable file named
“oof2” in a bin directory in your execution path.
You can now simply type oof2 at your
shell prompt, and OOF2 will start up. (Macintosh OS X users
will have to start X11 before
starting OOF2. Then OOF2 can be started in an
xterm window, or in a
Terminal window if the
DISPLAY environment variable has been set
correctly, probably to :0.0.)
OOF2 has many command line options, shown in Table 1.2. Options may be typed after
oof2 when starting the program. The
options may be abbreviated, as long as the abbreviation is
unique. The double dashes before each option are required. An
equals sign between options and their arguments is optional.
Table 1.2. OOF2 Command Line Options
| Option | Argument | Description |
|---|---|---|
|
filename |
|
|
filename |
Load an |
|
|
filename |
|
|
module name |
Load a Python extension module. |
|
Turn off graphics mode. |
|
|
|
Display valid options, then quit. |
|
|
|
Display version number, then quit. |
|
|
|
gtk options |
Extra options for graphics mode, passed to the gtk+ library. |
|
integer |
Seed for the random number generator. |
|
|
Quit quietly when done, without confirmation. |
|
|
|
Quit immediately after running scripts (implies
|
|
|
Turn on debugging mode (increased verbosity, and seed=17). |
|
|
Don't use multiple execution threads.[c] |
|
|
[a] This option may be present more than once. Files will be loaded in the order in which they are listed. [c]
Threading allows multiple tasks to be performed
simultaneously. Using
|
||
All actions in OOF2 are expressed in terms of menu
commands, which are enumerated explicitly in The Main OOF Menu. If you want to run a set of
commands automatically each time OOF2 starts, you can place
them in a file called .oof2rc in your
home directory. Good commands to put in this file are those
that control graphics
window defaults, or the GUI theme and fonts.
If something goes wrong while you're running OOF2, you'll be told about it and given the choice of continuing, or aborting the program. In GUI mode, a dialog box like the one shown in Figure 1.1 will appear. If the error is yours (e.g, a data file is missing, or you specified incompatible boundary conditions) then it's safe to click and continue. If the problem is ours, and is due to a bug in OOF2, you may want to click to quit the program. Please file a bug report!
If you abort OOF2 from the error dialog, or if something
goes seriously wrong and it aborts itself, a log file will be
saved automatically. The location of this file is operating
system dependent, but it will always be in the default
directory for temporary files on your system.
/tmp is a good place to start
looking. The file will be named
oof2-XXXXX.py or
XXXXX-oof2.py, where
XXXXX is a random string of characters
that guarantees that the filename is unique. If you report a
bug, please include the log file.
/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */





