russell_sparse 2.0.0

Solvers for large sparse linear systems (wraps MUMPS and UMFPACK)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

INTEL_MKL=${1:-""}
LOCAL_SPARSE=${2:-""}

FEATURES=""
if [ "$INTEL_MKL" = "1" ]; then
    FEATURES="${FEATURES},intel_mkl"
fi
if [ "$LOCAL_SPARSE" = "1" ]; then
    FEATURES="${FEATURES},local_sparse"
fi

for example in examples/*.rs; do
    filename="$(basename "$example")"
    filekey="${filename%%.*}"
    cargo run --features "$FEATURES" --example $filekey
done