Updated the spectrum-mpi package to get the right compiler names when (#3381)

we use spectrum.
This commit is contained in:
Brian Van Essen 2017-03-09 06:11:59 -08:00 committed by Adam J. Stewart
parent 44b165461a
commit 21e913bac5

View file

@ -63,3 +63,8 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
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)