Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
osc-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mpcdf
obs
osc-plugins
Commits
a390e62c
Commit
a390e62c
authored
May 27, 2020
by
Lorenz Hüdepohl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
mpcdf_common.py
mpcdf_common.py
+9
-0
No files found.
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