Command line options¶
--helpto display available command line options
--versionto display information about the current spirit version
--quietto run quietly
--cfgto set an inputfile
--imageto read in an initial spin configuration file
--chainto in an initial spin configuration chain file
Note: When reading an initial image (or chain), the number of spins (per image) should match the number of spins specified in the input file.
Note: When both parameters
-c <file> and
-i <file> are used, only the chain is read while
-i <file> is ignored.
If you pass
quiet=true (C) or
when creating the state, or use the
line option, spirit will write out some initial
information, but after that only errors, if any occur.
Stopping a running process by interrupting¶
If you are running spirit within a terminal and press
ctrl+c once, currently running simulations will be
stopped. If you press it again within 2 seconds, spirit
will shut down without further output.
Stopping a running process without interrupting¶
Place a file called
STOP into the working directory,
i.e. where the spirit state was created. Spirit will
finish any currently running iteration, write out any
output as if it was the final iteration, and shut down.