Commit be5fb0eb authored by Lorenz Hüdepohl's avatar Lorenz Hüdepohl
Browse files

Only openmpi is aware of CUDA

parent e09521eb
Pipeline #97867 passed with stage
in 9 seconds
......@@ -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:")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment