Skip to content
GitLab
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
be5fb0eb
Commit
be5fb0eb
authored
Apr 08, 2021
by
Lorenz Hüdepohl
Browse files
Only openmpi is aware of CUDA
parent
e09521eb
Pipeline
#97867
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mpcdf_common.py
View file @
be5fb0eb
...
...
@@ -576,7 +576,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, dry_run=
if
flag
==
"cuda_aware_mpi"
:
for
cuda
,
mpi
,
compiler
in
product
(
actual_cudas
(),
actual_mpis
(),
all_compilers
):
if
valid_cuda
(
cuda
,
compiler
)
and
valid_mpi
(
compiler
,
mpi
):
if
"openmpi"
in
mpi
and
valid_cuda
(
cuda
,
compiler
)
and
valid_mpi
(
compiler
,
mpi
):
enable
(
cuda
+
"_aware_"
+
mpi
+
"_"
+
compiler
)
if
len
(
build
.
getchildren
())
>
0
:
...
...
@@ -811,9 +811,10 @@ Macros:
(
project
,
mpi
+
"_"
+
compiler
)),
cuda_mpi
=
True
)
repo
(
cuda
+
"_aware_"
+
mpi
+
"_"
+
compiler
,
((
project
,
cuda
+
"_"
+
mpi
+
"_"
+
compiler
),),
cuda_aware_mpi
=
True
)
if
"openmpi"
in
mpi
:
repo
(
cuda
+
"_aware_"
+
mpi
+
"_"
+
compiler
,
((
project
,
cuda
+
"_"
+
mpi
+
"_"
+
compiler
),),
cuda_aware_mpi
=
True
)
if
old_repos
and
not
remove_old
:
print
(
"Warning: Keeping the prjconf sections for the following obsolete repositories:"
)
...
...
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