Skip to content
Snippets Groups Projects
Commit ca508431 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing PETSC with GCC

parent 5c09da16
No related branches found
No related tags found
No related merge requests found
Pipeline #2314 passed
......@@ -378,7 +378,7 @@ else
echo "Error the installation of VCDEVEL failed"
exit 1
fi
./script/install_VCDEVEL.sh $i_dir $ncore
./script/install_VCDEVEL.sh $i_dir $ncore $CC $CXX
configure_options=" $configure_options --with-vcdevel=$i_dir/VCDEVEL "
VCDEVEL_installed=1
elif [ $conf_err -ne 0 ]; then
......
......@@ -175,7 +175,7 @@ else
[ -x "$(command -v $1)" ]
}
$python_command ./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc --with-cxx-dialect=C++11 $petsc_openmp --with-mpi-dir=$mpi_dir $configure_options --prefix=$1/PETSC --with-debugging=0
$python_command ./configure COPTFLAGS="-O3 -g" CXXOPTFLAGS="-O3 -g" FOPTFLAGS="-O3 -g" $ldflags_petsc CC=$3 CXX=$4 --with-cxx-dialect=C++11 $petsc_openmp --with-mpi-dir=$mpi_dir $configure_options --prefix=$1/PETSC --with-debugging=0
fi
......
......@@ -13,7 +13,7 @@ tar -xf Vc-1.4.1.tar.gz
cd Vc-1.4.1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=$1/VCDEVEL ..
cmake -DCMAKE_INSTALL_PREFIX:PATH=$1/VCDEVEL -DCMAKE_C_COMPILER=$3 -DCMAKE_CXX_COMPILER=$4 ..
make
make install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment