Sparsekit
Sparsekit is a legacy fortran code written by the great Yusef Saad for peforming linear algebra with sparse matrices. The original code is located here. π π‘
EASIFEM uses the forked library which is located at the gitHub.
Buildβ
CMakeβ
Following options are defined:
Option | Value | Default |
---|---|---|
-DCMAKE_BUILD_TYPE= | Release or Debug for release or debug build-type | Release |
BUILD_SHARED_LIBS= | ON or OFF to build shared or static library | ON |
-DCMAKE_INSTALL_PREFIX= | The location of the installation directory | ${EASIFEM_EXTPKGS} |
git clone https://github.com/vickysharma0812/Sparsekit.git
cd Sparsekit
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=${EASIFEM_EXTPKGS} -S ./ -B ./build
cmake --build ./build --target install
Pythonβ
You can install Sparsekit by using Python. It is simple, interactive, and straight-forward.
git clone https://github.com/vickysharma0812/Sparsekit.git
cd Sparsekit
python3 install.py
Toml configuration for easifemβ
name = "sparsekit"
isExtPkg = true
isActive = true
buildSystem = "cmake"
git = "github.com/easifem/sparsekit"
buildType = "Release" # "Debug", "Both"
buildSharedLibs = true
buildStaticLibs = true
libName = "Sparsekit"
runtest = true
license = "GPL3"