powsybl-math-native
November 17, 2023 ยท View on GitHub
This project is the C++ implementation of powsybl-math SparseMatrix class, relying on SuiteSparse project.
Requirements
To build powsybl-math-native, you need the following dependencies:
- CMake
- C++ compiler (gcc, clang or Visual Studio)
- Java (11 or later)
Compilation
Linux or MacOS
To build powsybl-math-native, run the following commands:
$> git clone https://github.com/powsybl/powsybl-math-native.git
$> cd powsybl-math-native
$> mkdir build
$> cd build
$> cmake ..
$> make
$> cd ..
$> mvn install
Windows
To build powsybl-math-native, run the following commands:
$> git clone https://github.com/powsybl/powsybl-math-native.git
$> cd powsybl-math-native
$> mkdir build
$> cd build
$> cmake .. -G "NMake Makefiles"
$> nmake
$> cd ..
$> mvn install