This section provides information on how to implement the SPARK driver function. The code snippets are inspired from the default driver function implemented in the file sparksolver.cpp that comes with the SPARK distribution (See examples section). The default driver solves a single SPARK problem with the preference settings specified in the preference file (*.prf), and for the run control parameters specified in the run controls file (*.run).
See Description of the SPARK Build Process for more details on how to build a SPARK simulator.