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
590b847d
Commit
590b847d
authored
Jan 16, 2019
by
Lorenz Huedepohl
Browse files
Fix mistake introduced with PGI compiler support
parent
5c341da6
Pipeline
#67035
passed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
590b847d
...
...
@@ -220,7 +220,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
print
(
"Enabling"
,
name
)
def
actual_compilers
():
for
compiler
in
(
c
for
c
in
compilers
if
c
in
all_compilers
):
for
compiler
in
(
c
for
c
in
compilers
if
c
in
all_compilers
+
[
"default_compiler"
,
"intel"
,
"gcc"
]
):
if
compiler
==
"intel"
:
for
intel_compiler
in
filter
(
lambda
cc
:
cc
.
startswith
(
"intel"
),
all_compilers
):
yield
intel_compiler
...
...
@@ -234,7 +234,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
yield
compiler
def
actual_mpis
():
for
mpi
in
(
m
for
m
in
mpis
if
m
in
all_mpis
):
for
mpi
in
(
m
for
m
in
mpis
if
m
in
all_mpis
+
[
"default_mpi"
,
"impi"
]
):
if
mpi
==
"impi"
:
for
impi
in
filter
(
lambda
cc
:
cc
.
startswith
(
"impi"
),
mpis
):
yield
impi
...
...
@@ -245,7 +245,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
yield
mpi
def
actual_cudas
():
for
cuda
in
(
c
for
c
in
cudas
if
c
in
all_cudas
):
for
cuda
in
(
c
for
c
in
cudas
if
c
in
all_cudas
+
[
"default_cuda"
]
):
if
cuda
==
"default_cuda"
:
for
default_cuda
in
default_cudas
:
yield
default_cuda
...
...
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