Commit 09b9e3c6 authored by incardon's avatar incardon
Browse files

Fixing installation of PETSC on osx

parent 2ad9dce2
...@@ -239,7 +239,7 @@ if [ ! -d "$1/SUPERLU_DIST" ]; then ...@@ -239,7 +239,7 @@ if [ ! -d "$1/SUPERLU_DIST" ]; then
$sed_command -i "/CC\s\+=\scc/c\CC = mpicc" make.inc $sed_command -i "/CC\s\+=\scc/c\CC = mpicc" make.inc
$sed_command -i "/FORTRAN\s\+=\sftn/c\FORTRAN = mpif90" make.inc $sed_command -i "/FORTRAN\s\+=\sftn/c\FORTRAN = mpif90" make.inc
if [ x"$dgc_compiler" == x"clang++" ]; then if [ x"$CXX" == x"clang++" ]; then
$sed_command -i "/CFLAGS\s\+=\s-fast\s-m64\s-std=c99\s-Wall\s-openmp\s\\\/c\CFLAGS =-fpic -O3 -m64 -std=c99 -Wall \$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0" make.inc $sed_command -i "/CFLAGS\s\+=\s-fast\s-m64\s-std=c99\s-Wall\s-openmp\s\\\/c\CFLAGS =-fpic -O3 -m64 -std=c99 -Wall \$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0" make.inc
else else
$sed_command -i "/CFLAGS\s\+=\s-fast\s-m64\s-std=c99\s-Wall\s-openmp\s\\\/c\CFLAGS =-fpic -O3 -m64 -std=c99 -Wall -fopenmp \$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0" make.inc $sed_command -i "/CFLAGS\s\+=\s-fast\s-m64\s-std=c99\s-Wall\s-openmp\s\\\/c\CFLAGS =-fpic -O3 -m64 -std=c99 -Wall -fopenmp \$(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0" make.inc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment