Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcdf
obs
osc-plugins
Commits
a390e62c
Commit
a390e62c
authored
May 27, 2020
by
Lorenz Hüdepohl
Browse files
Complicated logic for reduced gcc_10 combinations
parent
483409b4
Pipeline
#75597
passed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
a390e62c
...
...
@@ -200,6 +200,15 @@ def valid_mpi(compiler, mpi):
return
mpi
==
compiler_parallel_studio
[
compiler
][
"impi"
]
if
compiler
.
startswith
(
"pgi"
):
return
valid_pgi_mpi
(
compiler
,
mpi
)
if
compiler
.
startswith
(
"gcc"
)
and
mpi
.
startswith
(
"impi"
):
gcc_version
=
int
(
compiler
[
len
(
"gcc_"
):])
impi_major_version
,
impi_minor_version
=
map
(
int
,
mpi
[
len
(
"impi_"
):].
split
(
"_"
))
if
gcc_version
>=
10
:
# gcc_10 only with modern Intel MPI
return
impi_major_version
>
2019
or
\
(
impi_major_version
==
2019
and
impi_minor_version
>=
7
)
else
:
return
True
else
:
return
True
...
...
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