Skip to content
Snippets Groups Projects
Commit 662c3384 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Name change of CUDA repos

parent cdadd468
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,10 @@ def valid_mpi(compiler, mpi): ...@@ -15,7 +15,10 @@ def valid_mpi(compiler, mpi):
""" """
It might be possible to use Intel MPI libararies and compilers from It might be possible to use Intel MPI libararies and compilers from
different Parallel Studio packages, but I currently do not want to support different Parallel Studio packages, but I currently do not want to support
it it.
Take care to keep this in sync with the file 'macros.obs_cluster' of
the package software:dist / mpcdf_cluster_macros
""" """
if compiler == "intel_18_0": if compiler == "intel_18_0":
if mpi.startswith("impi"): if mpi.startswith("impi"):
...@@ -33,11 +36,14 @@ def valid_cuda(cuda, compiler): ...@@ -33,11 +36,14 @@ def valid_cuda(cuda, compiler):
""" """
The CUDA distribution only works with certain gcc versions, The CUDA distribution only works with certain gcc versions,
this little function takes care that only supported combinations this little function takes care that only supported combinations
are allowed are allowed.
Take care to keep this in sync with the file 'macros.obs_cluster' of
the package software:dist / mpcdf_cluster_macros
""" """
if cuda == "cuda_8": if cuda == "cuda_8_0":
return compiler == "gcc_5" return compiler == "gcc_5"
if cuda == "cuda_9": if cuda == "cuda_9_1":
return compiler == "gcc_6" return compiler == "gcc_6"
return False return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment