Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
09b9e3c6
Commit
09b9e3c6
authored
Dec 18, 2016
by
Pietro Incardona
Browse files
Fixing installation of PETSC on osx
parent
2ad9dce2
Changes
1
Hide whitespace changes
Inline
Side-by-side
script/install_PETSC.sh
View file @
09b9e3c6
...
...
@@ -239,7 +239,7 @@ if [ ! -d "$1/SUPERLU_DIST" ]; then
$sed_command
-i
"/CC
\s\+
=
\s
cc/c
\C
C = mpicc"
make.inc
$sed_command
-i
"/FORTRAN
\s\+
=
\s
ftn/c
\F
ORTRAN = 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
\C
FLAGS =-fpic -O3 -m64 -std=c99 -Wall
\$
(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0"
make.inc
else
$sed_command
-i
"/CFLAGS
\s\+
=
\s
-fast
\s
-m64
\s
-std=c99
\s
-Wall
\s
-openmp
\s\\\/
c
\C
FLAGS =-fpic -O3 -m64 -std=c99 -Wall -fopenmp
\$
(I_PARMETIS) -DDEBUGlevel=0 -DPRNTlevel=0 -DPROFlevel=0"
make.inc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment