diff options
author | Jon Rood <jon.rood@nrel.gov> | 2021-10-29 14:05:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 14:05:10 -0600 |
commit | 91408ef6ad555419ea5cee7b554a3f3c65d6fd27 (patch) | |
tree | ccd8b3246a30efbb6fdd38416b7364e6fb616c4a /var | |
parent | 749640faf9c643c0464153439549f7295dfbbd63 (diff) | |
download | spack-91408ef6ad555419ea5cee7b554a3f3c65d6fd27.tar.gz spack-91408ef6ad555419ea5cee7b554a3f3c65d6fd27.tar.bz2 spack-91408ef6ad555419ea5cee7b554a3f3c65d6fd27.tar.xz spack-91408ef6ad555419ea5cee7b554a3f3c65d6fd27.zip |
trilinos: add MPICH and HPE MPT MPI environment variables (#27070)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/trilinos/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index 17f02aca77..6f1431cc0f 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -394,6 +394,8 @@ class Trilinos(CMakePackage, CudaPackage): if '+cuda' in spec and '+wrapper' in spec: if '+mpi' in spec: env.set('OMPI_CXX', spec["kokkos-nvcc-wrapper"].kokkos_cxx) + env.set('MPICH_CXX', spec["kokkos-nvcc-wrapper"].kokkos_cxx) + env.set('MPICXX_CXX', spec["kokkos-nvcc-wrapper"].kokkos_cxx) else: env.set('CXX', spec["kokkos-nvcc-wrapper"].kokkos_cxx) |