diff options
author | Brian Van Essen <vanessen1@llnl.gov> | 2017-03-09 06:11:59 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-03-09 08:11:59 -0600 |
commit | 21e913bac531a674c7f4c574d09aceb8e7b212cf (patch) | |
tree | bef75240c9f2f546c3c2df0a13268de261f70cc2 | |
parent | 44b165461a1c3c069e9115f4ae1141926807f014 (diff) | |
download | spack-21e913bac531a674c7f4c574d09aceb8e7b212cf.tar.gz spack-21e913bac531a674c7f4c574d09aceb8e7b212cf.tar.bz2 spack-21e913bac531a674c7f4c574d09aceb8e7b212cf.tar.xz spack-21e913bac531a674c7f4c574d09aceb8e7b212cf.zip |
Updated the spectrum-mpi package to get the right compiler names when (#3381)
we use spectrum.
-rw-r--r-- | var/spack/repos/builtin/packages/spectrum-mpi/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/spectrum-mpi/package.py b/var/spack/repos/builtin/packages/spectrum-mpi/package.py index 58af1acc84..d743f4874a 100644 --- a/var/spack/repos/builtin/packages/spectrum-mpi/package.py +++ b/var/spack/repos/builtin/packages/spectrum-mpi/package.py @@ -63,3 +63,8 @@ class SpectrumMpi(Package): spack_env.set('MPICXX', join_path(self.prefix.bin, 'mpic++')) spack_env.set('MPIF77', join_path(self.prefix.bin, 'mpif77')) spack_env.set('MPIF90', join_path(self.prefix.bin, 'mpif90')) + + spack_env.set('OMPI_CC', spack_cc) + spack_env.set('OMPI_CXX', spack_cxx) + spack_env.set('OMPI_FC', spack_fc) + spack_env.set('OMPI_F77', spack_f77) |