diff --git a/openfpm_numerics b/openfpm_numerics index 3f2f657b142d220689c134e7b005473b8edfd9cf..080e76bf8659c08438eec04041450045cb044c2a 160000 --- a/openfpm_numerics +++ b/openfpm_numerics @@ -1 +1 @@ -Subproject commit 3f2f657b142d220689c134e7b005473b8edfd9cf +Subproject commit 080e76bf8659c08438eec04041450045cb044c2a diff --git a/script/install_EIGEN.sh b/script/install_EIGEN.sh index 0b67506eb63dfaef74378d8cbd95c05c75b436e0..75d19c93ded843bd0dc13ad43851de74e0eba338 100755 --- a/script/install_EIGEN.sh +++ b/script/install_EIGEN.sh @@ -13,7 +13,7 @@ if [ ! -d "$1/OPENBLAS" ]; then fi CXX="$CXX" CC="$CC" FC="$FC" F77="$F77" ./script/install_SUITESPARSE.sh $1 $2 -if [ ! -d "$1/SUITESPARSE" ]; then +if [ ! -d "$1/SUITESPARSE" -o ! -f "$1/SUITESPARSE/include/umfpack.h" ]; then exit 1 fi diff --git a/script/install_SUITESPARSE.sh b/script/install_SUITESPARSE.sh index f3f3c7983ccf9ed9d57281052a217fddf9da2b96..4d36f9cb78dea2509db336a57e9135a446677f3d 100755 --- a/script/install_SUITESPARSE.sh +++ b/script/install_SUITESPARSE.sh @@ -7,7 +7,7 @@ discover_os # check if the directory $1/SUITESPARSE exist -if [ -d "$1/SUITESPARSE" ]; then +if [ -d "$1/SUITESPARSE" -a -f "$1/SUITESPARSE/include/umfpack.h" ]; then echo "SUITESPARSE is already installed" exit 0 fi