diff --git a/script/install_PETSC.sh b/script/install_PETSC.sh index 0d59bf1fa53758b3e505258f9fcd9e9db1cb3959..30e7ea0e8233b077cf0cf57acfb82c426f34b4f6 100755 --- a/script/install_PETSC.sh +++ b/script/install_PETSC.sh @@ -283,7 +283,7 @@ if [ ! -d "$1/HYPRE" ]; then cd src - ./configure CFLAGS=-fpic $configure_options_hypre --prefix=$1/HYPRE + ./configure CC=mpicc CXX=mpic++ CFLAGS=-fpic $configure_options_hypre --prefix=$1/HYPRE make -j $2 if [ $? -eq 0 ]; then