Home

Awesome

Build Status Coverage Status MPL-2.0 License

iTESLA

http://www.itesla-project.eu/

http://www.itesla-pst.org

Environment requirements

In order to build iPST you need:

Optional C++ modules requires:

Intel Fortran Compiler

To compile Eurostag dependant modules, you have to set your INTEL_HOME environment variable to the root of the Intel Fortran Compiler installation.

Install

To easily compile iPST, you can use the toolchain:

$> git clone https://github.com/itesla/ipst.git
$> ./install.sh

By default, the toolchain will:

Targets

TargetDescription
cleanClean iPST modules
clean-thirdpartyClean the thirdparty libraries
compileCompile iPST modules
packageCompile iPST modules and create a distributable package
installCompile iPST modules and install it
docsGenerate the documentation (Doxygen/Javadoc)
helpDisplay this help

Options

The toolchain options are saved in the install.cfg configuration file. This configuration file is loaded and updated each time you use the toolchain.

iPST

OptionDescriptionDefault value
--helpDisplay this help
--prefixSet the installation directory$HOME/itesla
--package-typeSet the package format. The supported formats are zip, tar, tar.gz and tar.bz2zip

C++ modules

OptionDescriptionDefault value
--with-dymolaEnable the compilation of Dymola dependant modules$DYMOLA_HOME
--without-dymolaDisable the compilation of Dymola dependant modules
--with-eurostagEnable the compilation of Eurostag dependant modules$EUROSTAG_SDK_HOME
--without-eurostagDisable the compilation of Eurostag dependant modules
--with-matlabEnable the compilation of Matlab dependant modules$MATLAB_HOME
--without-matlabDisable the compilation of Matlab dependant modules

Third-parties

OptionDescriptionDefault value
--with-thirdpartyEnable the compilation of thirdparty libraries
--without-thirdpartyDisable the compilation of thirdparty libraries
--thirdparty-prefixSet the thirdparty installation directory$HOME/itesla_thirdparty
--thirdparty-downloadSets false to compile thirdparty libraries from a local repositorytrue
--thirdparty-packsSets the thirdparty libraries local repository$HOME/itesla_packs

Default configuration file

ipst_prefix=$HOME/itesla
ipst_package_type=zip

#  -- iPST C++ modules options --
eurostag_build=false
eurostag_home=$EUROSTAG_SDK_HOME
dymola_build=false
dymola_home=$DYMOLA_HOME
matlab_build=false
matlab_home=$MATLAB_HOME

#  -- iPST thirdparty libraries --
thirdparty_build=true
thirdparty_prefix=$HOME/itesla_thirdparty
thirdparty_download=true
thirdparty_packs=$HOME/itesla_packs

License

https://www.mozilla.org/en-US/MPL/2.0/