Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
ThirdParty-common
Commits
ec80e1df
Commit
ec80e1df
authored
Jul 12, 2017
by
Mark OLESEN
Browse files
COMP: improve consistency for Intel-MPI and non-icc compilers (issue #524)
parent
092d71c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
ec80e1df
...
...
@@ -145,6 +145,9 @@ then
export
CCS
=
"
${
CC
:-
$WM_CC
}
"
# CCS (serial compiler) default=$(CC)
export
CCP
=
$(
whichMpicc
)
# CCP (parallel compiler) default=mpicc
# Consistency for Intel-MPI and non-icc compilers
[
-n
"
$I_MPI_CC
"
]
||
export
I_MPI_CC
=
"
${
CC
:-
$WM_CC
}
"
make realclean 2>/dev/null
# Extra safety
make
-j
$WM_NCOMPPROCS
scotch
\
&&
make
\
...
...
@@ -209,6 +212,9 @@ then
export
CCS
=
"
${
CC
:-
$WM_CC
}
"
# CCS (serial compiler) default=$(CC)
export
CCP
=
$(
whichMpicc
)
# CCP (parallel compiler) default=mpicc
# Consistency for Intel-MPI and non-icc compilers
[
-n
"
$I_MPI_CC
"
]
||
export
I_MPI_CC
=
"
${
CC
:-
$WM_CC
}
"
make realclean 2>/dev/null
# Extra safety
make
-j
$WM_NCOMPPROCS
ptscotch
\
&&
make
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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