From 1cd4b134cb4d3fb5c0cb332adaa83f491f9f050f Mon Sep 17 00:00:00 2001 From: Josh Essman <68349992+joshessman-llnl@users.noreply.github.com> Date: Wed, 6 Jan 2021 03:34:42 -0600 Subject: [PATCH] mfem: link to nveccuda when +sundials+cuda (#20588) --- var/spack/repos/builtin/packages/mfem/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py index 410b265ca3..8fbd6c73cf 100644 --- a/var/spack/repos/builtin/packages/mfem/package.py +++ b/var/spack/repos/builtin/packages/mfem/package.py @@ -723,6 +723,8 @@ def sundials_components(self): sun_comps += ',nvecparallel,nvecmpiplusx' else: sun_comps += ',nvecparhyp,nvecparallel' + if '+cuda' in self.spec: + sun_comps += ',nveccuda' return sun_comps @property