Crates.io | scotch |
lib.rs | scotch |
version | 0.2.1 |
source | src |
created_at | 2021-07-02 11:36:11.175736 |
updated_at | 2023-06-09 14:02:27.354113 |
description | Idiomatic wrapper for Scotch, the graph partitioner, graph clusterer and sparse matrix orderer |
homepage | |
repository | https://github.com/LIHPC-Computational-Geometry/scotch-rs/tree/scotch-0.2.0 |
max_upload_size | |
id | 417776 |
size | 56,132 |
Idiomatic bindings to the Scotch partitioner.
Prerequisites:
Bindings to Scotch are made on the fly. If Scotch is installed in a non-standard location, please use the following commands:
export SCOTCHDIR=path/to/your/scotch/installation
export CPATH="$SCOTCHDIR/include"
export RUSTFLAGS="-L$SCOTCHDIR/lib"
The environment variable $SCOTCHDIR
must point to a directory containing a
lib/
and a include/
directory containing the shared libraries and the
headers of Scotch, respectively.
Once these variables are set, you can build the bindings with cargo build
.
If your Scotch installation lies in a non-standard path, you will need to set
the RUSTDOCFLAGS
environment variable to build the documentation:
export RUSTDOCFLAGS="-L$SCOTCHDIR/lib"
Then you can call cargo doc --no-deps --open
.
This program is distributed under the terms of both the MIT license and the
Apache License (Version 2.0). See LICENSE-APACHE
and LICENSE-MIT
for
details.
Scotch is licensed under the CeCILL-C
license, for which can find a copy here:
https://gitlab.inria.fr/scotch/scotch/-/raw/v6.1.0/doc/CeCILL-C_V1-en.txt