diff --git a/mpcdf_common.py b/mpcdf_common.py
index 06b265bd52c9bdb0a09641eb64210c4b35ca0cae..9d49b327ad27c08769526dbe82c1bb617dad8fe1 100644
--- a/mpcdf_common.py
+++ b/mpcdf_common.py
@@ -45,7 +45,7 @@ def valid_cuda(cuda, compiler):
     if cuda == "cuda_8_0":
         return compiler == "gcc_5"
     if cuda == "cuda_9_1":
-        return compiler == "gcc_6"
+        return compiler == "gcc_6_3_0"
     return False