diff --git a/var/spack/repos/builtin/packages/intel-mpi/package.py b/var/spack/repos/builtin/packages/intel-mpi/package.py index 7c87139a7b..65e7d6d4ce 100644 --- a/var/spack/repos/builtin/packages/intel-mpi/package.py +++ b/var/spack/repos/builtin/packages/intel-mpi/package.py @@ -67,5 +67,5 @@ def setup_dependent_build_environment(self, *args): def setup_run_environment(self, env): super(IntelMpi, self).setup_run_environment(env) - for name, value in self.mpi_compiler.wrappers.items(): + for name, value in self.mpi_compiler_wrappers.items(): env.set(name, value)