diff --git a/script/install_PETSC.sh b/script/install_PETSC.sh index fcae9acd0220c00a8331ee6c2f676bdc276bfbe6..370638937f2ae3b9fb94e44a30451a181f066f65 100755 --- a/script/install_PETSC.sh +++ b/script/install_PETSC.sh @@ -99,7 +99,7 @@ else fi if [ ! -d "$1/SUITESPARSE" ]; then - ./script/install_SUITESPARSE.sh $1 $2 + CXX="$CXX" CC="$CC" FC="$FC" F77="$F77" ./script/install_SUITESPARSE.sh $1 $2 if [ $? -eq 0 ]; then configure_options="$configure_options --with-suitesparse=yes --with-suitesparse-dir=$1/SUITESPARSE " fi