Updated the spectrum-mpi package to get the right compiler names when (#3381)
we use spectrum.
This commit is contained in:
parent
44b165461a
commit
21e913bac5
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue