diff --git a/mpcdf_common.py b/mpcdf_common.py
index ec670459fceff4407e796eaa2bb16e1b3618d5f2..f1ed96f81a96a1026754426dd3c671fbb4fcc61a 100644
--- a/mpcdf_common.py
+++ b/mpcdf_common.py
@@ -128,7 +128,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False):
                     if valid_cuda(cuda, compiler):
                         for mpi in mpis:
                             if valid_mpi(compiler, mpi):
-                                enable(cuda + "_" + compiler)
+                                enable(cuda + "_" + mpi + "_" + compiler)
 
     if len(build.getchildren()) > 0:
         build.getchildren()[-1].tail = "\n  "