From 5d0f0914b8d32ea9176a6c2d8cd94e0e798476a9 Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Tue, 11 Oct 2022 14:03:39 -0500 Subject: [PATCH] Omega-H: Current constraint doesn't allow any cuda (#33164) From the issue referenced, it seems later and earlier versions of cuda work. --- var/spack/repos/builtin/packages/omega-h/package.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/omega-h/package.py b/var/spack/repos/builtin/packages/omega-h/package.py index f4ea6df2f87..c9660995a4b 100644 --- a/var/spack/repos/builtin/packages/omega-h/package.py +++ b/var/spack/repos/builtin/packages/omega-h/package.py @@ -54,16 +54,16 @@ class OmegaH(CMakePackage, CudaPackage): # Note: '+cuda' and 'cuda_arch' variants are added by the CudaPackage depends_on("cuda", when="+cuda") conflicts( - "cuda@11.2:", + "cuda@11.2", when="@scorec.10.1.0:", - msg="Thrust is broken in CUDA >= 11.2.* see https://github.com/sandialabs/omega_h/issues/366", + msg="Thrust is broken in CUDA = 11.2.* see https://github.com/sandialabs/omega_h/issues/366", ) # the sandia repo has a fix for cuda > 11.2 support # see github.com/sandialabs/omega_h/pull/373 conflicts( - "cuda@11.2:", + "cuda@11.2", when="@:9.34.4", - msg="Thrust is broken in CUDA >= 11.2.* see https://github.com/sandialabs/omega_h/issues/366", + msg="Thrust is broken in CUDA = 11.2.* see https://github.com/sandialabs/omega_h/issues/366", ) # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86610