From 1357443e20d3560263dcbf1381f36a36b7756473 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Tue, 13 Dec 2016 18:02:37 +0100 Subject: [PATCH] Fixing installation with intel compiler --- script/install_PETSC.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/install_PETSC.sh b/script/install_PETSC.sh index 0d59bf1f..30e7ea0e 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 -- GitLab