Commit 6e3b4f17 authored by incardon's avatar incardon
Browse files

Fixing detection of SUITESPARSE

parent 51fb0d1f
......@@ -14,7 +14,7 @@ function conf_PETSC()
lin_alg_inc="$lin_alg_inc -I$i_dir/OPENBLAS/include"
configure_blas_option="--with-blas=$i_dir/OPENBLAS/"
fi
if [ -d "$1/SUITESPARSE" -a -f "$1/SUITESPARSE/include/umfpack.h" ]; then
if [ -d "$i_dir/SUITESPARSE" -a -f "$i_dir/SUITESPARSE/include/umfpack.h" ]; then
lin_alg_dir="$lin_alg_dir -L$i_dir/SUITESPARSE/lib"
lin_alg_inc="$lin_alg_inc -I$i_dir/SUITESPARSE/include"
lin_alg_lib="$lin_alg_lib -lumfpack -lamd -lbtf -lcamd -lccolamd -lcholmod -lcolamd -lcxsparse -lklu -ldl -lrbio -lspqr -lsuitesparseconfig"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment