Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

itesla/ipst-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/