This repository has been archived by the owner. It is now read-only.
Toolkit dedicated to large power grid security analysis info@itesla-pst.org
Clone or download
nomont Merge pull request #225 from itesla/javadoc_zip_sftp
Zip javadocs and SFTP tranfer
Latest commit c220194 Oct 3, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
action Fix_#108 Remove binded dsl extension methods in script task (#220) Sep 25, 2017
afs AFS local storage refactoring Sep 20, 2017
cmake Fix SuiteSparse compilation Mar 8, 2017
commons Improve security-analysis results (#199) Aug 30, 2017
computation-local Replace DefaultExecutionHandler by AbstractExecutionHandler Sep 4, 2017
computation-mpi-util Rename iidm-network-xxx to iidm-xxx Feb 13, 2017
computation-mpi Replace DefaultExecutionHandler by AbstractExecutionHandler Sep 4, 2017
computation Add trailing spaces checkstyle rule (#192) Aug 28, 2017
config Rename logback-cmdline.xml to logback-itools.xml Nov 29, 2016
contingency-api Improve security-analysis results (#199) Aug 30, 2017
distribution-core Clean unused module dependency Oct 3, 2017
iidm Merge branch 'master' into no-import-post-processor Sep 2, 2017
jni-util fixes compilation issue on centOS6 Mar 16, 2017
loadflow-api Add a few Checkstyle formatting checks (#185) Aug 22, 2017
loadflow-validation Clean unused module dependency Oct 3, 2017
math-jni Use direct memory to store plain matrix Apr 27, 2017
math Add more checkstyle rules Aug 26, 2017
mpi-communication fixes compilation issue on centOS6 Mar 16, 2017
scripting Check style also in test files Aug 10, 2017
scripts Merge computation.local.tools into computation.local Jul 28, 2017
security-analysis Fix ipst compilation Aug 31, 2017
simulation-api Wrap JDK checked exceptions to unchecked ones (#191) Aug 28, 2017
thirdparty Fix SuiteSparse compilation Mar 8, 2017
tools Add trailing spaces checkstyle rule (#192) Aug 28, 2017
.gitattributes Line endings normalization Apr 8, 2016
.gitignore Move case-repository from ipst-core to ipst Oct 3, 2017
.travis.yml Zip javadocs and SFTP tranfer Sep 28, 2017
CMakeLists.txt Add matrix utilities Feb 20, 2017
Doxyfile.in First open source commit Apr 7, 2016
LICENSE.txt First open source commit Apr 7, 2016
README.md Configure AppVeyor for Windows CI Aug 29, 2017
appveyor.yml Configure AppVeyor for Windows CI Aug 29, 2017
checkstyle.xml Configure AppVeyor for Windows CI Aug 29, 2017
header.txt First open source commit Apr 7, 2016
id_rsa_gandi.enc Encrypted key for the publication of the javadoc Sep 20, 2017
install.sh Default value for Xmx in case variable java_xmx is not set Jun 25, 2017
pom.xml Move case-repository from ipst-core to ipst Oct 3, 2017

README.md

Build Status Build status Coverage Status Dependency Status MPL-2.0 License

iPST core

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

http://www.itesla-pst.org

Environment requirements

In order to build iPST you need:

  • JDK (1.8 or greater)
  • Maven
  • CMake (2.6 or greater)
  • Recent C++ compiler (GNU g++ or Clang)
  • OpenMPI (1.8.3 or greater)
  • Some development packages (zlib, bzip2)

OpenMPI (required)

In order to support the MPI modules, you need to compile and install the OpenMPI library.

$> wget http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.3.tar.bz2
$> tar xjf openmpi-1.8.3.tar.bz2
$> cd openmpi-1.8.3
$> ./configure --prefix=<INSTALL_DIR> --enable-mpi-thread-multiple
$> make install
$> export PATH=$PATH:<INSTALL_DIR>/bin

zlib (required)

In order to build Boost external package, you have to install zlib library.

$> yum install zlib-devel

bzip2 (required)

In order to build Boost external package, you have to install bzip library.

$> yum install bzip2-devel

Install

To easily compile iPST, you can use the toolchain:

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

By default, the toolchain will:

  • download and compile all external packages from the Internet
  • compile C++ and Java modules
  • install iPST

Targets

Target Description
clean Clean iPST modules
clean-thirdparty Clean the thirdparty libraries
compile Compile iPST modules
package Compile iPST modules and create a distributable package
install Compile iPST modules and install it
docs Generate the documentation (Doxygen/Javadoc)
help Display 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

Option Description Default value
--help Display this help
--prefix Set the installation directory $HOME/itesla
--package-type Set the package format. The supported formats are zip, tar, tar.gz and tar.bz2 zip

Third-parties

Option Description Default value
--with-thirdparty Enable the compilation of thirdparty libraries
--without-thirdparty Disable the compilation of thirdparty libraries
--thirdparty-prefix Set the thirdparty installation directory $HOME/itesla_thirdparty
--thirdparty-download Sets false to compile thirdparty libraries from a local repository true
--thirdparty-packs Sets the thirdparty libraries local repository $HOME/itesla_packs

Default configuration file

ipst_prefix=$HOME/itesla
ipst_package_type=zip

#  -- 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/