Surface Evolver Documentation

Some miscellaneous topics


Command line options

The syntax for starting the Evolver from the system command prompt is:

evolver [-ffilename] [-a-] [-d] [-e] [-i] [-m] [-pn] [-q] [-w] [-x] [datafile]

The current directory and EVOLVERPATH will be searched for datafile. If the datafile is not found, then a new search with extension .fe is done. If still not found, or the datafile is not given on the command line, then the user will be prompted. Options:

-a-
Do not enable automatic conversion to named methods and quantities mode when a situation requiring it arises.
-d
Prints YACC debugging trace as datafile is parsed. May be helpful if you can't figure out why your datafile doesn't get read in properly AND you know YACC.
-ffilename
Specifies the name of a file to be used as command input after the datafile is read. At the end of this file, input reverts to standard input. The effect is the same as redirecting input from the file, except that -f will echo commands to the screen and revert to standard input at the end. Also note that errors will cause input to revert to standard input.
-e
Echo input. Meant for echoing commands of piped input to screen so the user can follow what is going on in case Evolver is being controlled by another process.
-i
Keeps elements numbers as listed in the datafile, instead of renumbering them consecutively. Leaves no good way to compact or order element ids in list, so it is not default for now.
-m
Turn memory debugging on at start of program. Same effect as Evolver memdebug command.
-pn
Forces use of n processes for an Evolver compiled in multi-processor mode. n may be larger or smaller than the physically available number of processors. The default is 1.
-q
Convert everything to named quantities internally. There are a few things for which no quantities exist yet; they will produce error messages.
-w
Causes Evolver to exit whenever a warning occurs. Meant to be used when Evolver is run in a shell script.
-x
Causes Evolver to exit whenever an error occurs. Meant to be used when Evolver is run in a shell script, so that Evolver doesn't get hung up waiting for input in response to an error.


Bugs

Bug reports should be submitted by email to brakke@susqu.edu. Please include the Evolver version number, a description of the problem, the initial data file, and the sequence of commands necessary to reproduce the problem.

Evolver Newsletters

The group of Surface Evolver users has grown large enough that I have started a newsletter. Contents include announcement of new versions and latest features, bibliography, and anything else anybody would like to contribute. If you would like to be on the mailing list, send your email address to brakke@susqu.edu.

Back issues:


Error handling

When the Surface Evolver detects an error, it prints an error message and tries to take appropriate action. If the -x command line option was given when Evolver was started, then Evolver exits immediately with a nonzero error code. This is useful when running Evolver from shell scripts. There are several categories of errors:


Surface initialization

Whenever the Surface Evolver loads a new surface, either on startup or in response to the q or load commands, the following actions occur: