To install, download the SPSens compressed file .tgz and unzip from the command line:
tar -zxvf SPSens\<VersionName>.tgz
Once it's unpacked, individual problems will be made by changing to the unzipped directory and using the make system.
The makefile can be modified to suit your specific needs, but it can be used "as is" to build the essential programs that are needed.
Assuming that the problem is properly defined and saved as prob_\<probname>.c in the examples/ directory, all that is needed to build the executables is the following:
make \< target > PROB_NAME=*<probname>*
Here \< target > is one (or more) of the following:
If the problem file, prob_\<probname>.c, is saved in a directory besides examples, make can still be used by redefining the macro PROB_SRC. For example, if the problem is located in /home/username/path_to_problem, then one need only add the command
PROB_SRC=/home/username/path/prob_\<probname>.c
By default, make will build the executables in the directory. This can be changed by specifying
OUT_DIR=path_where_executable_will_be_built