Install SIPPI¶
The latest stable version of SIPPI can be downloaded from http://sippi.sourceforge.net as SIPPI.zip. This version includes
—
Unpack ZIPPI.zip somewhere, for example to c:\Users\tmh\SIPPI
. Then
setup the Matlab path to point to the appropriate SIPPI directories by
typing:
addpath c:\Users\tmh\SIPPI
sippi_set_path
For use on OS X, Xcode with gcc libraries but be available to run some
of the compiled programs. In addition, the DYLD_LIBRARY_PATH
must be
set to point to the shared libraries neeeded by the compiled programs
for OSX. In MATLAB this can be set using:
setenv('DYLD_LIBRARY_PATH', '/usr/local/bin');
On OSX (and Linux versions that are binary incompatible with Ubuntu
16.10) it may be needed to recompile MPSlib
using:
cd SIPPI/toolboxes/mpslib
./configure
make all
Install SIPPI manually from github¶
The current development version of SIPPI (less stable and documented) is hosted on github and can be downloaded (including MGSTAT, SNESIM, VISIM and MPS) using git:
cd INSTALL_DIR
git clone --recursive https://github.com/cultpenguin/sippi.git SIPPI
To update this installation (using mGstat and MSPLIB as submodules) use
git pull --recurse-submodules
Then add a path to SIPPI in Matlab using
addpath INSTALL_DIR/SIPPI
sippi_set_path
To download SIPPI, mGstat and MPSlib seperately use:
cd INSTALL_DIR
git clone https://github.com/cultpenguin/sippi.git SIPPI
git clone https://github.com/cultpenguin/mgstat.git mGstat
git clone https://github.com/ergosimulation/mpslib.git MPSlib
Then add a path to both SIPPI, mGstat and MPS/matlab using
addpath INSTALL_DIR/mGstat
addpath INSTALL_DIR/SIPPI
addpath INSTALL_DIR/MPSlib/matlab
sippi_set_path
Manual compilation¶
These programs are needed to make use of the MPS, VISIM and SNESIM type a priori models (and can hence be ignored if not used).
Compiling VISIM¶
The source code for VISIM is located in mGstat/visim/visim_src
. The
compiled program should be placed in mGstat/bin
and called
visim
.
VISIM use pre-allocation of memory (set before compilation). This is
defined in visim.inc
. If this file is changed, VISIM must be
recomiled.